| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0006272 | VTK | (No Category) | public | 2008-01-24 08:55 | 2016-08-12 09:54 | ||||
| Reporter | Paul Melis | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0006272: Incorrect installation of Python wrappers with MinGW build | ||||||||
| Description | 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. | ||||||||
| Additional Information | Relevant CMake settings used: CMAKE_INSTALL_PREFIX = "C:\Program Files\VTK" CMAKE_BUILD_TYPE = "Release" BUILD_SHARED_LIBS = ON VTK_WRAP_PYTHON = ON Source dir: C:\Paul\VTK Binaries dir: C:\Paul\vtkbuild PS I set the build type to Release, but in the (freshly created) installation bin/ directory I do see libvtkCommonPythonD.dll and friends, suggesting these are part of a Debug build. Is this correct? | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0036946) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-01-24 08:55 | Paul Melis | New Issue | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036946 | |
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |