[Paraview] build ParaView git on Windows7 64bit + MSVC2010 with vtkPythonCore errors

David Partyka david.partyka at kitware.com
Sun Feb 13 16:33:02 EST 2011


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 <xunlei at 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
>
> 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/20110213/c16d370a/attachment.htm>


More information about the ParaView mailing list