It's been a while, but I got a bit side tracked with other things.... Thanks for the help on getting my FG compiled with VC6 on win xp, but I still haven't succeeded. I think I'm a bit stuck with the compiler options. Maybe someone can give me a quick rundown on the libraries and options I need to use?
I have compiled plib and simgear, but flightgear won't find the plib and simgear functions in the linking process. I have included the paths to the libs in my options, so flightgear should find the libs. Should I use the /MTd option and why (I recently learned what MTd means, and it actually makes sense to my to use this, but how does this work, do I have to copy all the libs into one dir? It would just be nice to learn a bit about the options I have and how they work)? I think the standard options in the project files that come with cvs are different... Although I have a lot of coding experience, I'm a newbie when it comes to set complex projects up properly, so maybe someone on this list can give a quick rundown on whats important to know when setting things up in VC6? Cheers, Christian At 12:39 PM 10/06/2002 +0200, you wrote: >Did you compile all libraries (and fgfs.exe) with the same >run-time libs (LIBCMTD.LIB: /MTd compiler option)? > >regards > >georg > > > > -----Original Message----- > > From: Christian Stock [mailto:[EMAIL PROTECTED]] > > Sent: Montag, 10. Juni 2002 04:02 > > To: [EMAIL PROTECTED] > > Subject: Re: [Flightgear-devel] compiling error on MSVC > > > > > > Thanks, Fred. > > > > I have downloaded the CVS version now, and as you said this > > has been fixed. > > However, I get a lot of link errors when I compile flightgear > > (simgear cvs > > compiled fine). Do I have to be aware where to put the plib > > and simgear > > libs? Or are the incompatibilities between version, eg > > simgear cvs doesn't > > work with flightgear cvs? > > > > Cheers, Christian > > > > > > At 09:58 AM 9/06/2002 +0200, you wrote: > > >This error has been fixed in CVS. MSVC6 is not able to > > choose between two > > >member functions, one const and the other not const, so you > > have to cast > > >the 4th argument : > > > > > > PropertyManager->Tie("atmosphere/p-turb-rad_sec", this,1, > > > &FGAtmosphere::GetTurbPQR); > > > > > >becomes: > > > > > > PropertyManager->Tie("atmosphere/p-turb-rad_sec", this,1, > > > (double (FGAtmosphere::*PMF)(int) > > const)&FGAtmosphere::GetTurbPQR); > > > > > >and so on for different classes in different files. > > > > > >Cheers, > > > > > >-Fred > > > > > >_____________________________________________________ > > >Frederic Bouvier > > >Maintainer of the FlightGear Scenery Designer project > > >http://fgsd.sourceforge.net > > > > > > > > >----- Original Message ----- > > >From: "Christian Stock" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > >Sent: Sunday, June 09, 2002 5:18 AM > > >Subject: [Flightgear-devel] compiling error on MSVC > > > > > > > > > > I just downloaded flightgear 0.7.10 and I'm trying to get > > it to compile on > > > > Windoze MSVC 6.0. > > > > > > > > I got glut, plib, sim-gear compiled w/o any probs. For FG > > I get this error > > > > at quite a few places. > > > > > > > > error C2661: 'Tie' : no overloaded function takes 4 parameters > > > > > > > > I had a look at the Tie functions in FGPropertyManager, > > but couldn't work > > > > out what's wrong. Maybe I have to include a cast or so > > (doesn't really > > >make > > > > sense because those functions use templates anyway)? > > > > > > > > Anyone come across this and knows how to fix it? > > > > > > > > Cheers, Christian > > > > > > > > > > > > _______________________________________________ > > > > Flightgear-devel mailing list > > > > [EMAIL PROTECTED] > > > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > > > > > > > > > > > > > >_______________________________________________ > > >Flightgear-devel mailing list > > >[EMAIL PROTECTED] > > >http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > > > > _______________________________________________ > > Flightgear-devel mailing list > > [EMAIL PROTECTED] > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > >_______________________________________________ >Flightgear-devel mailing list >[EMAIL PROTECTED] >http://mail.flightgear.org/mailman/listinfo/flightgear-devel _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel