Re: CVS compile problems
Craig Benbow <[email protected]> Sun, 31 Dec 2006 21:31:52 +1300
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Craig Benbow wrote: > Current CVS version will not compile: > > > apt_surface.cxx:319: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:320: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:321: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:322: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:323: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:324: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:325: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:326: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:327: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:328: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:329: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:330: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:331: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:332: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:333: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:334: error: =91class Matrix=92 has no member named =91col= umn=92 > apt_surface.cxx:345: error: =91sum_square=92 was not declared in this sco= pe > /usr/local/include/newmat/newmat.h:420: error: =91int > GeneralMatrix::nrows=92 is protected > apt_surface.cxx:354: error: within this context > apt_surface.cxx:354: error: > =91A.ColumnVector::<anonymous>.Matrix::<anonymous>.GeneralMatrix::nrows= =92 > cannot be used as a function > apt_surface.cxx:363: error: =91class Matrix=92 has no member named =91col= umns=92 > apt_surface.cxx:363: error: =91class DiagonalMatrix=92 has no member named > =91as_column=92 > /usr/local/include/newmat/newmat.h: In member function =91void > TGAptSurface::fit()=92: > /usr/local/include/newmat/newmat.h:420: error: =91int > GeneralMatrix::nrows=92 is protected > apt_surface.cxx:438: error: within this context > apt_surface.cxx:438: error: > =91((TGAptSurface*)this)->TGAptSurface::surface_coefficients.ColumnVector= ::<ano > nymous>.Matrix::<anonymous>.GeneralMatrix::nrows=92 cannot be used as a > function > make[3]: *** [apt_surface.o] Error 1 > make[3]: Leaving directory > `/home/benbowc/Downloads/TerraGear/source/src/Airports/GenAirports' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/benbowc/Downloads/TerraGear/source/src/Airports' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/benbowc/Downloads/TerraGear/source/src' > make: *** [all-recursive] Error 1 > = All this was due to the use of the lowercase function names and properties. Using Column in place of column, Nrows instead of nrows etc. cured the problems. Not sure what the reason for this is as haven't had time to look. Maybe a define missing or something. Craig _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d