Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: gdkglcontext.h error unknown type name 'GdkGLDrawable' #13

Open
pinging2000 opened this issue Aug 23, 2018 · 0 comments
Open

make: gdkglcontext.h error unknown type name 'GdkGLDrawable' #13

pinging2000 opened this issue Aug 23, 2018 · 0 comments

Comments

@pinging2000
Copy link

Hi,

I'm having a compile error with the 'gdkglcontext.h' when running 'make' tool.

The 'GdkGLDrawable' has no declaration in any h files.

The file 'gdk\gdkgltypes.h' has declaration for '_GdkGLConfig', '_GdkGLContext' and '_GdkGLWindow' that exists in other h files except for '_GdkGLDrawable' which not does exist anywhere.

Any clue?
Thanks
-r.

'gdk\gdkgltypes.h'
typedef struct _GdkGLConfig GdkGLConfig;
typedef struct _GdkGLContext GdkGLContext;
typedef struct _GdkGLDrawable GdkGLDrawable;
typedef struct _GdkGLWindow GdkGLWindow;

../gdk/gdkglcontext.h:56:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLContext *gdk_gl_context_new (GdkGLDrawable *gldrawable,
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:65:1: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *gdk_gl_context_get_gl_drawable (GdkGLContext *glcontext);
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:67:1: error: unknown type name 'GdkGLConfig'; did you mean 'GdkGLContext'?
GdkGLConfig *gdk_gl_context_get_gl_config (GdkGLContext *glcontext);
^~~~~~~~~~~
GdkGLContext
../gdk/gdkglcontext.h:76:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *draw,
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:77:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *read);
^~~~~~~~~~~~~
GdkGLDrawableAttrib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant