Weird link error
I had to reformat my new harddrive so I am writing new OGL basecode. not being a total n00b I have added OpenGL32.lib GLu32.lib GLaux.lib to my link settings. Now I get a strange and cryptical error that I have never run into before:
--------------------Configuration: OpenGL - Win32 Debug--------------------
Compiling...
main.cpp
Linking...
main.obj : error LNK2001: unresolved external symbol "long __stdcall WndProc(struct HWND__ *,unsigned int,long,unsigned int)" (?WndProc@@YGJPAUHWND__@@IJI@Z)
Debug/OpenGL.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
OpenGL.exe - 2 error(s), 0 warning(s)
Please help oh great OpenGL masters
-=Moogle=-
That is NO OpenGL problem - WndProc...
Have you declared the WndProc procedure?
When nothing helps, create a new project and try it once more...
PM
Have you declared the WndProc procedure?
When nothing helps, create a new project and try it once more...
PM
PM Times change...
Excuse my poor english!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement