Hello:
I am trying to compile osg 2.8.3 in an iMac OSX 10.6.4 Snow leopard,
cmake 2.6-4. I have the GAL framework that came with QGis (
http://www.kyngchaos.com/software:qgis ) and also a more recent
version I compiled from source and installed to conventional UNIX
/usr/local subdir.
It compiles fine until 80%, when complains about "missing required
architecture ppc in file".
[ 79%] Built target osgdb_vtf
[ 80%] Building CXX object
src/osgPlugins/gdal/CMakeFiles/osgdb_gdal.dir/ReaderWriterGDAL.cpp.o
[ 80%] Building CXX object
src/osgPlugins/gdal/CMakeFiles/osgdb_gdal.dir/DataSetLayer.cpp.o
Linking CXX shared module ../../../lib/osgPlugins-2.8.3/osgdb_gdal.so
ld: warning: in
/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks//gdal.framework/gdal,
missing required architecture ppc in file
Undefined symbols for architecture ppc:
"_GDALGetDataTypeName", referenced from:
ReaderWriterGDAL::local_readImage(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
osgDB::ReaderWriter::Options const*)in ReaderWriterGDAL.cpp.o
ReaderWriterGDAL::local_readHeigh
Why it is trying to compile for PPC in an Intel architecture?
Any hint?
Regards,
Alejandro
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org