Hi,

i'm tring to install osgdem on osx 10.5
but after alot of worning message :-/
it fails to build with these error :
....
[ 78%] Building CXX object src/osgGIS/CMakeFiles/osgGIS.dir/Utils.o
In file included from /GIS/DEP/osgis/src/osgGIS/Common:26,
                 from /GIS/DEP/osgis/src/osgGIS/Utils:4,
                 from /GIS/DEP/osgis/src/osgGIS/Utils.cpp:1:
/GIS/DEP/osgis/src/osgGIS/Export:44:1: warning: "OSGGIS_EXPORT" redefined /GIS/DEP/osgis/src/osgGIS/Export:30:1: warning: this is the location of the previous definition
In file included from /GIS/DEP/osgis/src/osgGIS/Common:26,
                 from /GIS/DEP/osgis/src/osgGIS/Utils:4,
                 from /GIS/DEP/osgis/src/osgGIS/Utils.cpp:1:
/GIS/DEP/osgis/src/osgGIS/Export:44:1: warning: "OSGGIS_EXPORT" redefined /GIS/DEP/osgis/src/osgGIS/Export:30:1: warning: this is the location of the previous definition /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:398: error: ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:248: error: previous declaration of ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:456: error: ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:259: error: previous declaration of ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:539: error: ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:270: error: previous declaration of ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:398: error: ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:248: error: previous declaration of ‘int save_image_as_DDS(const char*, int, int, int, const unsigned char*)’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:456: error: ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:259: error: previous declaration of ‘unsigned char* convert_image_to_DXT1(const unsigned char*, int, int, int, int*)’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp: In function ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’: /GIS/DEP/osgis/src/osgGIS/Utils.cpp:539: error: ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’ was declared ‘extern’ and later ‘static’ /GIS/DEP/osgis/src/osgGIS/Utils.cpp:270: error: previous declaration of ‘unsigned char* convert_image_to_DXT5(const unsigned char*, int, int, int, int*)’ lipo: can't figure out the architecture type of: /var/folders/f7/ f79O9DDoHYS3GrbwIABP8U+++TI/-Tmp-//ccZ7WLd2.out
make[2]: *** [src/osgGIS/CMakeFiles/osgGIS.dir/Utils.o] Error 1
make[1]: *** [src/osgGIS/CMakeFiles/osgGIS.dir/all] Error 2
make: *** [all] Error 2
sashas-macbook-pro-15:build sasha$



maybe i'm wrong something in my cmake settings :-/
need i to provide you a detailed cmake log ?
thaks for any help!

regards,

Massimo.
any help Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to