[Trilinos-Users] Problem running my own example with visual studio 2013

Sam Duckitt S.J.Duckitt at tudelft.nl
Tue Sep 2 07:49:26 MDT 2014


Hi everyone,

I have a question/problem with installing Trilinos on Windows 8 (visual studio 2013) which I'm hoping to resolve.

First of all I configured Trilinos with the cmake GUI, enabled the packages I wanted and added the paths and names of the BLAS and LAPACK libraries (I also have CLAPACK so I'm not sure if BLAS and LAPACK are required?). I then clicked on generate which created the build directory and some visual studio files

I opened the 'Trilinos.sln' file in visual studio and built the 'INSTALL' project which created a new directory with the 'lib' and 'include' folders.

The problem I have is trying to run one of the examples using a do-configure script and a CMakeLists.txt.

I have copied the code from the 'verySimple' Epetra example and saved it as 'main.cpp'. When I run my do-configure script it generates some visual studio files. I open the 'exampleName.sln' file and try to build it and I get the following error:

x64\Debug\main.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

Can anybody tell me where I need to look to correct this? I can send my do-configure script and CMakeLists.txt files if it would help.

Many thanks,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140902/68271bee/attachment.html>


More information about the Trilinos-Users mailing list