[vtkusers] error w/ Python on OSX Lion
Randy Heiland
heiland at indiana.edu
Tue Aug 2 10:57:26 EDT 2011
Hi gang,
Has anyone built 5.6.1, with Python wrappers, on OSX Lion? Here are my cmake options:
-DBUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DVTK_WRAP_PYTHON=ON -DVTK_USE_INFOVIS=ON -DVTK_USE_GUISUPPORT=ON
and I get the following error:
Scanning dependencies of target vtkRenderingPython
[ 69%] Building CXX object Rendering/CMakeFiles/vtkRenderingPython.dir/vtkRenderingPythonInit.cxx.o
Linking CXX shared module ../bin/libvtkRenderingPython.so
[ 69%] Built target vtkRenderingPython
[ 69%] Building CXX object Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkCocoaTkUtilities.mm.o
/Users/heiland/dev/VTK-5.6.1/Rendering/vtkCocoaTkUtilities.mm: In static member function ‘static void* vtkCocoaTkUtilities::GetDrawableView(Tk_Window_*)’:
/Users/heiland/dev/VTK-5.6.1/Rendering/vtkCocoaTkUtilities.mm:56: error: ‘NSView’ was not declared in this scope
/Users/heiland/dev/VTK-5.6.1/Rendering/vtkCocoaTkUtilities.mm:56: error: ‘result’ was not declared in this scope
make[2]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/vtkCocoaTkUtilities.mm.o] Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/all] Error 2
And using the system Python (2.7.1), fwiw.
thanks, Randy
More information about the vtkusers
mailing list