-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix conflicting declaration
OpenGL on some linux distros
#6187
Conversation
@@ -209,7 +209,7 @@ enum ofTargetPlatform{ | |||
#define GL_GLEXT_PROTOTYPES | |||
#include <GL/glew.h> | |||
#include <GL/gl.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you comment this line as well? also for osx and windows can you comment out the includes for GL/* except glew to see what happens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment line :211
also no issue.
I'm not sure on other OS (osx/windows). but I'll test and post here later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove include GL/gl.h
no issue on linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment out GL_GLEXT_PROTOTYPES define.
no issue on linux
no issue on MacOS 10.14.1 Mojave
hey thanks, you can just comment the rest of the platforms out (only desktop though) and the ci servers we'll test if everything keeps compiling or not |
cool. I cannot find proper line for windows. I think it's done. |
thanks! |
can this get into master as well? |
it is already |
reported from here.
https://forum.openframeworks.cc/t/arch-linux-compilation-error-after-updating-the-system/31097
and solution?.
mupen64plus/mupen64plus-video-z64#16