[vtkusers] GCC 4.5 Mac Os X

Martin Costabel costabel at wanadoo.fr
Fri Apr 1 16:55:16 EDT 2011


On 1/04/11 16:09, Brickle Macho wrote:
>
>> What is the complete compile error with this step:
>>
>>> CMake Error at /opt/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE):
>>>    no suitable type found
>> It almost looks like gcc can not find the correct header files so it can not find a "type" that is defined with Apple's GCC and not your GCC.
>
> Ahh, okay, looking further up the output cmake cannot find:
>
> sys/types.h
> stdint.h
> stddef.h
>
> So I need to locate these files for gcc 4.5.2 and somehow inform CMake,
> is that correct?

I don't think this is really the problem. More likely there is some 
compiler flag that vtk uses and gcc-4.5 doesn't like. Have a look in the 
log files (CMakeError.log and CMakeOutput.log) what is the real error 
when cmake tries to find these headers.

-- 
Martin




More information about the vtkusers mailing list