XForms: OpenGl DEMOS with Xform library

From: Nicolas Godzik (nicolas.godzik@inria.fr)
Date: Mon Jan 07 2002 - 10:47:20 EST


# To subscribers of the xforms list from Nicolas Godzik <nicolas.godzik@inria.fr> :

Hello,

I'm a beginner in the use of Xform library. I would like to use gl
canvas to add some opengl animations to the program i do.

First of all, I wanted to see the result of the demos gl.c and glwin.c

But I can't manage to compile them, the following error occur :

gl.c: In function `void buffer_cb (FL_OBJECT *, long int)':
gl.c:165: cannot convert `void *' to `FD_form *' in initialization

and the line 165 is the following :

FD_form *fdui = ob->form->fdui;

and for glwin.c, the compilator says :

/tmp/ccmwPJwD.o: In function `main':
/tmp/ccmwPJwD.o(.text+0x52): undefined reference to `fl_glwincreate'
collect2: ld returned 1 exit status

Is anyone of you has already had this problem ? is there an error in the
file?

It would be very grateful if someone could tell me how to compile these
two files.

Thank u

Niko

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:13 EDT