• Advertisement

Archived

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

Weird link error

This topic is 5623 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement