Re: [patch] cvs compilation broken

"Curtis L. Olson" <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
This should now be fixed, thanks!

Curt.


Alex Romosan writes:
> the latest cvs version of terragear doesn't compile. the attached
> patch fixed it for me.
> 
> --alex--
> 
> Index: src/Airports/GenAirports/lights.cxx
> ===================================================================
> RCS file: /var/cvs/TerraGear-0.0/TerraGear/src/Airports/GenAirports/lights.cxx,v
> retrieving revision 1.33
> diff -u -r1.33 lights.cxx
> --- src/Airports/GenAirports/lights.cxx	23 Sep 2003 23:08:26 -0000	1.33
> +++ src/Airports/GenAirports/lights.cxx	25 Dec 2003 04:59:20 -0000
> @@ -23,6 +23,8 @@
>  
>  
>  #include <simgear/math/sg_geodesy.hxx>
> +#include <simgear/constants.h>
> +#include <plib/sg.h>
>  
>  #include "lights.hxx"
>  
> Index: src/BuildTiles/Main/main.cxx
> ===================================================================
> RCS file: /var/cvs/TerraGear-0.0/TerraGear/src/BuildTiles/Main/main.cxx,v
> retrieving revision 1.47
> diff -u -r1.47 main.cxx
> --- src/BuildTiles/Main/main.cxx	4 Sep 2003 18:53:53 -0000	1.47
> +++ src/BuildTiles/Main/main.cxx	25 Dec 2003 04:59:21 -0000
> @@ -51,6 +51,7 @@
>  #include <simgear/constants.h>
>  #include <simgear/bucket/newbucket.hxx>
>  #include <simgear/debug/logstream.hxx>
> +#include <simgear/math/polar3d.hxx>
>  
>  #include <Geometry/poly_support.hxx>
>  #include <Array/array.hxx>
> Index: src/Prep/Photo/findcorners.cxx
> ===================================================================
> RCS file: /var/cvs/TerraGear-0.0/TerraGear/src/Prep/Photo/findcorners.cxx,v
> retrieving revision 1.2
> diff -u -r1.2 findcorners.cxx
> --- src/Prep/Photo/findcorners.cxx	28 Feb 2002 15:34:13 -0000	1.2
> +++ src/Prep/Photo/findcorners.cxx	25 Dec 2003 04:59:22 -0000
> @@ -1,6 +1,7 @@
>  // find (lat/lon) of each corner of an image
>  
>  #include <simgear/compiler.h>
> +#include <plib/sg.h>
>  
>  #include <stdlib.h>
>  
> 
> -- 
> | I believe the moment is at hand when, by a paranoiac and active |
> |  advance of the mind, it will be possible (simultaneously with  |
> |  automatism and other passive states) to systematize confusion  |
> |  and thus to help to discredit completely the world of reality. |
> _______________________________________________
> Terragear-devel mailing list
> [email protected]
> http://mail.flightgear.org/mailman/listinfo/terragear-devel

-- 
Curtis Olson   HumanFIRST Program               FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
Minnesota      http://www.flightgear.org/~curt  http://www.flightgear.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.