El Sábado, 24 de Marzo de 2007 08:22, Robert Osfield escribió: > So feedback on Windows please :-)
Building under Cygwin is currently failing, see notes below: c++ -O2 -W -Wall -L../../../lib/CYGWIN32 -shared -Wl,--out-implib,libosgViewer .dll.a -Wl,--export-all-symbols CompositeViewer.o Scene.o SimpleViewer.o StatsHandler.o HelpHandler.o Version.o View.o Viewer.o GraphicsWindowWin32.o -losgGA -losgText -losgDB -losgUtil -losg -lglu32 -lopengl32 -lOpenThreads -o cygosgViewer.dll GraphicsWindowWin32.o:GraphicsWindowWin32.cpp:(.text+0x30b8): undefined reference to [EMAIL PROTECTED]' GraphicsWindowWin32.o:GraphicsWindowWin32.cpp:(.text+0x831c): undefined reference to [EMAIL PROTECTED]' GraphicsWindowWin32.o:GraphicsWindowWin32.cpp:(.text+0x83f2): undefined reference to [EMAIL PROTECTED]' GraphicsWindowWin32.o:GraphicsWindowWin32.cpp:(.text+0x9ff4): undefined reference to [EMAIL PROTECTED]' Creating library file: libosgViewer.dll.a collect2: ld returned 1 exit status make[3]: *** [cygosgViewer.dll] Error 1 make[3]: Leaving directory `/home/Demostración/OSG/OpenScenegraph/src/osgViewer/ CYGWIN32.Opt' make[2]: *** [cygosgViewer.dll.opt] Error 2 make[2]: Leaving directory `/home/Demostración/OSG/OpenScenegraph/src/osgViewer' make[1]: *** [default] Error 1 make[1]: Leaving directory `/home/Demostración/OSG/OpenScenegraph/src' That error is solved adding '-lgdi32' to the linker command, as these functions are found in GDI32.DLL. I don't know really how to modify the Makefiles to include this change, so can anyone help? After osgViewer is compiled, the build process continues happily until the ESRI plugin, which fails because I haven't those libraries installed. Does anybody know a way of not building that plugin so I can continue testing the building process? Alberto _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
