Skip to main content
gamedev.net
🔒 Locked

Linker error...

Started by _Rambo_ 0 replies 150+ views
Original Post
_Rambo_
_Rambo_
Hi, i''m having 2 errors and i can''t fix them, so...i need your help. error LNK2001: unresolved external symbol "public: static bool __cdecl COGLWindow::ReSize(int const &,int const &)" (?ReSize@COGLWindow@@SA_NABH0@Z) error LNK2001: unresolved external symbol "public: static long __stdcall COGLWindow::WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@COGLWindow@@SGJPAUHWND__@@IIJ@Z) Well... my class COGLWindow has 2 static members, WndProc() and ReSize(), ReSize() is static too because is accessed through WndProc(). Anyone knows what are thoose erros ? Thanks a lot. Bye
Sandman
Sandman
This means that you have declared the functions, and used the functions, but haven''t actually defined them anywhere - or at least if you have, the linker doesn''t know where the definitions are, probably because they are in a different library or your makefile is set up wrong.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.