Problem in interfacing opengl with gtk



Hi,
 	I am realy finding problem in interfacing with gtk and opengl, I
included  "gtkgl/gtkglarea.h" and I am getting the following error message
from VC++ 6.0


The error message
----------------------------------------------------------------------------
----------------------------------------

c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1151) : error
C2144: syntax error : missing ';' before type 'void'
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1151) : error
C2501: 'WINGDIAPI' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1151) : fatal
error C1004: unexpected end of file found
Error executing cl.exe.

area.exe - 3 error(s), 0 warning(s)
----------------------------------------------------------------------------
------------------------------------------


Would you guide me  to use gtk as GUI and opengl as backend.

Looking for your feed back

Regards

Ajay






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]