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