On Tuesday 20 March 2007, Robert Osfield wrote:
> Hi All,
>
> The CMake build work is ticking along rather nicely under Windows and
> Linux we do need testing on platforms that that CMake build
> contributors don't have access to, platforms that we've had feedback
> of success so far is:
>
>   Windows VS 8.0, 32 + 64 bit.
>   Windows Mingw
>   Linux 32 + 64 bit.
>   IRIX
>   OSX, albiet without frame work support (this will require work on
> Cmake itself.)

I've built it on IRIX 6.5 (32bit compiling on a 64bit system), the 
problem I had is that on IRIX, the C compiler is /bin/cc and the c++ compiler 
is /bin/CC. Cmake tries to use /bin/CC as the C compiler and the compile 
fails because he detects it's a c++ compiler. The workaround is to use

cmake -DCMAKE_C_COMPILER=/bin/cc -DCMAKE_CXX_COMPILER=/bin/CC

Other than that, it's pretty straightforward. The only other problem I had is 
the version of libpng installed was an old one and the error only came at 
compile  time, so I had to give the paths to cmake 
(using -DPNG_PNG_INCLUDE_DIR and -DPNG_LIBRARY).


Thanks for the good work,


Etienne PIERRE
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to