Re: [Flightgear-devel] Problem Building CVS FlightGear

2002-12-04 Thread Norman Vine
Richard Bytheway writes:

 I have done a complete rebuild and reinstall of plib, and SimGear, but compiling 
FlightGear fails:
 

 ../../../src/Cockpit/hud.hxx:380: implicit declaration of function `int 
for_each(...)'

Hmm...

There is no  'for_each()'  call in the hud.hxx in the CVS

try deleting hud.hxx and issuing a 'cvs up'

You probably picked this up from my '2D 3D HUD consolidation'
which never made it into CVS

Don't really understand why you are having a problem with 'for_each()' 
though as it is defined in stl_algol.h

I guess you could try adding
#include algorithm

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Problem Building CVS FlightGear

2002-12-04 Thread Richard Bytheway
 -Original Message-
 From: Norman Vine [mailto:[EMAIL PROTECTED]]
 Sent: 04 December 2002 1:15 pm
 To: [EMAIL PROTECTED]
 Subject: Re: [Flightgear-devel] Problem Building CVS FlightGear
 
 
 Richard Bytheway writes:
 
  I have done a complete rebuild and reinstall of plib, and 
 SimGear, but compiling FlightGear fails:
  
 
  ../../../src/Cockpit/hud.hxx:380: implicit declaration of 
 function `int for_each(...)'
 
 Hmm...
 
 There is no  'for_each()'  call in the hud.hxx in the CVS
 
 try deleting hud.hxx and issuing a 'cvs up'
 
 You probably picked this up from my '2D 3D HUD consolidation'
 which never made it into CVS
 
 Don't really understand why you are having a problem with 
 'for_each()' 
 though as it is defined in stl_algol.h
 
 I guess you could try adding
 #include algorithm
 
 Norman
 
 

Deleting the files in /Cockpits/ and re-getting them fixed it. 
The glitch probably crept in due to my slightly odd way of getting the cvs for 
FlightGear and SimGear. My local ISP mangles the dns badly enough that I cannot use 
CVS directly, so I run cvs on a different machine, and then scp across to my local 
machine.
I think I need to look at my scp flags and options to make sure it overwrites files...

Thanks.

Richard

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel