I am desperately trying to learn computer graphics.. But it's a bit difficult, seeing how I can't get OpenGL set up correctly >.<. I've followed a bunch of guides, none well written, and none that are suited for Visual Studio 2010.. I'd really appreciate it if anybody could either provide me with a link to a guide for setting up OpenGL and GLUT in Visual Studio 2010, or give me their own guide :o.. I respond best to step-by-step guides with images :p.
Yeah, I probably should have been more specific.. I'm kind of (very) inexperienced in linking external libraries, I downloaded GLUT, put it in the C:/ folder, put some .dlls in the C:/Windows/System32 folder, put some .libs and .hs in lib and include directories in the Visual Studio folders, then inside VS2010 I tried (Probably unsuccessfully) to link the libraries to the project.. Then I ran a basic program and the include files did not work. I really, really, fail at linking external libraries, I kind of get depressed whenever I'm reading some topic and I want to learn more about it and then I realize I need external libraries.. :(
So yeah, any advice would be great :o. Also please note that I need it for Visual Studio 2010, which, I'm told, has a different linking procedure than earlier version of Visual Studio.
First thing to do would be to place all the files in their correct directories.
glut.h: ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL\’
glut32.lib: ‘C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\’
glut32.dll: ‘C:\Windows\System32\’
Same pattern applies to freeglut files with the header files in the GL folder, lib in the lib folder, and dll in the System32 folder.
1. Under Visual C++, select Empty Project.
2. Go to Project -> Properties. Select Linker -> Input then add the following to the Additional Dependencies field: