View Full Version : help| stdafx.cpp

04-26-2014, 11:29 AM
hello, i started learning opengl with opengl superbible 6th and when i made my first opengl proggram its given me the error: c1xx : fatal error C1083: Cannot open source file: 'stdafx.cpp': No such file or directory. please someone can help me with it?

04-26-2014, 12:35 PM
Are you using Visual Studio? stdafx.cpp is used by Visual Studio for supporting precompiled headers. I believe it's normally generated automatically when creating a new project. If you don't want to use precompiled headers (and there's no good reason to use them for moderately sized projects), there should be an option in the build settings for disabling them.