The issue with git clone terragear-cs but ok with simgear-cs still exists on
this debian machine but the suse machine is fine.
Strange but it seems is must be this machine as other folks seem ok as is
mys suse 10..3 machine.
Otherwise the script seems ok here.
The problem now is the Terragear-cs compile fails with newmat. h But I
doubt its the script.
I build the newmat11.tar.gz with these comands from the wiki. All seemed in
order.
* make -f nm_gnu.mak
* sudo cp libnewmat.a /usr/local/lib
* sudo mkdir /usr/local/include/newmat
* sudo cp *.h /usr/local/include/newmat
Here is where tarragear fails: It seems to find newmat.h ok but have a
problem at line 630.
Making all in GenAirports
make[3]: Entering directory `/root/terrabuild/terragear-
cs/src/Airports/GenAirports'
g++ -g -O2 -L/root/terrabuild/simgear-cs/lib -L/usr/X11R6/lib -o genapts
apt_surface.o build.o convex_hull.o elevations.o lights.o main.o point2d.o
poly_extra.o runway.o rwy_common.o rwy_nonprec.o rwy_prec.o rwy_simple.o
rwy_visual.o taxiway.o ../../../src/Lib/Array/libArray.a
../../../src/Lib/Polygon/libPolygon.a
../../../src/Lib/poly2tri/libpoly2tri.a
../../../src/Lib/Geometry/libGeometry.a ../../../src/Lib/Output/libOutput.a
../../../src/Lib/TriangleJRS/libTriangleJRS.a -lsgbucket -lsgdebug -lsgio
-lsgmath -lsgmisc -lsgstructure -lsgxml -lgenpolyclip -lnewmat -lz -lm -lm
apt_surface.o: In function `~Matrix':
/usr/local/include/newmat/newmat.h:631: undefined reference to `vtable for
Matrix'
apt_surface.o: In function `Matrix':
/usr/local/include/newmat/newmat.h:630: undefined reference to
`GeneralMatrix::GeneralMatrix()'
apt_surface.o: In function `ColumnVector':
/usr/local/include/newmat/newmat.h:1049: undefined reference to `vtable for
ColumnVector'
/usr/local/include/newmat/newmat.h:1049: undefined reference to
`GeneralMatrix::GetMatrix(GeneralMatrix const*)'
apt_surface.o: In function `TGAptSurface::query(double, double)':
I had bit of a search but don't find any one else with this problem
I am getting out of my depth but I wonder if its compiler related?
The newmat.h file : at line 630
// Square matrix.
class SquareMatrix : public Matrix
{
public:
SquareMatrix() {}
~SquareMatrix() {}
SquareMatrix(ArrayLengthSpecifier); // standard declaration
SquareMatrix(const BaseMatrix&); // evaluate BaseMatrix
void operator=(const BaseMatrix&);
void operator=(Real f) { GeneralMatrix::operator=(f); }
regards Harry
On Thu, Feb 12, 2009 at 3:32 AM, Alasdair Campbell <ali...@btinternet.com>wrote:
> On Wed, 2009-02-11 at 19:40 +0100, Csaba Halász wrote:
>
> > Oh it will abort by itself - who has sudo? :)
> > Using git clone instead of git-clone should be more portable.
> > Adding some || (echo "something failed"; exit) is also useful,
> > especially after configure.
> > I don't have OSG and PLIB installed system-wide, so I had to mess with
> > the script a little.
> > But in the end I did get some stuff built. Using gcc (GCC) 4.1.2
> > 20061115 (prerelease) (Debian 4.1.1-21)
> >
> I did not intend this script to be anything other than a simple way to
> explain something that would be long and tedious in words. It was not
> meant to be anything other than a proof of concept for downloading and
> installing a workable version of the terragear tools.
>
> As for using sudo? I used to do everything as root, but my brain is
> starting to hurt, and I now work as a regular user with special
> privileges, like write access to /user/local. Anyway, sudo rhymes with
> Ludo, which was my childhood nickname (Latin: I play)
>
> Kind regards, Alasdair (AKA Ludo, Smiler)
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
-
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel