Re: OpenGl.l and Segmentation fault

2012-11-09 Thread Jon Kleiser
Hi all, This is how it was done in simul/gl/glut.c, which worked with (32-bit) picoLisp-2.3.5: // (glut:BitmapCharacter 'fontNum 'character) - T any BitmapCharacter(any ex) { void* font; int fontNum; int character; fontNum = (int)evCnt(ex, cdr(ex)); character =

Re: OpenGl.l and Segmentation fault

2012-11-09 Thread Alexander Burger
Hi Jon, This is how it was done in simul/gl/glut.c, which worked with (32-bit) picoLisp-2.3.5: ... void* font = GLUT_STROKE_ROMAN; ... int character; ... glutStrokeCharacter(font, character); Yes. The only difference is that glutStrokeCharacter() expects a pointer and an

Re: OpenGl.l and Segmentation fault

2012-11-08 Thread Jorge Acereda
On Nov 8, 2012, at 9:09 PM, Alexander Burger wrote: Hi Jon, work to make OpenGl.l a little more complete (lots missing). The problem I have right now, is with glutBitmapCharacter and glutStrokeCharacter; they give me Segmentation fault, and I suspect they'll fail on Linux as well.