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

David Partyka david.partyka at kitware.com
Tue Sep 20 09:13:54 EDT 2011


As John was saying, are you trying to build with visual studio or
mingw/msys? If Visual studio then you need to point it to python27.lib not
.a. If mingw then you need to launch cmake-gui from the msys console and
select MSYS Makefiles as your generator (blow away your build tree and
configure from scratch).

On Tue, Sep 20, 2011 at 9:09 AM, Concetta Piazzese
<aliens30586 at hotmail.it>wrote:

>  I got the same error with python 2.7
>
> ------------------------------
> From: david.partyka at kitware.com
> Date: Tue, 20 Sep 2011 08:54:44 -0400
> Subject: Re: [Paraview] Fatal error LNK1104: cannot open file
> 'python31.lib'
> To: aliens30586 at hotmail.it
> CC: paraview at paraview.org
>
> As far as I am aware python 3.x will not work with ParaView or VTK. Python
> 2.7.2 is fine though.
>
> On Tue, Sep 20, 2011 at 8:46 AM, Concetta Piazzese <aliens30586 at hotmail.it
> > wrote:
>
>  Hi,
> 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
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110920/1fa9af30/attachment-0001.htm>


More information about the ParaView mailing list