Hi,

yes my fault, i'm tring osgGIS (not osgdem)

looking at my framework installation i can see that it is an old version :-/

now i'm tring to build osg from source ...


i'm using xcode 3.1
 i setted it to :

General:
Project Format : Xcode 3.0-compatible
Base SDK for All Configuration :  Mac OS X 10.5

Build :
Base SDK : Mac OS X 10.5

i tried using both :
Build Active Architecture Only "checcked"
and uncecched

but xcode give me the follow 2 erros :

Building target “osgdb_ive” of project “OpenSceneGraph” with configuration “Development” — (2 errors)
            cd /GIS/DEP/OpenSceneGraph/Xcode/OpenSceneGraph
/Developer/usr/bin/g++-4.0 -arch i386 -bundle -isysroot / Developer/SDKs/MacOSX10.5.sdk -L/GIS/DEP/OpenSceneGraph/Xcode/ OpenSceneGraph/build/Development -F/GIS/DEP/OpenSceneGraph/Xcode/ OpenSceneGraph/build/Development -F/Users/sasha/Library/Frameworks -F/ Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks -filelist /GIS/DEP/ OpenSceneGraph/Xcode/OpenSceneGraph/build/OpenSceneGraph.build/ Development/osgdb_ive.build/Objects-normal/i386/osgdb_ive.LinkFileList -mmacosx-version-min=10.5 -framework OpenThreads -framework osgTerrain -framework osg -framework osgDB -framework osgSim -framework osgText - framework osgUtil -framework osgFX -o /GIS/DEP/OpenSceneGraph/Xcode/ OpenSceneGraph/build/Development/osgdb_ive.so
Undefined symbols:
  "ive::BlendEquation::read(ive::DataInputStream*)", referenced from:
ive::DataInputStream::readStateAttribute() in osgdb_ive.so- i386-master.o
  "ive::BlendEquation::write(ive::DataOutputStream*)", referenced from:
ive::DataOutputStream::writeStateAttribute(osg::StateAttribute const*) in osgdb_ive.so-i386-master.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
                  "ive::BlendEquation::read(ive::DataInputStream*)", referenced 
from:
ive::DataInputStream::readStateAttribute() in osgdb_ive.so-i386-master.o "ive::BlendEquation::write(ive::DataOutputStream*)", referenced from: ive::DataOutputStream::writeStateAttribute(osg::StateAttribute const*) in osgdb_ive.so-i386-master.o
                ld: symbol(s) not found
                collect2: ld returned 1 exit status



any help is most appreciated,
thanks to All!

reagards,
Massimo.


f

On Nov 14, 2008, at 4:48 AM, Glenn Waldron wrote:

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

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to