I'm getting a rather straightforward error; however, my unfamiliarity with the source is making troubleshooting it rather slow:
Code: Select all
texturefont.cpp: In member function `void
TextureFont::rebuildGlyphLookupTable()':
texturefont.cpp:209: cannot convert `std::__normal_iterator<const
TextureFont::Glyph*, std::vector(TextureFont::Glyph,
std::allocator<TextureFont::Glyph> > >' to `const TextureFont::Glyph*' in
assignment
make[3]: *** [texturefont.o] Error 1
make[3]: *** Leaving directory /build/celestia-1.2.0/src/celtxf
lines 207-209, FWIW, look like:
Code: Select all
// Fill the table with glyph pointers
for (iter = glyphs.begin(); iter != glyphs.end(); iter++)
glyphLookup[iter->id] = iter;
Ideas? Some of the template-ing seems rather complex in there... perhaps gcc 3.0.1 doesn't like the syntax?