M
Michael Sgier
Hi
Error:
.../src/txt.cpp:42: warning: deprecated conversion from string constant
to 'char*'
runtimeerror:
dlerror:/home/michael/X-Plane/Resources/plugins/Cit_X.xpl: undefined
symbol: glutBitmapTimesRoman24
declaration:
void bitmap_output(int x, int y, char *string, void *font);
main:
bitmap_output(40, 35, "This is written in a GLUT bitmap font.",
GLUT_BITMAP_TIMES_ROMAN_24);
How / where should I define GLUT_BITMAP_TIMES_ROMAN_24? Also in the
header? ( I'm coming from VB.NET...) Why do they use a pointer?
Many thanks and regards
Michael
Error:
.../src/txt.cpp:42: warning: deprecated conversion from string constant
to 'char*'
runtimeerror:
dlerror:/home/michael/X-Plane/Resources/plugins/Cit_X.xpl: undefined
symbol: glutBitmapTimesRoman24
declaration:
void bitmap_output(int x, int y, char *string, void *font);
main:
bitmap_output(40, 35, "This is written in a GLUT bitmap font.",
GLUT_BITMAP_TIMES_ROMAN_24);
How / where should I define GLUT_BITMAP_TIMES_ROMAN_24? Also in the
header? ( I'm coming from VB.NET...) Why do they use a pointer?
Many thanks and regards
Michael