On 3/14/2012 1:21 PM, Francisco Caraballo wrote:
Hello everyone.

I'm using CMAKE to build Paraview with Visual Studio Express 2010. I'm
having a problem with the generated solution. The problem is that one
of the entries generated for included libraries (the MPI libraries)
should be semi colon separated but it is space separated. The result
of this is that the linker generates a lot of errors when building the
project.

This is the problematic entry:
LINK : fatal error LNK1104: cannot open file 'C:\Program Files
(x86)\MPICH2\lib\mpi.lib C:\Program Files (x86)\MPICH2\lib\cxx.lib'

I tried to fix it by changing the included libraries manually project
by project, but it is taking way too long.

How can I solve this? I'm not familiar enough with CMAKE's
architecture to pinpoint what I need to change.

I have reproduced your problem. Adding the ; manually worked for me. The problem is in FindMPI.cmake. It is already fixed in master of CMake.

Here is the bug report and the fix:

http://public.kitware.com/Bug/view.php?id=12874

-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to