Gents, When making the latest CVS FGFS on Cygwin/Win2k, the following link error occurs:
rc/WeatherCM/libWeatherCM.a ../../src/Input/libInput.a -lsgroute -lsgsk y -lsgephem -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgdebu g -l sgmagvar -lsgmisc -lsgxml -lsgserial -lplibpu -lplibfnt - lpli bnet -lplibssg -lplibsg -lmk4 -lz -lpthread -lm -lglut32 -lgl u32 -lopengl32 -luser32 -lgdi32 -lplibsl -lplibsm -lwinmm -lplibul -lm /usr/lib/libplibul.a(ulContext.o)(.text+0x47):ulContext.cxx: undefined reference to `wglGetCurrentContext@0' collect2: ld returned 1 exit status It looks like the link order is wrong - the PLIB libraries should be linked before the OpenGL libraries. But a check of src/Main/Makefile shows: fgfs: $(fgfs_OBJECTS) $(fgfs_DEPENDENCIES) @rm -f fgfs $(CXXLINK) $(fgfs_LDFLAGS) $(fgfs_OBJECTS) $(fgfs_LDADD) $(LIBS) and from src/Main/Makefile.am: fgfs_LDADD = \ $(top_builddir)/src/Aircraft/libAircraft.a \ ... lots more libraries... $(THREAD_LIBS) \ -lplibpu -lplibfnt -lplibnet -lplibssg -lplibsg \ -lmk4 -lz \ $(opengl_LIBS) \ $(audio_LIBS) ..which looks correct and hasn't changed in a few days. Yes, this was a clean rebuild from autogen.sh on up. The dates on the src/Main/Makefile* files are correct. automake: 1.4-p5 (14). This was working yesterday. Any ideas? Thanks, Paul Paul R. Deppe Veridian Engineering (formerly Calspan) Flight & Aerospace Research Group 150 North Airport Drive Buffalo, NY 14225 (716) 631-6898 (716) 631-6990 FAX [EMAIL PROTECTED] _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel