Massimo, It looks like you are trying to compile osgGIS (not osgdem, which is part of a different package called VirtualPlanetBuilder). The warnings indicate that you have an old version and need to upgrade to the latest SVN head. -gw
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 On Thu, Nov 13, 2008 at 7:45 PM, Massimo Di Stefano <[EMAIL PROTECTED] > wrote: > 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 >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

