Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 735
    • Issues 735
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 205
    • Merge requests 205
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #6272

Closed
Open
Created Jan 23, 2008 by Kitware Robot@kwrobotOwner

Incorrect installation of Python wrappers with MinGW build

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


When building VTK (CVS of 24/1/08) with MinGW on Windows XP compilation succeeds. A "make install" also seems to work o.k., except that part of the Python wrappers is not installed.

I set CMAKE_INSTALL_PREFIX to "C:\Program Files\VTK" and after "make install" running Python and importing the "vtk" module fails because the "vtkCommonPython" module can't be found. Running the "vtkpython" executable fails with a similar error.

After closer inspection of the make install output I noticed the line: ... byte-compiling C:\Program Files\VTK\Lib\site-packages\vtk\wx\wxVTKRenderWindow.p y to wxVTKRenderWindow.pyc error: can't copy 'C:\Paul\vtkbuild\bin\vtkCommonPython.pyd': doesn't exist or n ot a regular file ...

Checking the build directory I indeed don't see vtkCommonPython.pyd, but DO see libvtkCommonPython.pyd and friends. When I copy these to C:\Program Files\VTK and strip off the "lib" prefix the Python wrappers seems to work fine.

Assignee
Assign to
Time tracking