User forums > Help

Setting Up GLFW Project in Ubuntu

(1/2) > >>

Blakeasd:
Hello,

I just install glfw via the make files today, but I can't get it to work in Code::Blocks -- I actually can't get past the new project wizard.

To create the project, I do File > New Project

I then select GLFW from the list and click Go. I name the project and click Next. The problem occurs when I get to the "Select GLFW location". I'm not sure what to put here. The headers are in one place and the .a libglfw is in another. Do I just put the libglfw folder that I downloaded from the libglw website?

Additional Information: I am using Code::Blocks v.10.05

Any assistance would be greatly appreciated!

Thanks!

stahta01:
http://wiki.codeblocks.org/index.php?title=Recommended_global_variables

Blakeasd:
I have already seen what you have linked. I don't know what the base directory for glfw is referring to. The downloaded project folder or the folder where libraries are installed in Linux?

Thanks

stahta01:

--- Quote from: Blakeasd on April 17, 2013, 12:46:37 am ---I have already seen what you have linked. I don't know what the base directory for glfw is referring to. The downloaded project folder or the folder where libraries are installed in Linux?

Thanks

--- End quote ---

It is NOT referring to your files.
It is referring to the glfw include files and library files.

Tim S.

Blakeasd:
Hmm... So I put this in  /home/blake/glfw-2.7.8 [the folder downloaded from the website] and Code::Blocks doesn't recognize it. It says that it can't find the following glf library file:

glfw in it

I'm quite honestly not sure what I'm missing here.

Thanks for all of your help so far!

Navigation

[0] Message Index

[#] Next page

Go to full version