well, forget about what i posted before, the problem was that i mixed up some header files of the simgear cvs version against the flightgear stable version. so just to clear things up for other people that might have similar problems with installation:
 
do not change the code in the way i posted before, it is not going to work! Just ignore the last 2 posts and everything should work out fine.
 
best,
 
thomas
 


 
2006/10/20, Thomas Biwer <[EMAIL PROTECTED]>:
uh, i forgot: here are the messages I get during linking process:
 
../../src/Main/libMain.a(main.o): In function `_Z14fgIdleFunctionv':
/fg-0.9.10/include/simgear/ephemeris/ephemeris.hxx:259: undefined reference to `
SGSky::build(double, double, double, double, int, double (*) [3], int, double (*
) [3])'
../../src/Scenery/libScenery.a(tileentry.o): In function `_ZN11FGTileEntry4loadE
RKSt6vectorISsSaISsEEb':
/home/biwert/FlightGear-0.9.10/src/Scenery/tileentry.cxx:887: undefined referenc
e to `sgMakeTaxiSign(SGMaterialLib*, std::basic_string<char, std::char_traits<ch
ar>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std
::allocator<char> >)'
/fg-0.9.10/lib/libsgmodel.a(animation.o): In function `_ZN15SGSpinAnimationC2EP1
4SGPropertyNode11SGSharedPtrIS0_Ed':
/home/biwert/SimGear-0.3.10/simgear/scene/model/../../../simgear/structure/SGSha
redPtr.hxx:74: undefined reference to `SGPersonalityParameter<double>::getNodeVa
lue(SGPropertyNode*, char const*, double) const'
/home/biwert/SimGear-0.3.10/simgear/scene/model/../../../simgear/structure/SGSha
redPtr.hxx:74: undefined reference to `SGPersonalityParameter<double>::getNodeVa
lue(SGPropertyNode*, char const*, double) const'
/fg-0.9.10/lib/libsgmodel.a(animation.o): In function `_ZN15SGSpinAnimationC2EP1
4SGPropertyNode11SGSharedPtrIS0_Ed':
/home/biwert/SimGear-0.3.10/simgear/scene/model/../../../simgear/scene/model/per
sparam.hxx :24: undefined reference to `SGPersonalityParameter<double>::getNodeVa
lue(SGPropertyNode*, char const*, double) const'
/fg-0.9.10/lib/libsgmodel.a(animation.o): In function `_ZNSt6vectorIN16SGTimedAn
imation12DurationSpecESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1
_S3_EERKS1_':
/home/biwert/SimGear-0.3.10/simgear/scene/model/../../../simgear/structure/SGSha
redPtr.hxx:(.text$_ZN22SGPersonalityParameterIdEC1EP14SGPropertyNodePKcd[SGPerso
nalityParameter<double>::SGPersonalityParameter[in-charge](SGPropertyNode*, char
 const*, double)]+0xed): undefined reference to `SGPersonalityParameter<double>:
:getNodeValue(SGPropertyNode*, char const*, double) const'
/home/biwert/SimGear-0.3.10/simgear/scene/model/../../../simgear/structure/SGSha
redPtr.hxx:(.text$_ZN22SGPersonalityParameterIdEC1EP14SGPropertyNodePKcd[SGPerso
nalityParameter<double>::SGPersonalityParameter[in-charge](SGPropertyNode*, char
 const*, double)]+0x114): undefined reference to `SGPersonalityParameter<double>
::getNodeValue(SGPropertyNode*, char const*, double) const'
/fg-0.9.10/lib/libsgmodel.a(animation.o):/home/biwert/SimGear-0.3.10/simgear/sce
ne/model/animation.cxx:107: more undefined references to `SGPersonalityParameter
<double>::getNodeValue(SGPropertyNode*, char const*, double) const' follow
collect2: ld returned 1 exit status
make[2]: *** [fgfs.exe] Error 1
make[2]: Leaving directory `/home/biwert/FlightGear-0.9.10/src/Main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/biwert/FlightGear-0.9.10/src'
make: *** [all-recursive] Error 1


 
2006/10/20, Thomas Biwer <[EMAIL PROTECTED]>:
Richard,
 
I wasnt able to find your patches in the mailinglist´s archive, so I stumbled through the compilation of FlightGear by my own. There were two errors which I attached in a txt-file including the changes I did within the code. What do you (or anybody else) think about this?
 
Unfortunately FlightGear wont link, there are a whole bunch of linker errors and the problem seems to be within some libraries of simgear (again *sigh*). Any suggestions as to how I might get it linked well?
 
Thanks.
 
Best,
Thomas

 
2006/10/19, Richard Bytheway <[EMAIL PROTECTED]>:
I posted some patches to Flightgear a few weeks back which I needed to get it building under Cygwin. You will probably want to dig those out when you get to that point.

Richard

________________________________

From: Richard Bytheway [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Biwer
Sent: 19 October 2006 13:45
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] Cygwin Installation problem


Richard,

you re the man! :-) seems to work now. Thank you a lot. I was struggling with this for days now... and, yes, your diff-files DID work directly.

there were two other error messages somewhere in the sound folder, i managed them in the same way and it seems to work out fine.

Thank you again.

Best,
Thomas



2006/10/19, Richard Bytheway < [EMAIL PROTECTED]>:

       OK, replying to myself...

       Attached are diff files for the two files. These probably won't apply directly, but they show where I have put the include lines, and they work for me.

       Richard

       -----Original Message-----
       From: Richard Bytheway [mailto:[EMAIL PROTECTED] ] On Behalf Of Richard Bytheway
       Sent: 19 October 2006 12:14
       To: FlightGear developers discussions
       Subject: Re: [Flightgear-devel] Cygwin Installation problem

       > Well, there came another idea into my mind: During the installation of
       > SimGear I was struggling with the problem of function isnan being
       > undeclared in cloud.cxx and cloudfield.cxx and after some research in
       > the mailing list´s archive, i found that this problem once had lead to
       > an endless loop and therefore caused a hang starting FG on an macOS. (
       > http://mail.flightgear.org/pipermail/flightgear-devel/2005-February/03
       > 5004.html)
       >
       > so the problem seems to be that isnan is not declared. i m really out
       > of ideas how to deal with that since i already tried a couple of
       > things, namely these suggestions given over here:
       > http://mail.flightgear.org/pipermail/flightgear-devel/2004-May/028391 < http://mail.flightgear.org/pipermail/flightgear-devel/2004-May/028391 > .
       > html
       >
       > NOTE: i m using cygwin, not msys, on a pentium 4 using windowsXP. here´s what i get when i try to compile:
       >
       >
       < snip>

       You need to add a #include to ieeefp.h in the top of cloud.cxx and cloudfield.cxx, and one other in that directory.

       I don't have access to my FG codebase today, but I can post full details tomorrow if you can wait.

       Richard


       ________________________________________________________________________
       This e-mail has been scanned for Bede Scientific Instruments for all
       viruses by Star Internet. The service is powered by MessageLabs. For
       more information on a proactive anti-virus service working around the
       clock, around the globe, visit: http://www.star.net.uk < http://www.star.net.uk/>
       ________________________________________________________________________

       -------------------------------------------------------------------------
       Using Tomcat but need to do more? Need to support web services, security?
       Get stuff done quickly with pre-integrated technology to make your job easier
       Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
       http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

       _______________________________________________
       Flightgear-devel mailing list
       Flightgear-devel@lists.sourceforge.net
       https://lists.sourceforge.net/lists/listinfo/flightgear-devel < https://lists.sourceforge.net/lists/listinfo/flightgear-devel>







________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


________________________________________________________________________
This e-mail has been scanned for Bede Scientific Instruments for all
viruses by Star Internet. The service is powered by MessageLabs. For
more information on a proactive anti-virus service working around the
clock, around the globe, visit: http://www.star.net.uk
________________________________________________________________________

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to