Re: problem compiling terragear
"Frederic Bouvier" <[email protected]>
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <000901c407fb$bcfdec80$a8673351@ninja> |
chandrasekhar achalla wrote: > Hi, > > As Erik suggested I downloaded the CVS versions of Simgear and > Terragear. I could compile the Simegear but still have a problem with > Terragear. > I did aclocal;autoheader;automake -a;autoconf and then configure. But I > getting below error. > > ../../../src/Lib/Geometry/libGeometry.a(util.o)(.text+0x466): In > function `tg::makePolygon(Point3D const&, int, TGPolygon&)': > /usr/include/c++/3.2.2/bits/stl_uninitialized.h:109: undefined reference > to `geo_direct_wgs_84(double const&, double const&, double const&, > double const&, double const&, double*, double*, double*)' > ../../../src/Lib/Geometry/libGeometry.a(util.o)(.text+0x4d7): In > function `tg::makePolygon(Point3D const&, int, TGPolygon&)': > > > Please let me know if I am missing anything. It seems you still have old SimGear headers around. Current geo_direct_wgs_84 signature is : int 'geo_direct_wgs_84(double,double,double,double,double, double *,double *,double *)' not : geo_direct_wgs_84(double const&, double const&, double const&, double const&, double const&, double*, double*, double*) Uninstall completely your previous SimGear version -Fred