"Connell Gauld" <co*****@freebreakfast.co.uk> wrote in message
news:cd**********@news6.svr.pol.co.uk...
Hi,
I am quite new to C++ programming and I have been experimenting with
OpenGL and GLUT. When using one of the sample files for loading models,
on compilation I get the following error.
Example1.obj : error LNK2001: unresolved external symbol "void __cdecl
glmDelete(struct GLMmodel *)" (?glmDelete@@YAXPAUGLMmodel@@@Z)
Now, is this caused by an error in my code, or is it caused by an error
in the sample file I'm including?
Well gosh, in the COMPLETE ABSENCE of any posted code it is impossible to
tell.
What this error means is that somewhere in your code (or the sample code)
you are calling the function glmDelete, but nowhere in the your code (or the
sample code) is a definition for that function provided.
I would say that the most likely reason for that is that you are building
your program in the wrong way, perhaps you are not including some file in
your build that you should be. But that is a guess for what should be
obvious reasons.
john