Lionel Allorge wrote:
Hi,
I try to compile NGL under Win98 with VisualC++ 6.
To do so I got the freetype lib 2.1.8.
But the compile gives me an error about the structure of FTC_ImageTypeRec :
D:\ngl\src\font\nglFont1_shr.cpp(294) : error C2039: 'font' : is not a
member of 'FTC_ImageTypeRec_'
Hello,
sorry for the very late reply. NGL is indeed late regarding FT's latest
API changes. The problem is that Debian packages a 2.1.7 patched to keep the
old compat, thus I didn't noticed the problem. I'll guess I'll have to
#ifdef some things to make it compile verywhere.
Should I try with freetype 2.1.4 ?
This could bring other problems. The quick fix right now would be to
replace 'face_id' occurences in NGL with 'font'.
On your links page, please note that the link to GLFW as changed :
http://glfw.sourceforge.net/
Updated, thanks !