Re: problems with compilation of gtkglext
- From: Chris Vine <chris cvine freeserve co uk>
- To: Moises <ammoises yahoo com mx>
- Cc: gtk-list gnome org
- Subject: Re: problems with compilation of gtkglext
- Date: Sat, 12 May 2007 12:37:51 +0100
On Fri, 2007-05-11 at 14:49 -0500, Moises wrote:
[snip]
> 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
> |GDK_GL_MODE_DEPTH |GDK_GL_MODE_DOUBLE);
>
> 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.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]