🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

More link errors...

Started by
1 comment, last by Kaezin 22 years, 7 months ago
Keep...getting...stupid...errors... Compiling resources... Compiling... class_func.cpp functions.cpp game.cpp player.cpp graphics.cpp Linking... graphics.obj : error LNK2001: unresolved external symbol "public: __thiscall CDisplay::~CDisplay(void)" (??1CDisplay@@QAE@XZ) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CSurface::SetColorKey(unsigned long)" (?SetColorKey@CSurface@@QAEJK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::CreateSurfaceFromText(class CSurface * *,struct HFONT__ *,char *,unsigned long,unsigned long)" (?CreateSurfaceFromText@CDisplay@@QAEJPAPAVCSurface@@PAUHFONT_ _@@PADKK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::CreateSurfaceFromBitmap(class CSurface * *,char *,unsigned long,unsigned long)" (?CreateSurfaceFromBitmap@CDisplay@@QAEJPAPAVCSurface@@PADKK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::SetPalette(struct IDirectDrawPalette *)" (?SetPalette@CDisplay@@QAEJPAUIDirectDrawPalette@@@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::CreatePaletteFromBitmap(struct IDirectDrawPalette * *,char const *)" (?CreatePaletteFromBitmap@CDisplay@@QAEJPAPAUIDirectDrawPalette@@PBD@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::CreateFullScreenDisplay(struct HWND__ *,unsigned long,unsigned long,unsigned long)" (?CreateFullScreenDisplay@CDisplay@@QAEJPAUHWND__@@KKK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: __thiscall CDisplay::CDisplay(void)" (??0CDisplay@@QAE@XZ) graphics.obj : error LNK2001: unresolved external symbol "public: __thiscall CSurface::~CSurface(void)" (??1CSurface@@QAE@XZ) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::UpdateBounds(void)" (?UpdateBounds@CDisplay@@QAEJXZ) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay:resent(void)" (?Present@CDisplay@@QAEJXZ) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::Blt(unsigned long,unsigned long,class CSurface *,struct tagRECT *)" (?Blt@CDisplay@@QAEJKKPAVCSurface@@PAUtagRECT@@@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDisplay::Clear(unsigned long)" (?Clear@CDisplay@@QAEJK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CSurface::DrawBitmap(char *,unsigned long,unsigned long)" (?DrawBitmap@CSurface@@QAEJPADKK@Z) graphics.obj : error LNK2001: unresolved external symbol "public: long __thiscall CSurface::DrawTextA(struct HFONT__ *,char *,unsigned long,unsigned long,unsigned long,unsigned long)" (?DrawTextA@CSurface@@QAEJPAUHFONT__@@PADKKKK@Z) Arcantia___Win32_Debug/Arcantia.exe : fatal error LNK1120: 15 unresolved externals Error executing link.exe. 16 error(s), 0 warning(s) I know I included everything right, I have all the directories in my project settings, but this keeps popping up! Btw my lib directory is "C:\dx8\lib"... why?!? **Sobs**
Half the people you know are below average.Trogdor the Burninator
Advertisement
Nm I fixed it... not sure how, just made a new project and it worked.
Half the people you know are below average.Trogdor the Burninator
hey we have the same problem, you''re trying to include the libs in the i think tools-options-directories tab yeah you should do that but you should also include the libs in this:

projects-settings and under the link tab put the appropriate libs like d3d8.lib etc., coz the problem you''re having is not in compiling but in the linking phase hope this thing helped you out
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

This topic is closed to new replies.

Advertisement