Boslough, Mark B wrote: > I am again trying to compile the CVS version of FlightGear. I *think* > I am following instructions! I have not had any trouble building the > version 0.7.8, but with CVS I get the following compile error:
Not to be too snooty, but sometimes it's helpful to actually read the text of the error message. :) In this case, with a little reformatting: > no matching function for call to > > SGPropertyNode::getNode(const basic_string<...>, int &, bool &)' > > candidates are: SGPropertyNode::getNode(const string &, bool = false) > SGPropertyNode::getNode(const string &) Admittedly, you need to know that the basic_string<> template yuck is just referring to the underlying type of "string" in the warped world of the C++ standard library. But once you're over that hurdle, it's not so bad. So the compiler is looking for a function that takes (string,int,bool) and can only find a version in the header that takes (string,bool). So, QED: the SimGear header files you have are the wrong version. In fact, inspecting the CVS logs for exactly that header file (simgear/misc/props.hxx), I find the following smoking gun: > revision 1.23 > date: 2002/01/19 03:06:22; author: david; state: Exp; lines: +29 -3 > Added some new functionality to the property manager: > > 1. Nodes cache previous relative paths so that they do not have to > parse the paths each time. > > 2. There are new getNode() methods that include indices, so that users > do not have to sprintf to a buffer to iterate through indexed nodes. Bingo. Your FlightGear CVS is current (and using the new methods that indclude indices), but your SimGear installation is lacking the update that happened nine days ago. Andy _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
