|
From: G.J. S. <gj...@gm...> - 2006-10-31 21:30:33
|
I am trying to build wxLua 2.6.0.3 (cvs checkout + build all modules +
shared) with Visual C++ 6.0 (service pack 4)
and wxMSW 2.7.1 (shared, multilib), on Windows XP Pro,
but when linking the wxlua_msw27_wxbind.dll I get an unresolved external
error.
(lua5.1.dll, wxlua_msw27_lua.dll and wxlua_msw27_wxlua.dll build ok)
Error description:
-------------------------------------------------------------------------------------------------
Creating library ..\..\..\lib\vc_dll\wxlua_msw27_wxbind.lib and object
..\..\
..\lib\vc_dll\wxlua_msw27_wxbind.exp
wxbind_dll_wxlua.obj : error LNK2001: unresolved external symbol
"__declspec(dll
import) public: virtual __thiscall
wxLuaTreeItemData::~wxLuaTreeItemData(void)"
(__imp_??1wxLuaTreeItemData@@UAE@XZ)
..\..\..\lib\vc_dll\wxlua_msw27_wxbind.dll : fatal error LNK1120: 1
unresolved e
xternals
NMAKE : fatal error U1077: 'link' : return code '0x460'
-------------------------------------------------------------------------------------------------
So I added a destructor in class wxLuaTreeItemData in file wxbind.h like so:
virtual ~wxLuaTreeItemData(void){};
This does not help. Does anyone know how to fix this? And would you be so
kind to share this info with me ?
|