I have been compiling FlightGear in Cygwin and had been working with the pre OSG version and I decided to give the OSG version a try. I have gotten OpenThreads and Producer to compile but when I try OpenSceneGraph I am getting an error in the ESRI plugin.
I see form the CYgwin instructions for OSG that I should be using gcc3.3.3 but I am using gcc3.4.4 and I have been seeing some of the expected warnings about inline functions and __curr and the like but those I know are expected. Before I roll back my gcc to 3.3.3 I wanted to confirm there really wasn't something wrong with the code: Thanks for any assistance bk The error I am getting is: make[3]: Leaving directory `/usr/src/OpenSceneGraph/src/osgPlugins/dxf' Entering directory ESRIShape make[3]: Entering directory `/usr/src/OpenSceneGraph/src/osgPlugins/ESRIShape' make[4]: Entering directory `/usr/src/OpenSceneGraph/src/osgPlugins/ESRIShape/CY GWIN32.Opt' c++ -O2 -DWIN32 -DNOMINMAX -W -Wall -mnop-fun-dllimport -I../../../../include - I/usr/local/include/OpenThreads -I/usr/local/include/Producer -c ./ESRIShape.c pp ./ESRIShape.cpp: In function `bool readVal(int, T&, ESRIShape::ByteOrder)': ./ESRIShape.cpp:38: error: `::read' has not been declared ./ESRIShape.cpp: In member function `bool ESRIShape::ShapeHeader::read(int)': ./ESRIShape.cpp:97: error: `::read' has not been declared make[4]: *** [ESRIShape.o] Error 1 make[4]: Leaving directory `/usr/src/OpenSceneGraph/src/osgPlugins/ESRIShape/CYG WIN32.Opt' make[3]: *** [cygosgdb_shp.dll.opt] Error 2 make[3]: Leaving directory `/usr/src/OpenSceneGraph/src/osgPlugins/ESRIShape' make[2]: *** [default] Error 1 make[2]: Leaving directory `/usr/src/OpenSceneGraph/src/osgPlugins' make[1]: *** [default] Error 1 make[1]: Leaving directory `/usr/src/OpenSceneGraph/src' make: *** [default] Error 1 [EMAIL PROTECTED] /usr/src/OpenSceneGraph $ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
