Hello,
I am new on flightgear developpement, ia am using MSVC 9.0, i am french,
so excuse me for my english please.
And i am enthusiast to contribute on this project, but it s very hard to
get Flightgear to compile
I got all the sources as described on wiki, but the flightgear solution
doesnt compile because of lack of some include folders and other
problems,
For example fgadmin does nt compile because it cannot find plib/sg.h
because in the configuration of the project it lacks "..\..\..\.." in
the list of include folder
Then i am trying to compil only FlightGear project and there i have this
error:
1>i:\developpement\projects\flightgear\source\src\aimodel\aibase.cxx(229
) : error C2228: la partie gauche de '.c_str' doit avoir un
class/struct/union
and the line is :
void FGAIBase::initModel(osg::Node *node)
{
if (model.valid()) {
fgSetString("/ai/models/model-added", props->getPath().c_str());
<<- buggy line :props->getPath() return const char* and not a
std::string, the .c_str() is already done on GetPath() Method !
} else if (!model_path.empty()) {
SG_LOG(SG_INPUT, SG_WARN, "AIBase: Could not load model " <<
model_path);
}
props->setStringValue("submodels/path", _path.c_str());
setDie(false);
}
there is some other problems (simgear project doesnt have the path to
plib include for example)
i dont want to develop only for me but for the community then i dont
want to fix all if it is already fixed
is there a way of having a completely working solution ? before to start
modifying the code
and can you explain me how to validate modification done in code before
to submit it by cvs, i think you have to say it s ok before to make
modification on CVS sources no ?
i think you can compile flightgear :-) then can you help me please
thank you and good day
David Ingels
------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel