Archived

This topic is now archived and is closed to further replies.

Moogle

Weird link error

Recommended Posts

Moogle    122
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

Share this post


Link to post
Share on other sites
PM    122
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

Share this post


Link to post
Share on other sites