|
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 ?
|
|
From: John L. <jla...@gm...> - 2006-10-31 21:46:12
|
On 10/31/06, G.J. Souverein <gj...@gm...> wrote:
> 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 ?
Please change this line in
wxLua/modules/wxbind/include/wxbind.h
class WXDLLIMPEXP_WXLUA wxLuaTreeItemData : public wxTreeItemData
to
class WXDLLIMPEXP_WXBIND wxLuaTreeItemData : public wxTreeItemData
and let me know if it works. I'm pretty sure that's the problem so
I've committed this change.
Regards,
John Labenski
|
|
From: G.J. S. <gj...@gm...> - 2006-10-31 22:34:41
|
2006/10/31, John Labenski <jla...@gm...>:
>
> On 10/31/06, G.J. Souverein <gj...@gm...> wrote:
> > 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 ?
>
> Please change this line in
> wxLua/modules/wxbind/include/wxbind.h
>
> class WXDLLIMPEXP_WXLUA wxLuaTreeItemData : public wxTreeItemData
> to
> class WXDLLIMPEXP_WXBIND wxLuaTreeItemData : public wxTreeItemData
>
> and let me know if it works. I'm pretty sure that's the problem so
> I've committed this change.
>
> Regards,
> John Labenski
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
This actually works. Entire build was finished 10 secs ago. Gonna test it
now. Thanks a
lot John !
Regards,
G.J.Souverein
|