[vtkusers] Mac OS.X build difficulties
Wilson Chang
wilson at cs.wisc.edu
Mon Dec 16 11:31:08 EST 2002
I have the latest cvs CMake, and I believe I have the latest gcc3
(current to the Oct patch Dev Tools). The problem I reported below was
with the tarball of VTK40. Updating to the cvs VTK, I get all sorts of
CMake errors:
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:18:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_TCL2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:19:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_PYTHON2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:20:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_JAVA2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:21:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_MAKE_INSTANTIATOR2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:18:
OAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_TCL2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:19:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_PYTHON2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:20:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_JAVA2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMake/vtkLoadCMakeExtensions.cmake:21:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_MAKE_INSTANTIATOR2.so
CMake Error: Error in cmake code at
/Users/wilson/Projects/VTK/CMakeLists.txt:20:
...
wilson
On Monday, Dec 16, 2002, at 11:03 US/Eastern, Yves Starreveld wrote:
> Are you on OSX 10.2, using latest cvs VTK and CMake, gcc3 compiler?
> On Sunday, December 15, 2002, at 08:06 PM, Wilson Chang wrote:
>
>> Hi, I have searched the VTK users mailing list archive, and didnt
>> find a resolution to the following VTK build problems on Mac osX.
>> The build error I get is:
>>
>> cc1plus: unrecognized option `-fno-coalesce-static-vtables'
>>
>> and then the build dies.
>>
>> When running CMake on VTK, the only options I change are
>> Build_Testing off, vtk_use_ansi_stdlib on, and vtk_use_hybrid on:
>>
>> BUILD_EXAMPLES OFF
>> BUILD_SHARED_LIBS OFF
>> BUILD_TESTING OFF
>> CMAKE_BUILD_TYPE CMAKE_CXX_FLAGS
>> DART_ROOT NOTFOUND
>> OPENGL_LIBRARIES -framework AGL -framework OpenGL
>> OPENGL_LIBRARY -framework AGL -framework OpenGL
>> VTK_DATA_ROOT NOTFOUND
>> VTK_USE_ANSI_STDLIB ON
>> VTK_USE_HYBRID ON
>> VTK_USE_PARALLEL OFF
>> VTK_USE_PATENTED OFF
>> VTK_USE_QUARTZ ON
>> VTK_USE_RENDERING ON
>> VTK_USE_VOLUMEPRO OFF
>> VTK_WRAP_JAVA OFF
>> VTK_WRAP_PYTHON OFF
>>
>>
>> What is interesting is that a friend of mine is having no problem
>> building VTK on osX. Can anyone offer any help?
>>
>> thanks,
>>
>> Wilson Chang
>> MD/PhD Program
>> School of Medicine
>> Department of Bioengineering
>> University of Pittsburgh
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: >> <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
More information about the vtkusers
mailing list