problems setting up opengl using visual studio
Iam using visual studio for my work in opengl but Iam having some problems setting it up.Iam getting linking errors during run time.The code is compiling but on running it gives linking errors.I have inserted opengl32.lib glu32.lib glut32.lib and the corresponding dlls but iam still getting errors.
these are the lind of errors I am getting...
Linking...
as.obj : error LNK2001: unresolved external symbol _glFlush
as.obj : error LNK2001: unresolved external symbol _glEnd
Have you included the OpenGL header files?
#include <GL/gl.h>
#include <GL/glu.h>
EDIT: Of course you have. This is a linking error. Doublecheck that you've added the libs properly. Check the help docs for whatever IDE you're using.
#include <GL/gl.h>
#include <GL/glu.h>
EDIT: Of course you have. This is a linking error. Doublecheck that you've added the libs properly. Check the help docs for whatever IDE you're using.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement