Unresolved external symbols

Jul 14, 2012 at 7:28pm
Hello!
Does anynoe know what files i must incluade to fix these errors:
1>chatwindow.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDXUTDialog::AddControl(class CDXUTControl *)" (?AddControl@CDXUTDialog@@QAEJPAVCDXUTControl@@@Z)
1>chatwindow.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDXUTScrollBar::Cap(void)" (?Cap@CDXUTScrollBar@@IAEXXZ)
1>chatwindow.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDXUTScrollBar::UpdateThumbRect(void)" (?UpdateThumbRect@CDXUTScrollBar@@IAEXXZ)
1>chatwindow.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDXUTScrollBar::ShowItem(int)" (?ShowItem@CDXUTScrollBar@@QAEXH@Z)
1>chatwindow.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDXUTScrollBar::SetTrackRange(int,int)" (?SetTrackRange@CDXUTScrollBar@@QAEXHH@Z)
1>chatwindow.obj : error LNK2001: unresolved external symbol "public: __thiscall CDXUTScrollBar::CDXUTScrollBar(class CDXUTDialog *)" (??0CDXUTScrollBar@@QAE@PAVCDXUTDialog@@@Z)
1>cmdwindow.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDXUTEditBox::SetText(char const *,bool)" (?SetText@CDXUTEditBox@@QAEXPBD_N@Z)
1>cmdwindow.obj : error LNK2001: unresolved external symbol "public: void __thiscall DXUTBlendColor::Init(unsigned long,unsigned long,unsigned long)" (?Init@DXUTBlendColor@@QAEXKKK@Z)
1>cmdwindow.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDXUTDialog::AddEditBox(int,char const *,int,int,int,int,bool,class CDXUTEditBox * *)" (?AddEditBox@CDXUTDialog@@QAEJHPBDHHHH_NPAPAVCDXUTEditBox@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDXUTDialogResourceManager::OnDestroyDevice(void)" (?OnDestroyDevice@CDXUTDialogResourceManager@@QAEXXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: void __thiscall CDXUTDialogResourceManager::OnLostDevice(void)" (?OnLostDevice@CDXUTDialogResourceManager@@QAEXXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDXUTDialogResourceManager::OnResetDevice(void)" (?OnResetDevice@CDXUTDialogResourceManager@@QAEJXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: long __thiscall CDXUTDialogResourceManager::OnCreateDevice(struct IDirect3DDevice9 *)" (?OnCreateDevice@CDXUTDialogResourceManager@@QAEJPAUIDirect3DDevice9@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall CDXUTDialogResourceManager::CDXUTDialogResourceManager(void)" (??0CDXUTDialogResourceManager@@QAE@XZ)
Last edited on Jul 18, 2012 at 2:13pm
Jul 14, 2012 at 8:41pm
Looks like you are using an external library. You need to tell the linker where to find the LIB file for this library that you either downloaded already compiled or you compiled yourself.

If this is the compilation of the library itself, it would mean you are missing at least one CPP file with the definitions of all those member methods.
Jul 15, 2012 at 10:16am
I fixed the httpclient errors and the netstats and cheat.obj too. But now i need to know what library files i need fo those CDXUTDialog errors. I have included every possible d3d9 lib i found but still no luck. Do you have any advice for this?
Jul 15, 2012 at 3:01pm
Jul 15, 2012 at 3:05pm
Yes that must be it. How to download it?
Jul 15, 2012 at 3:11pm
Jul 15, 2012 at 3:25pm
Looks like the binaries from that site cant be downloaded anymore. I tried building it myself but almost all of the projects failed. Do you know any other place to download those binaries?
Last edited on Jul 15, 2012 at 4:36pm
Jul 16, 2012 at 1:31pm
I compiled the library for you in release mode, multi-threaded dll using VS 2010 SP1 compiler (X86):
http://wapftp.mobi/stuff/vislib_vs2010_release.rar

To compile yourself you need:
1. DirectX SDK
http://www.microsoft.com/en-us/download/details.aspx?id=6812

2. GLUT library (including instructions)
http://ins.nafsadh.com/2010/08/20/glut-in-ms-visual-studio-2010-msvs10/

3. ActivePerl
http://www.activestate.com/activeperl/downloads

You also need to setup manually DirectX include directories for few projects to compile/link successfully.
Last edited on Jul 16, 2012 at 1:37pm
Jul 16, 2012 at 2:39pm
Thanks man, but when i compile with those libraries i still get those missing external symbol errors about CDXUT dialog and others like that. :/
Jul 18, 2012 at 2:09pm
Anyone know how to help me?
Jul 18, 2012 at 3:19pm
If you post full project are you using in a zip or rar archive I could try to compile/link for you.
Jul 18, 2012 at 6:39pm
I do that. I send the link to you in PM ASAP.
Topic archived. No new replies allowed.