|
From: John L. <jla...@gm...> - 2008-01-15 14:24:07
|
On Jan 15, 2008 6:37 AM, Leslie Newell <les...@fm...> wrote:
> Hi,
>
> I am trying to build the CVS head using makefile.vc and VS 2005.
> BUILD = debug
> UNICODE = 1
> SHARED = 1
> WX_SHARED = 1
> WX_MONOLITHIC = 1
>
> The build fails as below:
>
> cl /c /nologo /TP
> /Fovcmswud_dll\wxbindcore_dll_wxcore_wxlcore.obj /MDd /DWIN32
> /I..\..\..\modules\wxbind\setup /DWXUSINGDLL /D_UNICODE /D__WXDEBUG__
> /D__WXMSW__ /Ic:\wxWidgets-2.8.6\lib\vc_dll\mswud
> /Ic:\wxWidgets-2.8.6\include /Od /Zi /D_DEBUG
> /Fd..\..\..\lib\vc_dll\wxlua_msw28ud_wxbindcore.pdb /I..\..\..\modules
> /I.\..\..\.. /I..\..\..\modules\lua\include
> /Ic:\wxWidgets-2.8.6\contrib\include /DWXMAKINGDLL_WXBINDCORE /GR /EHsc
> /Yu"wx/wxprec.h" /Fp"vcmswud_dll\wxprec_wxbindcore_dll.pch"
> ..\..\wxbind\src\wxcore_wxl core.cpp wxcore_wxlcore.cpp
> C:\wxLua\modules\wxbind/include/wxcore_bind.h(754) : error C2370:
> 'g_wxluatype_wxLuaPrintout' : redefinition; different storage class
>
>
> Does anyone know what is going wrong?
Change the top of modules/wxbind/wxcore_wxlcore.cpp to
// This lua tag is defined in bindings
extern WXDLLIMPEXP_DATA_BINDWXCORE(int) g_wxluatype_wxLuaPrintout;
Committed to CVS.
Regards,
John
|