| re: Visual C++ 6 Compile Error
John Harrison wrote:
[color=blue]
> "Connell Gauld" <connell@freebreakfast.co.uk> wrote in message
> news:cdj9kb$pv5$1@news6.svr.pol.co.uk...
>[color=green]
>>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?
>>[/color]
>
>
> 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
>
>[/color]
Thanks, I'm sorry for the lack of code but I have been having similar
problems elsewhere and I was looking for a kinda generic answer, which I
got.
Thanks again,
Connell |