Sign in to follow this  
iXenocider

[Help] GLFW Setup Tutorial Needed

Recommended Posts

Over the past few days, I have been torturing myself, trying to figure out how to set up a basic GLFW project, I attempted in both Netbeans and in Code::Blocks. I also tried looking up a tutorial for setting up a project, and have yet to find one. I don't really mind which IDE the tutorial uses, I am open for change, I just need a tutorial on the basics of setting it up. Thank you, if you can help.

[b]tl;dr [/b]I need a tutorial on setting up a GLFW project, IDE does not matter.

Share this post


Link to post
Share on other sites
Have you tried the [url="http://www.glfw.org/documentation.html"]docs[/url]? What was the problem with your previous attempts? GLFW isn't a "tricky" library (there are some out there). As long as your includes are where they can be found and your library is where it can be found, it should be as straightforward as can be.

Share this post


Link to post
Share on other sites
[quote name='FLeBlanc' timestamp='1353361498' post='5002450']
Have you tried the [url="http://www.glfw.org/documentation.html"]docs[/url]? What was the problem with your previous attempts? GLFW isn't a "tricky" library (there are some out there). As long as your includes are where they can be found and your library is where it can be found, it should be as straightforward as can be.
[/quote]

The issue I am having is, it wont compile. but I really don't know what I am doing right/wrong. I need tutorial showing me everything I need to do to set it up correctly, so I can compile it and release it.

Share this post


Link to post
Share on other sites
Try checking the release notes for the current version: [url="http://www.glfw.org/release-2.7.7.html"]http://www.glfw.org/release-2.7.7.html[/url]

Edit: For reference, I just downloaded GLFW 2.7.7. Opened a command prompt, changed to the root directory of the source, and executed [b]mingw32-make.exe[/b] (Code::Blocks, gcc 4.7). It presented me with a list of targets; re-executed [b]mingw32-make.exe win32-mingw[/b] and it built flawlessly. So maybe instead of just asking for a tutorial on something that apparently isn't really difficult enough to require one, you could instead state the specifics of your problems and maybe we could help you out. Edited by FLeBlanc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this