![]() ![]() Move the glut.h file from your desktop to the \CodeBlocks\MinGW\include\GL directory.Move the glut32.lib file from your desktop to the \CodeBlocks\MinGW\lib directory.Move the glut32.dll file from your desktop to your \windows\system directory.Install CodeBlocks, and unzip the GLUT zip file to somewhere easy like the desktop.Get the GLUT zip file, either from Nate Robins’ page or from.You want the file with “mingw” in the name, unless you plan on using your own compiler. Go to, click on Downloads, and follow the link for the binary version.Thus, I’ve made this post partly as a reminder to myself for any future times I do this, and partly to help anyone else out there who might run into the same problem. I end up unnecessarily wasting time searching Google to work through all the niggling problems that come from forgetting to set up the link libraries, or copy headers properly. Problem is, it’s usually been long enough that I forget all the details. To top it off, it’s cross-platform, which means that if you move to another operating system, you can still use the same exact IDE you’ve grown familiar with.ĭue to the amount of times I’ve changed or upgraded operating systems (currently Windows 7 Pro), I’ve had to set up CodeBlocks and GLUT a few times. It has a nice set of features, and is very extensible and configurable. My favorite C IDE is a free program called CodeBlocks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |