I am trying to run the code in openGL in Visual Studio 2013 after installation. It shows error as "Cannot open source file <GL/glew.h> and <GL/glut.h> ". Also it shows "Identifier glutInit is undefined". Can you please resolve this issue ??

#include <GL/glew.h>
#include <GL/glut.h>
#pragma comment(lib, "glew32.lib")
int main(int argc, char* argv[])
{
    glutInit(&argc, argv);
    glutInitWindowSize(200, 200);
    glutCreateWindow("Hello");
    glutMainLoop();
    return 0;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.