Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
0, WillyB <[EMAIL PROTECTED]> napisał: > Doesn't CVS keep a file you have modified intact? > Just telling you there is a different version and not overwriting your > changes? according to the doc's I read it should.. apparently mine (v 1.11.2) doesn't -- with regards Lukasz Hejnak [EMAIL PROTECTED] ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
On Tuesday 29 July 2003 03:51, Lukasz Szift Hejnak wrote: > hmm.. funny but it seems that the error just solved itself > I moved the main.cxx file to somwhere else > and entered the cvs -dp update > and the new downloaded main.cxx is the correct up-to-date one > so whatever caused this weird behaviour yesterday, has somehow got solved > today ;) > > anyway thx for your help Doesn't CVS keep a file you have modified intact? Just telling you there is a different version and not overwriting your changes? WillyB ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
hmm.. funny but it seems that the error just solved itself I moved the main.cxx file to somwhere else and entered the cvs -dp update and the new downloaded main.cxx is the correct up-to-date one so whatever caused this weird behaviour yesterday, has somehow got solved today ;) anyway thx for your help -- with regards Lukasz Hejnak [EMAIL PROTECTED] ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
Erik Hofman <[EMAIL PROTECTED]> said: > Lukasz Szift Hejnak wrote: > > >>What is the exact command you use to get FlightGear CVS? > > > > cd ~/CVS > > cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 login > > mkdir flightgear > > cd flightgear > > cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 co source > > > I don't think 'co source' is the right way. Looks right to me. Apparently curt has "source" simlinked to the FlightGear directory. Lukasz, try checking out into another directory (the FlightGear source) and see if you get the same main.cxx file. As you can imagine, this doesn't make a lot of sense right now. Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
0, Jim Wilson <[EMAIL PROTECTED]> napisal: > Lukasz Szift Hejnak <[EMAIL PROTECTED]> said: > > so I changed the order of the args in main.cxx and ended up with: > > flightgear/src/Main/main.cxx > > lines: 1767-1771 > > thesky->build( 550.0, 550.0, 6.0, 6.0, > >globals->get_ephem()->getNumPlanets(), > >globals->get_ephem()->getPlanets(), > >globals->get_ephem()->getNumStars(), > >globals->get_ephem()->getStars() ); > > it solved the compile problem.. > That really does look like it is an out of date SimGear function you are > building against. If you are using cvs is there any chance you've got a file > or two tagged so they won't update (e.g. specific version from a past rollback)? nah... I said I'm just beggining with FGFS and I downloaded all the CVS with the 'co' option to new fresh dirs with nothing in them 0, Erik Hofman <[EMAIL PROTECTED]> napisał: > This directory layout suggest you are using SimGear CVS version. > Then you *must* use FlightGear CVS version which contains: hmm... you're right.. so I have no idea how that happened.. I downloaded all into empty dir via CVS as written above... btw I took a look at the file timestamps sky.hxx is from 11th June (6 weeks) while the main.cxx is from 26th July (2 days) and this data is same as the timestamps on my hdd, maybe except the main.cxx currently, as I made the changes to make it compile and I looked on the files trough the web cvs system and in fact, the code in the main.cxx is different than in my local main.cxx so how can it be, if I downloaded the file yesterday? -- with regards Lukasz Hejnak [EMAIL PROTECTED] ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
Lukasz Szift Hejnak <[EMAIL PROTECTED]> said: > so I changed the order of the args in main.cxx and ended up with: > flightgear/src/Main/main.cxx > lines: 1767-1771 > thesky->build( 550.0, 550.0, 6.0, 6.0, >globals->get_ephem()->getNumPlanets(), >globals->get_ephem()->getPlanets(), >globals->get_ephem()->getNumStars(), >globals->get_ephem()->getStars() ); > > it solved the compile problem.. > no it's for testing, but judging from the var names I think it will work > ok > dunno how come this passed compiling for the outhers though... > thx anyway for the response :) > That really does look like it is an out of date SimGear function you are building against. If you are using cvs is there any chance you've got a file or two tagged so they won't update (e.g. specific version from a past rollback)? Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] CVS: main.cxx error: no matching function forcall to `SGSky::build
so just today I downloaded the plib, SimGear and FlightGear all CVS, the plib didn't compile at start, I had to comment out line 146 from the file plib/src/ssg/ssg.cxx ssgAddModelFormat ( ".asc", NULL, ssgSaveASC ) ; after that the plib compiled ok, the SimGear compiled out of the box.. and finally I started the Flight Gear... it stopped with this error: main.cxx: In function `bool fgMainInit(int, char**)': main.cxx:1771: error: no matching function for call to `SGSky::build(double, double, int, double (*)[3], double, int, double (*)[3], double)' /usr/local/include/simgear/scene/sky/sky.hxx:240: error: candidates are: void SGSky::build(double, double, double, double, int, double (*)[3], int, double (*)[3]) my OS is GNU/Linux Debian 3.0, XFree 4.3, WindowMaker 0.81 (CVS) with GeForce 4 MX 420 and the newest nVidia drivers kernel version: 2.4.22-pre8 gcc 3.3, glibc 2.2.3 my Flight Gear config summary: Prefix: /usr/local Plib PSL scripting: yes Debug messages: yes Automake version: automake (GNU automake) 1.4-p4 Using FGEnvironment Using default multiplayer support threads: no any ideas? with regards Lukasz Hejnak [EMAIL PROTECTED] ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel