[vtkusers] GCC 4.5 Mac Os X

Brickle Macho bricklemacho at gmail.com
Fri Apr 1 07:46:17 EDT 2011


I previously had compiled under GCC 4.2.1 but was required to upgrade to
GCC 4.5.2 to allow PCL (Point Cloud Library) compile.  PCL has a
dependency on VTK for its visualizer.

I am now trying to compile VTK on MacOS 10.6.7, GCC 4.5.  Can anyone
help with the following error which occurs during the CMake process:

-------
...
Check if the system is big endian
Searching 16 bit integer
Check size of unsigned short
Check size of unsigned short - failed
Check size of unsigned int
Check size of unsigned int - failed
Check size of unsigned long
Check size of unsigned long - failed
CMake Error at /Applications/CMake
2.8-3.app/Contents/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  CMake/CMakeBackwardCompatibilityC.cmake:31 (TEST_BIG_ENDIAN)
  CMakeLists.txt:428 (INCLUDE)


Configuring incomplete, errors occurred!
-------





More information about the vtkusers mailing list