[Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
Concetta Piazzese
aliens30586 at hotmail.it
Tue Sep 20 09:09:06 EDT 2011
I'll try with
PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/python31.lib
and I'll let you know. Thanks!
> Date: Tue, 20 Sep 2011 08:55:25 -0400
> Subject: Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
> From: drescherjm at gmail.com
> To: aliens30586 at hotmail.it
> CC: paraview at paraview.org
>
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110920/d6761d92/attachment.htm>
More information about the ParaView
mailing list