[Paraview] Fatal error LNK1104: cannot open file 'python31.lib'

John Drescher drescherjm at gmail.com
Tue Sep 20 08:55:25 EDT 2011


> I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS
> with MSVC2008.
> In Cmake I set:
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe
>
> //Path to a file.
> PYTHON_INCLUDE_DIR:PATH=C:/Python31/include
>
> //Path to a library.
> PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a
>
> but in Degub mode or Release mode i got this error:
>
> LINK : fatal error LNK1104: cannot open file 'python31.lib'.
>
> What's wrong? Hope somebody could help me..
> Thanks a lot
> Concetta
>

Looks like you are mixing compilers. I mean .a files are from gcc and
.lib files are from Visual Studio. These are not compatible.

John


More information about the ParaView mailing list