Hi there. I’ve been trying to set up OpenGL all afternoon and evening, and am getting rather stressed out with the lack of help I’ve received, so I thought I’d finally ask here.
I’m using Windows 7 and Visual Studio 2010, and Glut v3.6.
My include and Library Directories are as followed:
C:\Program Files %28x86%29\OpenGL SDK\glut-3.6\include;$(IncludePath)
C:\Program Files %28x86%29\OpenGL SDK\glut-3.6\lib;$(LibraryPath)
My Linker>Input>Additional Dependencies are as followed:
dxerr.lib;d3d11.lib;d3dx11.lib;d3dcompiler.lib;%(AdditionalDependencies)
When I launch my program it says dxerr.lib is missing which is strange because this program has nothing to do with Direct X.
The code I’m trying to run is as followed:
#include <stdlib.h>
#include <GL\glut.h>
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowPosition(100, 100);
glutInitWindowSize(720, 480);
glutCreateWindow("First OpenGL Project");
return 1;
}
Myself and friends believe I’m receiving this error because of the additional dependencies’ inherited values. These values don’t appear to be removable though so I’m in a real pickle. Any help would be extremely appreciated.