Author Topic: GLFW Debian Lenny KDE  (Read 3583 times)

Offline dem

  • Single posting newcomer
  • *
  • Posts: 3
GLFW Debian Lenny KDE
« 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?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: GLFW Debian Lenny KDE
« Reply #1 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 .

Offline dem

  • Single posting newcomer
  • *
  • Posts: 3
Re: GLFW Debian Lenny KDE
« Reply #2 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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: GLFW Debian Lenny KDE
« Reply #3 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).

Offline dem

  • Single posting newcomer
  • *
  • Posts: 3
Re: GLFW Debian Lenny KDE
« Reply #4 on: June 17, 2011, 04:59:43 pm »
it worked