Hi Alberto, On 3/26/07, Alberto Luaces <[EMAIL PROTECTED]> wrote:
It seems the change is not yet committed to SVN. Anyway, bear in mind that I'm testing the old Makefile system, as you requested, not the CMake one. Would a direct modification to the GNUMakefile be accepted? If so, please use the file attached.
Arhhh, yes I was thinking of CMake, and you are diligently testing Cygwin... ;-) I have reviewed your modified file and won't merge your change as it'll break the rest of the unix platforms (they don't have a gdi32 lib). There is already Minw specific path adding in gdi32 so I've done the same for Cygwin. This is now checked in to SVN.
> The shp (ESRI) plugin doesn't have any external dependencies, what > error are you getting? The compiler sends an error about an unknown function "::read()" c++ -O2 -DWIN32 -DNOMINMAX -W -Wall -mnop-fun-dllimport -I../../../../include -c ../ESRIShape.cpp ../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[1]: *** [ESRIShape.o] Error 1 make[1]: Leaving directory `/home/Demostración/OSG/OpenScenegraph/src/osgPlugins /shp/CYGWIN32.Opt' make: *** [cygosgdb_shp.dll.opt] Error 2 I couldn't figure where that function is defined.
I would have though that the #include<stdio.h> at the top of ESRIShape.cpp would have pulled it in. At the top of the file there is also an #include <io.h> which is used for VS and Mingw builds, I wouldn't have though this would be required as Cygwin is much more unix like, you could try adding it though. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
