Code::Blocks Forums
User forums => Help => Topic started by: elieobeid7 on September 30, 2017, 06:08:54 pm
-
I have fedora 26, I have latest codeblocks and freeglut and freeglut-devel.
In codeblocks wizard I pick glut project. It asks me to enter a location but it can't detect it. I tried /usr and /usr/include and usr/include/GL. How to get it working?
-
You should inspect the wizard script (right click-> edit script) to see what it is trying to achieve.
Probably the wizard is outdated a bit and fails to detect your version of freeglut.
-
Create a global variable ("Settings -> Global variables") with the name glut and enter "/usr" in base and "/usr/lib64" in lib (without the quotes, of course).
And keep the default $(#glut) as location in the wizard.
-
By the way, if you used the wizard the first time, it should have asked you for a variable with name glut (if you do not change the default settings).
-
This forum isn't notifying me of new replies. Thanks Jens it worked