Game Development Community

Linking Problem with GuiDirectoryFileList.obj

by Jason Barno · in General Discussion · 01/26/2007 (10:45 am) · 3 replies

When I try to compile, I've made a few engine mods but none to any directory controls, I get the following error:

guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall GuiListBoxCtrl::onWake(void)" (?onWake@GuiListBoxCtrl@@UAE_NXZ) referenced in function "public: virtual bool __thiscall GuiDirectoryFileListCtrl::onWake(void)" (?onWake@GuiDirectoryFileListCtrl@@UAE_NXZ)

and about 13 other errors like it.
And I can't get it to compile. I need this control to change textures, load or save gui and mission files, and would really appreciate any help. Thanks!

#1
01/26/2007 (10:46 am)
I am using VS2005 Express, and can compile fine if I remove this file from the project. And it "compiles" okay, it just can't link.
#2
01/27/2007 (1:06 pm)
And this is precisely why you should post in the correct forum section.

1. Source code is not allowed outside of the private sections, for obvious reasons. This makes it more difficult to help you.
2. It is not obvious what product you are talking about.

With that said, the same file compiles and links just fine over here, if you are talking about TGE - that is. You should rollback your changes and see if it helps.
#3
01/27/2007 (6:54 pm)
Jason,
Also, have you done a 'clean' before rebuilding. I seem to recall seeing this before but I can't remember what caused it.