Re: problems with compilation of gtkglext

On Fri, 2007-05-11 at 14:49 -0500, Moises wrote:
> The example that I am trying to compile is
> "share-lists.c" but the visual studio marks an error
> in the line: 
> glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB
> The error is the following:
> 'gdk_gl_config_new_by_mode' : parameter 1 can`t be
> turned of 'int' a 'GdkGLConfigMode'
> and if the prototype of this function is:
> GdkGLConfig *
> gdk_gl_config_new_by_mode(GdkGLConfigMode mode);

It looks as if you are compiling a c++ program.  If that is the case,
you need a static_cast.


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