View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011835VTK(No Category)public2011-02-10 03:182012-12-12 12:00
ReporterTakuya OSHIMA 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0011835: vtkLocal and vtkMy examples do not build against VTK with Python wrapping
DescriptionWhen trying to configure vtkLocal with CMake I got an error

 CMake Error at CMakeLists.txt:125 (INCLUDE_DIRECTORIES):
   include_directories given empty-string as include directory.

which was fixed by

--- a/Examples/Build/vtkLocal/CMakeLists.txt
+++ b/Examples/Build/vtkLocal/CMakeLists.txt
@@ -122,8 +122,9 @@ IF(VTK_FOUND)
 
   # Create Python wrappers if VTK is wrapped in Python.
   IF(VTK_WRAP_PYTHON)
- INCLUDE_DIRECTORIES("${PYTHON_INCLUDE_PATH}")
+ SET(VTK_WRAP_PYTHON_FIND_LIBS ON)
     INCLUDE(${VTK_CMAKE_DIR}/vtkWrapPython.cmake)
+ INCLUDE_DIRECTORIES("${PYTHON_INCLUDE_PATH}")
     VTK_WRAP_PYTHON3(${PROJECT_NAME}Python vtkLocalPYTHON_SRCS "${vtkLocal_SRCS}")
     ADD_LIBRARY(${PROJECT_NAME}PythonD ${vtkLocalPYTHON_SRCS})
     ADD_LIBRARY(${PROJECT_NAME}Python MODULE ${PROJECT_NAME}PythonInit.cxx)

The same applies to vtkMy.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0025378)
David Gobbi (developer)
2011-02-10 12:53

I have applied the patches to the master. Can you pull from master and verify the fix?
(0025469)
Takuya OSHIMA (reporter)
2011-02-18 04:18

Yes they build fine now for the master and the 5.8-branch. Thanks for the fast fix!

 Issue History
Date Modified Username Field Change
2011-02-10 03:18 Takuya OSHIMA New Issue
2011-02-10 08:13 David Partyka Assigned To => David Partyka
2011-02-10 08:13 David Partyka Status backlog => tabled
2011-02-10 11:52 David Gobbi Assigned To David Partyka => David Gobbi
2011-02-10 12:53 David Gobbi Note Added: 0025378
2011-02-10 12:53 David Gobbi Status tabled => @40@
2011-02-18 04:18 Takuya OSHIMA Note Added: 0025469
2011-02-18 08:32 David Gobbi Status @40@ => @80@
2011-02-18 08:32 David Gobbi Resolution open => fixed
2011-06-16 13:12 Zack Galbreath Category Development => (No Category)
2012-12-12 12:00 David Gobbi Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team