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
no example compiles with GLEW 1.8 on Archlinux #1637
Comments
does glew1.8/1.9 work on other distros? i.e. is this an arch-issue or a glew-issue? my current ubuntu is on glew 1.6. |
Two things in the GLEW changelog jump at me, which could be causing this maybe:
could you try defining the latter and see if it fixes this? |
added |
interestingly GLEW_STATIC is defined for win platforms... I created a small glew example, used the includes from ofConstants.h and it compiled fine. Could it be a problem with the Makefile? |
@arturoc thoughts on this? |
we don't use static libraries for glew so i think it has no relation with that macro. i added an include to glxew. recently to add a new method to activate the vertical refresh, and it seems related to that, probably you need to define some macro but no idea of which one. also i've downloaded glew 1.9 but the line numbers don't match with the ones in your errors, can you post your glxew.h somewhere also are you using the same glew for the libraries package and dev package? we've had problems before because of having different versions for those. perhaps you are still using 1.8 for the dev pkg? |
his error log is probably for glew 1.8, which I think is the default version for arch currently. |
https://gist.github.com/3833784 this is the default untouched header file from glew1.8 |
btw: there are no seperate *-dev packages on archlinux. all the stuff comes with the normal packages. |
don't think this is going to fix it but can you try to change the includes in ofConstants.h line 140 to:
note the different order |
same error |
did my testrun and all examples are broken with glew1.8 on archlinux :(
see here for example: http://videosynthesis.net/oftesting/testruns/run_2012-10-03_205648/vagrant-archlinux-gnome-32bit/tests/noiseField2dExample/
manually downgrading to glew1.7 fixed it.
are there any suggestion how we can fix this? Will be happy to test, help, hack around on this issue! ❤️
/edit/
upgrading to glew1.9 exits with the same error.
The text was updated successfully, but these errors were encountered: