Re: [Flightgear-devel] Cygwin CVS compile error
Georg Vollnhals wrote: Hopefully Fred and Matthias will give us new precompiled versions on ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32 (down at the moment) from time to time! Indeed, this server - not only the server but the whole building - had a troubled weekend: http://www.mgras.net/mrtg/crimson.ping.html I'm in the process of providing an alternate, the German website mirror has already moved last week, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Martin Spott schrieb: Georg Vollnhals wrote: Hopefully Fred and Matthias will give us new precompiled versions on ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32 (down at the moment) from time to time! Indeed, this server - not only the server but the whole building - had a troubled weekend: http://www.mgras.net/mrtg/crimson.ping.html I'm in the process of providing an alternate, the German website mirror has already moved last week, Martin. Thank you for the feedback. But then I have to excuse for my big error :-( - I thought Mathias Fröhlich was the provider of the server space at uni-duisburg.de. I will correct this wrong info at the German FlightGear forum immediately! Anyway, this service for us dumb Windows users is really great and it is a chance to combine the newest CVS changes without having to compile the main program code. This is why I made some advertisement for it on the German FlightGear forum :-) Regards Georg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Hi, In a Windows XP machine, running cygwin, latest CVS for simgear and flightgear I am getting the SAME or SIMILAR error when linking FlightGear ... well actually when linking fgjs.exe, under cygwin ... namely - Making all in Input make[2]: Entering directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' g++ -DPKGLIBDIR=\/fg-cvs/share/FlightGear\ -g -O2 -D_REENTRANT -L/fg-cvs/lib -L/usr/local/lib -o fgjs.exe fgjs .o jsinput.o jssuper.o -lplibjs -lwinmm -lplibul -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz /fg-cvs/lib/libplibul.a(ulClock.o): In function `_ZNK7ulClock10getRawTimeEv': /home/GeoffMcLane/plib-1.8.4/src/util/ulClock.cxx:79: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[2]: *** [fgjs.exe] Error 1 make[2]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src' make: *** [all-recursive] Error 1 ERROR in make Have read what Georg and Fred wrote ... and having found that libwinmm.a is in /lib/w32api and in /usr/lib/w32api from - $ find / -name *winmm* /lib/w32api/libwinmm.a /usr/lib/w32api/libwinmm.a I altered -lwinmm to -llibwinmm in the 'configure' file, and did ./configure -prefix=xxx, and make again but this time got the error - Making all in Input make[2]: Entering directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' g++ -DPKGLIBDIR=\/fg-cvs/share/FlightGear\ -g -O2 -D_REENTRANT -L/fg-cvs/lib -L/usr/local/lib -o fgjs.exe fgjs .o jsinput.o jssuper.o -lplibjs -llibwinmm -lplibul -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -llibwinmm collect2: ld returned 1 exit status make[2]: *** [fgjs.exe] Error 1 make[2]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src' make: *** [all-recursive] Error 1 ERROR in make I altered the same line in configure.ac from -lwinmm to -llibwinmm and set the environment - $ export LDFLAGS=-L/lib/w32api $ export CPPFLAGS=-DNOMINMAX then did $ ./autogen.sh $ ./configure -prefix=/fg=cvs $ make BUT I STILL GET THE ERROR 'CAN NOT FIND'! on linking fgjs.exe - Making all in Input make[2]: Entering directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' g++ -DPKGLIBDIR=\/fg-cvs/share/FlightGear\ -g -O2 -D_REENTRANT -L/lib/w32api -L/fg-cvs/lib -L/usr/local/lib -o fgjs.exe fgjs.o jsinput.o jssuper.o -lplibjs -llibwinmm -lplibul -lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructu re -lsgxml -lz /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -llibwinmm collect2: ld returned 1 exit status make[2]: *** [fgjs.exe] Error 1 make[2]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Input' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src' make: *** [all-recursive] Error 1 Note, now there is a -L/lib/w32api and -llibwinmm in the g++ command line ... version is ... $ g++ --version g++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) The 'configure' and 'configure.ac' of cvs simgear and tar ball of plib-1.8.4, BOTH also use -lwinmm, but I do not get an error compiling plib or simgear ... but would not expect one since these are just static libraries, just for flightgear, well fgjs.exe ... Commenting OUT the following lines in /src/input/makefile.am, I got the rest of FG to compile ... that is killing the fgjs.exe make, and js_demo as well, although it may not be a problem ... I am 'great' at 'hacking' ;=)) #bin_PROGRAMS = js_demo fgjs #js_demo_SOURCES = js_demo.cxx #js_demo_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul #fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h #fgjs_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul \ #-lsgprops -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz But still a problem with missing -llibwinmm ... So putting this back as -lwinmm in 'configure', and clearing the environment - ie close cygwin windows, then re-open it again - then doing just - $ export CPPFLAGS=-DNOMINMAX $ ./configure -prefix=/fg-cvs $ make AND fgfs.exe LINKED - Making all in Main make[2]: Entering directory `/home/GeoffMcLane/FlightGear-0.9-cvs/source/src/Main' g++ -DPKGLIBDIR=\/fg-cvs/share/FlightGear\ -g -O2 -D_REENTRANT -L/fg-cvs/lib -L/usr/local/lib -o fgfs.exe boot strap.o ../../src/Main/libMain.a ../../src/Aircraft/libAircraft.a ... etc, etc, etc ... ../../src/Environment/libEnvironment.a -lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops -lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial -lsgstructure -lsgenvironment -lsgthreads
Re: [Flightgear-devel] Cygwin CVS compile error
Geoff Air schrieb: Hi, In a Windows XP machine, running cygwin, latest CVS for simgear and flightgear I am getting the SAME or SIMILAR error when linking FlightGear ... well actually when linking fgjs.exe, under cygwin ... namely - Hi Geoff, thank you for all this feedback, but after trying a *lot* of hours to get this error solved I now get another strange one. I actually have no more time as I tried for days reinstalling, changing and recompiling, therefore I now stay with the last working versions I have. Hopefully Fred and Matthias will give us new precompiled versions on ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32 (down at the moment) from time to time! Regards Georg HeliFlyer EDDW - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Quoting Georg Vollnhals : Hi all, with the newest CVS and Cygwin I get this error /fg-cvs/lib/libplibul.a(ulClock.o):ulClock.cxx:(.text+0x81): undefined reference to [EMAIL PROTECTED]' Any ideas what would help? Thank you very much in advance The link command line should include winmm.lib -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Frederic Bouvier schrieb: Quoting Georg Vollnhals : Hi all, with the newest CVS and Cygwin I get this error /fg-cvs/lib/libplibul.a(ulClock.o):ulClock.cxx:(.text+0x81): undefined reference to [EMAIL PROTECTED]' Any ideas what would help? Thank you very much in advance The link command line should include winmm.lib -Fred -- Thank you very much, Fred for your quick answer. But I am really helpless with this stuff. I know that you don't use CYGWIN. But is there anyone out who can give me advice where to put this include command? And when I searched my whole CYGWIN folder for winmm.lib it was NOT found! Should this stuff be anywhere in the CYGWIN folders? And what is really strange - until some weeks ago (my last compilation under CYGWIN) all worked well! Once again, I really would be very thankful due to the fakt that I want to test Maik's new helicopter FDM changes - and that is not possible without a working new compilation! Georg (I'm now off to work, back at midnight) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Quoting Georg Vollnhals : Frederic Bouvier schrieb: Quoting Georg Vollnhals : Hi all, with the newest CVS and Cygwin I get this error /fg-cvs/lib/libplibul.a(ulClock.o):ulClock.cxx:(.text+0x81): undefined reference to [EMAIL PROTECTED]' Any ideas what would help? Thank you very much in advance The link command line should include winmm.lib -Fred -- Thank you very much, Fred for your quick answer. But I am really helpless with this stuff. I know that you don't use CYGWIN. But is there anyone out who can give me advice where to put this include command? And when I searched my whole CYGWIN folder for winmm.lib it was NOT found! Should this stuff be anywhere in the CYGWIN folders? And what is really strange - until some weeks ago (my last compilation under CYGWIN) all worked well! Once again, I really would be very thankful due to the fakt that I want to test Maik's new helicopter FDM changes - and that is not possible without a working new compilation! [EMAIL PROTECTED] /usr/lib $ find . -name *winmm* ./w32api/libwinmm.a I guess you need to install the win32 libraries from your cygwin setup ( I forgot unix prefix its libraries with 'lib'. winmm.lib is for MSVC, libwinmm.a is for cygwin ) If you look in the configure.ac file of SimGear, you'll find '-lwinmm' in the cygwin section. plib must have a similar thing. -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin CVS compile error
Frederic Bouvier schrieb: [EMAIL PROTECTED] /usr/lib $ find . -name *winmm* /w32api/libwinmm.a I guess you need to install the win32 libraries from your cygwin setup ( I forgot unix prefix its libraries with 'lib'. winmm.lib is for MSVC, libwinmm.a is for cygwin ) If you look in the configure.ac file of SimGear, you'll find '-lwinmm' in the cygwin section. plib must have a similar thing. -Fred -- Hi Fred, looking for libwinmm.a I found that I have the w32api and libwinmm.a already installed in my CYGWIN folder. Further, you are giving me at least an idea what I should search for. Due to having to work from tomorrow 07:00 am to 10:00 pm I finished all investigation for now and will get back to it late tomorrow evening. Once again, a big merci beaucoup to you for your help! Regards Georg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel