Code::Blocks Forums

User forums => Help => Topic started by: robin4286 on June 30, 2009, 11:05:47 am

Title: GLFW troubles
Post by: robin4286 on June 30, 2009, 11:05:47 am
I am having difficulties with GLFW in code::blocks. As per the tutorial in the wiki, I used make for x11 (I am using Ubuntu). That went through successfully, and while I am able to find libglfw.a, I am unable to find the other two files (glfw.dll or some similar type, and libglfwdll.a).

Any idea what I could have done wrong?

Thanks!

Title: Re: GLFW troubles
Post by: oBFusCATed on June 30, 2009, 01:55:04 pm
Shared libs on windows are .dll, on linux they are .so.
The preferred way to get this libs is to use the package manager:

For ubuntu should be something like:

apt-get install the_lib_in_question-dev ...
so in your case
apt-get install glfw-dev or
apt-get install libglfw-dev

If I've not guessed correctly the name of the lib use google to find (I'm not a ubuntu user, so I can try the commands myself).