From: gerard r. <gh...@gm...> - 2008-09-30 17:12:48
|
On mardi 30 septembre 2008, Oliver Schroeder wrote: > Am Tuesday 30 September 2008 13:11:09 schrieb gerard robin: > > Done it, without "tests directory" and getting an other error > > > > here the link > > > > http://pagesperso-orange.fr/GRTux/FG_1.0.0_Build-Err > > > > I don't understand the problem :( > > The error has the same source, it's just showing at another location. > The reason for this error are macros defined in simgear/compiler.h, which > are no longer present. E.G. SG_GLUT_H was definded, so one could use > "#include SG_GLUT_H" in a source file. Now the macro definition for > SG_GLUT_H is no longer defined and gcc complaints. > Flightgear depends on simgear, so in order to compile FG1.0 you must use > simgear 1.0 > > Well,..... you were right both, i have found why the error, but not solved it. In any case i was not drunk, and i have ( in spite of a decrease of my brain ressources due to my age :) ) enough experience to know that Simgear and FlightGear are close together. Here was my Simgear configure: ./configure --prefix=/usr --with-jpeg-factory Here is my flightgear configure: ./configure --prefix=/usr --with-simgear=/usr --enable-sdl the FG ./configure works correctly, it find simgear into /usr , which is right . the prove of it is here : ..................................................;; checking for plib 1.8.4 or newer... yes checking /usr/include/simgear/version.h usability... yes checking /usr/include/simgear/version.h presence... yes checking for /usr/include/simgear/version.h... yes checking for simgear 1.0.0 or newer... [found 1.99.4] ... yes checking /usr/include/simgear/screen/jpgfactory.hxx usability... yes checking /usr/include/simgear/screen/jpgfactory.hxx presence... yes checking for /usr/include/simgear/screen/jpgfactory.hxx... yes .................................................................. However "make" run with /usr/local/include library. That will be the mystery of the century. BTW: using /usr with FG stable is not new to me, i do it with my usual computer 32 bit FC-8 Only FG CVS is into /usr/local -- Gérard http://pagesperso-orange.fr/GRTux/ "J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire " |