PDA

View Full Version : huge problem with opengl error!



sumguy
08-22-2010, 08:51 AM
I began learning c++ code a couple days ago with hopes of learning opengl and game programming.
application code that did not require the opengl library worked well and compiled without a problem.

However when i linked the opengl library and tried compiling a simple opengl program, with code from this site ( http://www.mrmoen.com/2008/03/30/opengl-with-visual-c-express-edition/ ) i got this error


1>------ Build started: Project: Opengl, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'Debug\Opengl.obj'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i have updated my graphics driver (nvidia), searched numerous times on the internet for help and kept coming up with the same error. The libraries that i linked where opengl32.lib, glu32.lib and user32.lib (which was supposed to prevent the error but didnt)

i am running windows vista home premium 32-bit, service pack 2 with opengl 2.1

Any help would be appreciated!

ZbuffeR
08-23-2010, 02:35 PM
this 'Opengl.obj' error does not sound like a GL-related problem, but more like you messed up someting with your vc++ project config. Paths or project type maybe ?