GLFW help
hi all,
well as the title says I cant quite get glfw to work. I know that the files have to be linked but thats about as far as I can get. I've been programming for a while but this is the first time I've tried to link something. Any help or even a nudge in the right direction would be greatly appreciated.
i cant even get that far.
When i download glfw its comes in a bunch of source files and i was told that i needed to combine those into a single library. Well i have no idea how to do that. If it had been errors and code problems i would have posted it.
When i download glfw its comes in a bunch of source files and i was told that i needed to combine those into a single library. Well i have no idea how to do that. If it had been errors and code problems i would have posted it.
Not familiar with Code Blocks but am familiar with GLFW. A google search yields this
http://www.learncpp.com/cpp-tutorial/a3-using-libraries-with-codeblocks/
How you build GLFW depends on the OS. One of the GLFW tutorials is a good start.
http://glfw.sourceforge.net/tutorials/lesson00/lesson00.html
Other than that you could potentially include the source in your project, not the most elegant solution, and compile it with the rest of your files.
If you can be more specific on the platform you're running on it may be beneficial.
http://www.learncpp.com/cpp-tutorial/a3-using-libraries-with-codeblocks/
How you build GLFW depends on the OS. One of the GLFW tutorials is a good start.
http://glfw.sourceforge.net/tutorials/lesson00/lesson00.html
Other than that you could potentially include the source in your project, not the most elegant solution, and compile it with the rest of your files.
If you can be more specific on the platform you're running on it may be beneficial.
Ok im checking the links now. Thanks for the help.
I use windows xp. I tried the glfw tutorials and no matter what i try i cant get it to work like the tutorial says it should.
I use windows xp. I tried the glfw tutorials and no matter what i try i cant get it to work like the tutorial says it should.
Okay so I'm assuming you're doing Cygwin then?
If you read the documentation in the readme included with the source code you need to get into a cygwin shell, not a windows shell. Get to the directory where you unpacked the source and type the following
make cygwin-install
That should get everything going for you, and copy everything to the cygwin directory.
Honestly I'm not terribly familiar with using Cygwin as I'm more of a visual studio person, but that SHOULD work for you.
If you read the documentation in the readme included with the source code you need to get into a cygwin shell, not a windows shell. Get to the directory where you unpacked the source and type the following
make cygwin-install
That should get everything going for you, and copy everything to the cygwin directory.
Honestly I'm not terribly familiar with using Cygwin as I'm more of a visual studio person, but that SHOULD work for you.
Here is a very good link for you. Hope it helps.
http://wiki.codeblocks.org/index.php?title=Using_GLFW_with_Code::Blocks
http://wiki.codeblocks.org/index.php?title=Using_GLFW_with_Code::Blocks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement