Hi David,
I am out of luck.
Just did a fresh CMake configure with PARAVIEW_ENABLE_PYTHON on and the same 
PYTHON_LIBRARY value. The errors from MSVC2010. Any other suggestions?
Best,
x

From: David Partyka [mailto:david.part...@kitware.com]
Sent: Sunday, February 13, 2011 4:33 PM
To: Xunlei Wu
Cc: paraview@paraview.org
Subject: Re: [Paraview] build ParaView git on Windows7 64bit + MSVC2010 with 
vtkPythonCore errors

Hi Xunlei,

What do you have the PYTHON_LIBRARY cmake option set to? If you set that 
correctly then it should be able to link properly. For example this is what it 
is set to on my machine.

C:/Support/Python27-x32/libs/python27.lib

On Sun, Feb 13, 2011 at 11:46 AM, Xunlei Wu 
<xun...@renci.org<mailto:xun...@renci.org>> wrote:
Hello,
I am building Paraview from git source on a Windows7 64bit OS with MSVC2010. I 
have enabled
PARAVIEW_ENABLE_PYTHON and VTKMY_WRAP_PYTHON in my CMake. I also built Python 
2.7.1 64bit from source so that I have both python27.lib and python27_d.lib 
available. However the core python related projects are failed to build in both 
Debug and Release builds. Then the effects just trickled down like crazy. Below 
are 3 major errors in Debug build I feel might be the primary errors. And I do 
link python27_d.lib for all of them. Please see the attached CMakeLists.txt for 
more details.

Error      6              error LNK1104: cannot open file 'python27.lib'        
        C:\ParaViewGit\Utilities\VTKPythonWrapping\Executable\LINK              
 vtkPVPythonInterpretor
Error      5              error LNK1104: cannot open file 'python27.lib'    
C:\ParaViewGit\VTK\Wrapping\Python\LINK                vtkPythonCore
Error      3              error LNK1104: cannot open file 'python27.lib'    
C:\ParaViewGit\VTK\Wrapping\LINK      vtkWrapPython

Would you please help me? Thanks a lot.

Best,
x

_______________________________________________
Powered by www.kitware.com<http://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

_______________________________________________
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