| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0001931 | VTK | (No Category) | public | 2005-06-13 19:21 | 2013-04-05 19:59 | ||||
| Reporter | Andrew Maclean | ||||||||
| Assigned To | Will Schroeder | ||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0001931: Build for Python fails for MSVC7.1 (version 2.3/2.4) | ||||||||
| Description | The build for Python fails because the python library is not found. It occurs because the VTKWrapPython project needs the python library. It can be fixed, for example, by adding C:\Python24\libs\python24.lib to the additional dependencies in the project properties for the linker. Can CMakeLists.txt be edited to add in this? It is present for all of the other projects in the VS7.1 solution. Also, is there a reason why vtkCommonPython.dll etc live in C:\Program Files\VTK\lib\vtk and not C:\Program Files\VTK\bin where the rest of the dlls live after running install? It they lived there then PYTHONPATH=C:\Program Files\VTK\bin instead of the current PYTHONPATH=C:\Program Files\VTK\bin;C:\Program Files\VTK\lib\vtk (of course you need to add in: C:\vtk\VTK\Wrapping\Python;C:\vtk\VTK\Wrapping\Python\vtk; if you are using Python directly instead of vtkpython). While you are editing the CMakeLists.txt files, can you also fix up the help on PYTHON_LIBRARY to read something like this: "Path to the library files e.g. python24.lib, etc.". I was a little confused because the dlls shouldn't be mentioned here. Thanks Andrew. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0002494) Andrew Maclean (reporter) 2005-06-14 00:45 |
Upon further investigation, none of the *Python.lib files are copied into C:\Program Files\VTK\lib\vtk I think I know what has happened: the install command does not copy the DLLS to the bin directory or copy the lib files to the C:\Program Files\VTK\lib\vtk I think INSTALL_TARGETS ... RUNTIME_DIRECTORY needs to be set in the Python section of the install process. I hope this helps Andrew |
|
(0002741) Andrew Maclean (reporter) 2005-07-28 19:35 |
Seems to be fixed in the most recent CVS. |
|
(0023630) David Partyka (developer) 2010-11-30 23:20 |
Closing really old bug. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-11-30 23:20 | David Partyka | Note Added: 0023630 | |
| 2010-11-30 23:20 | David Partyka | Status | tabled => @80@ |
| 2010-11-30 23:20 | David Partyka | Resolution | fixed => no change required |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2013-04-05 19:59 | Berk Geveci | Status | customer review => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |