Code::Blocks Forums

User forums => Help => Topic started by: elieobeid7 on September 30, 2017, 06:08:54 pm

Title: Freeglut on Fedora 26
Post 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?

Title: Re: Freeglut on Fedora 26
Post by: oBFusCATed on September 30, 2017, 06:35:22 pm
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.
Title: Re: Freeglut on Fedora 26
Post by: Jenna on September 30, 2017, 07:21:23 pm
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.
Title: Re: Freeglut on Fedora 26
Post by: Jenna on September 30, 2017, 07:23:26 pm
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).
Title: Re: Freeglut on Fedora 26
Post by: elieobeid7 on September 30, 2017, 09:29:30 pm
This forum isn't notifying me of new replies. Thanks Jens it worked