Re: [Plib-users] PUI compilation problems
Brought to you by:
sjbaker
From: <Va...@t-...> - 2000-10-15 10:53:25
|
Simon Foster wrote: > > When attempting to compile the pui part of plib (nb: > all the rest of plib compiles no problem) I get these > (and other) errors: > > pu.h: In method `puFont::puFont()': > pu.h:87: `GLUT_BITMAP_8_BY_13' undeclared > pu.cxx: In function `int puGetWindowHeight(); > pu.cxx: `GLUT_WINDOW_HEIGHT' undeclared > ....... You are missing a define. IIRC: #define USE_GLUT On Linux machines this should be done automatically. BTW: Could we *please* add this define as default? Perhaps something like: #ifnef USE_GLUT # ifndef USE_FREE_GLUT # define USE_GLUT # endif #endif CU, Christian PS: I haven't looked at the code, so I don't know if the spelling of the defines are correct. |