User forums > Using Code::Blocks
new project wizard - GLUT - problems defining $(#glut)
fargoth:
I've created the global variable glut with the following dirs:
base: /usr/
include: /usr/include/GL
lib: /usr/lib
obj: (empty)
but the wizard asks me for the location of glut and i put $(#glut) - I'm told it cant locate the header files...
what am i doing wrong?
Driss:
After you've put $(#glut), you have to do anything but #include <name_of_header_to_include.h> I supose it's glut.h :idea:
rolandixor:
I've found that codeblocks complains about all vars. Even wxWidgets won't work... :x
Biplab:
--- Quote from: rolandixor on August 10, 2007, 01:48:05 am ---I've found that codeblocks complains about all vars. Even wxWidgets won't work... :x
--- End quote ---
You should understand why they are complaining. These little checks are kept to inform user that the wizard can't find the required libs in a standard place.
BTW, can you explain the situation where wxWidgets won't work with C::B??
--- Quote from: fargoth on August 02, 2007, 05:55:13 pm ---include: /usr/include/GL
--- End quote ---
Change the above variable to /usr/include
Freak:
I'm also having this problem, is this a bug or known issue....?
I can use the OpenGL and other wizards, bit i cannot get a GLUT project to create on Windows.
I'm using 8.02 on Windows.
Script Error:
"The path you entered seems valid, but this wizard can't locate the following GLUT's include file: glut.h in it."
I have tried several solutions, I have made subfolders "lib" and "include" and also put both files in the root and sub folders, and i get similar errors no matter what try. The include files are in the directories specified.
There seems to be other issues, because the first time i used the Wizard, I was led to another menu (Global Variable Editor) that had options for setting multiple directories, (Base, Include, Objects, Lib, etc) but this no longer appears when creating a new project, i just get the single "Glut Project" Please Select GLUT's Location. Which fails as per above.
Previously if i left the $(#glut) and just hit next, it would take me to the Global Variable Editor i had to delete my .conf to fix this issue, and get that option back again, but this still does not solve this main issue of not being able to create a Glut project.
Has anyone gotten this to work in the stable 8.02 release? Any solutions to fixing this?
I really only installed CodeBlocks for doing GLUT development, as i was using DevC++, so this is frustrating, any help or advice would be appreciated.
Navigation
[0] Message Index
[#] Next page
Go to full version