[vtkusers] GCC 4.5 Mac Os X

David Cole david.cole at kitware.com
Fri Apr 1 09:07:45 EDT 2011


Did you start with a clean/empty build tree after switching from gcc 4.2.1
to gcc 4.5.2?

How do you tell CMake to use gcc 4.5.2? (Is it in the PATH, do you set CC
and CXX env vars?)

Does the same thing happen with CMake 2.8.4?


On Fri, Apr 1, 2011 at 7:46 AM, Brickle Macho <bricklemacho at gmail.com>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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110401/b44280c8/attachment.htm>


More information about the vtkusers mailing list