Code::Blocks Forums

User forums => Help => Topic started by: dem on June 12, 2011, 05:35:17 pm

Title: GLFW Debian Lenny KDE
Post by: dem on June 12, 2011, 05:35:17 pm
Hello.
I first instaled Code Block and then libGLFW and libGLFW-dev and now when i trie to make new project it ask me wher is GLFW (libs and headres) directory.
I searched install directory i find it and i add it but nothing hapens???

Help?
Title: Re: GLFW Debian Lenny KDE
Post by: Jenna on June 12, 2011, 05:51:22 pm
What do you mean with nothing happens ?

Where did you add what ?

Do you set the global variable $(#glfw) in the global variables dialog or do you add the appropriate directory ( /usr ) directly in the textbox of the wizard ?

In the first case yo should have $(#glfw.lib) and $(#glfw.include) as searchdirectories for linker and compiler, in the second case, they should be /usr/lib and /usr/include .
Title: Re: GLFW Debian Lenny KDE
Post by: dem on June 13, 2011, 04:44:10 pm
In Global variable dialog box i add include (member)/usr/lib/GL and lib (memeber) /usr/lib and base left empty and obj cflag and iflag left empty?
Dm
Title: Re: GLFW Debian Lenny KDE
Post by: Jenna on June 13, 2011, 05:01:33 pm
In Global variable dialog box i add include (member)/usr/lib/GL and lib (memeber) /usr/lib and base left empty and obj cflag and iflag left empty?
Dm
It should work if you add /usr/ as base and leave all others empty (it works fine here for me with the wizard created sample).
Title: Re: GLFW Debian Lenny KDE
Post by: dem on June 17, 2011, 04:59:43 pm
it worked