[vtkusers] GCC 4.5 Mac Os X
Michael Jackson
mike.jackson at bluequartz.net
Sat Apr 2 13:51:28 EDT 2011
Start with a clean build directory then run cmake until it errors out. Then look in the CMakeError.log for "TestBigEndian" or "TEST_BIG_ENDIAN". When you find that the complete compile command,error and test code that was compiled will be shown all together in the error log. That should tell you what is going on.
___________________________________________________________
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jackson at bluequartz.net
BlueQuartz Software Dayton, Ohio
On Apr 1, 2011, at 7:46 AM, Brickle Macho wrote:
> 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!
> -------
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list