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: dresche...@gmail.com
> To: aliens30...@hotmail.it
> CC: paraview@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
                                          
_______________________________________________
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

Reply via email to