I read Damian's interesting stuff in Glightgear-devel and have got quite
interested. I stumbled at the first fence with the following error:
In file included from ogcRenderWindow.h:14,
from ogcAppObject.h:22,
from main.cpp:13:
ogcOrderedPair.h:22: parse error before `;'
ogcOrderedPair.h:25: parse error before `;'
Found the following on http://www.cs.rpi.edu/projects/STL/htdocs/stl.html
".....
Compiling programs that use STL
STL makes very aggressive use of the template feature of C++, and currently
only a few compilers are capable of compiling programs that use STL.
Unfortunately these do not include the GNU g++ compiler or the SUN CC
compiler. "
Does this mean we can't use gcc to compile opengc?
Or has John got around the problem with ogcOrderedPair ? I am a C++ novice,
so not so clued up on templates. I am using gcc 2.95.2.1
--
Kind Regards,
Alasdair Campbell
|