Closed grahamreeds closed 9 months ago
Hello @grahamreeds
Unless you want to contribute to GLEW it's recommended to build from an official release: https://glew.sourceforge.net/
See https://github.com/nigels-com/glew/issues/13 for more details.
I would just like to pull it into my projects, which are all CMake based, and as part of the build. Manual steps outside the main build is a non-no as that (in my experience) have people scratching their heads and disturbing other members of the team as to what went wrong. Making it as fool proof as possible is key.
I will look to see if there is a simple CMake command to download a zip and extract.
I'd recommend Perlmint/glew-cmake for that use case. This repo is less focused on cmake.
I have tried building with master branch and the source given in the 2.2.0 zip file. Both exhibit the same behaviour.
You freely admit that the CMake version is user-maintained but as that is what I use I will begin with that.
Attempting to compile with that gives the following output:
And for calling
makefile
:I might be able to pass this by adding sudo but I shouldn't have to - why does the compile need super user rights?