Hi Per,

Per Fahlberg wrote:

> The error I'm getting is this, it comes from alot of files not just 
> Billboard, I think I have gotten different but similar errors in other 
> files too:
> [  0%] Building CXX object src/osg/CMakeFiles/osg.dir/Billboard.o
> cc-1132 CC: ERROR File = /usr/include/stdlib.h, Line = 26
>   The namespace "std" has no member "abs".
> 
>   __SGI_LIBC_USING_FROM_STD(abs)
>   ^
> 
> 1 error detected in the compilation of 
> "/p/omv/develop/OSG/OpenSceneGraph-1.9.8/OpenSceneGraph/src/osg/Billboard.cpp".

Hmmm, no such thing at my end on 6.5.22m with 7.4.1. Let's run:

  # ~> make VERBOSE=1

and compare the compiler flags that are actually being used:

[  0%] Building CXX object src/osg/CMakeFiles/osg.dir/Billboard.o
/usr/bin/CC   -Dosg_EXPORTS   -I/usr/local/src/OpenSceneGraph/include   
-DOSG_LIBRARY -o src/osg/CMakeFiles/osg.dir/Billboard.o -c 
/usr/local/src/OpenSceneGraph/src/osg/Billboard.cpp


Cheers,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to