Bugs item #3034399, was opened at 2010-07-25 19:59
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3034399&group_id=140042

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: wxlua_msw28d_wxbindadv.dll doesn't link with VS 2008

Initial Comment:
The following lines don't work for Debug DLL Multilib and Debug Multilib 
compiled with Visual Studio 2008:

------------------------------------
#define wxGridCellWorkerDummyFriend wxGridCellWorkerDummyFriend; \
    public: \
      size_t GetRef() const { return m_nRef; }

#define wxGridCellAttrDummyFriend wxGridCellAttrDummyFriend; \
    public: \
     size_t GetRef() const { return m_nRef; }

#include "wx/grid.h"
------------------------------------
The class wxGridCellWorked is used with the  __declspec(dllimport) modifier, so 
Visual will try to find it in the export table of the wx library, and since 
it's only added in the wxlua it won't be find.
It's a nice hack, it works in Release probably by luck. it doesn't work in 
release.

1>------ Build started: Project: mod_wxbindadv, Configuration: Debug DLL 
Multilib Win32 ------
1>Linking...
1>   Creating library ..\..\..\lib\vc_dll\wxlua_msw28d_wxbindadv.lib and object 
..\..\..\lib\vc_dll\wxlua_msw28d_wxbindadv.exp
1>wxadv_bind.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) public: unsigned int __thiscall 
wxGridCellWorker::GetRef(void)const " (__imp_?get...@wxgridcellworker@@QBEIXZ) 
referenced in function "int __cdecl wxLua_wxGridCellWorker_GetRef(struct 
lua_State *)" (?wxLua_wxGridCellWorker_GetRef@@YAHPAUlua_State@@@Z)
1>..\..\..\lib\vc_dll\wxlua_msw28d_wxbindadv.dll : fatal error LNK1120: 1 
unresolved externals

To get past the problem locally, I removed the wxLua_wxGridCellWorker_GetRef 
function.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3034399&group_id=140042

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to