From: "mark" on 24 Oct 2006 22:44 Hi all, CVS version as of 5mins ago, building with VC8 using nmake, under WinXP SP2. cl /c /nologo /TP /Fovc_mswdll\advdll_collpaneg.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxmsw271_adv_vc_custom.pdb /O2 /D__WXMSW__ /I..\..\lib\vc_dll\msw /I..\..\include /W4 /I..\..\src\tiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL/DWXMAKINGDLL_ADV /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_advdll.pch" ..\..\src\generic\collpaneg.cpp collpaneg.cpp ...\..\src\generic\collpaneg.cpp(48) : warning C4273:'wxEVT_COMMAND_COLLPANE_CHANGED' : inconsistent dll linkage ..\..\include\wx/collpane.h(47) : see previous definition of 'wxEVT_COMMAND_COLLPANE_CHANGED' ...\..\src\generic\collpaneg.cpp(50) : warning C4273: 'ms_classInfo' : inconsistent dll linkage ...\..\include\wx/collpane.h(71) : see previous definition of 'public: static wxClassInfo wxCollapsiblePaneEvent::ms_classInfo' ...\..\src\generic\collpaneg.cpp(50) : error C2491: 'wxCollapsiblePaneEvent::ms_classInfo' : definition of dllimport static data member not allowed ...\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::GetClassInfo' : inconsistent dll linkage ..\..\include\wx/collpane.h(71) : see previous definition of 'GetClassInfo' ...\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::wxCreateObject' : inconsistent dll linkage ...\..\include\wx/collpane.h(71) : see previous definition of 'wxCreateObject' NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' Stop. Any ideas? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: Vadim Zeitlin on 24 Oct 2006 13:44 On Wed, 25 Oct 2006 12:14:36 +0930 mark <mark(a)overclockers.com.au> wrote: m> cl /c /nologo /TP /Fovc_mswdll\advdll_collpaneg.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxmsw271_adv_vc_custom.pdb /O2 /D__WXMSW__ /I..\..\lib\vc_dll\msw /I..\..\include /W4 /I..\..\src\tiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL/DWXMAKINGDLL_ADV /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_advdll.pch" ..\..\src\generic\collpaneg.cpp collpaneg.cpp m> ..\..\src\generic\collpaneg.cpp(48) : warning C4273:'wxEVT_COMMAND_COLLPANE_CHANGED' : inconsistent dll linkage m> ..\..\include\wx/collpane.h(47) : see previous definition of 'wxEVT_COMMAND_COLLPANE_CHANGED' m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'ms_classInfo' : inconsistent dll linkage m> ..\..\include\wx/collpane.h(71) : see previous definition of 'public: static wxClassInfo wxCollapsiblePaneEvent::ms_classInfo' m> ..\..\src\generic\collpaneg.cpp(50) : error C2491: 'wxCollapsiblePaneEvent::ms_classInfo' : definition of dllimport static data member not allowed m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::GetClassInfo' : inconsistent dll linkage ..\..\include\wx/collpane.h(71) : see previous definition of 'GetClassInfo' m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::wxCreateObject' : inconsistent dll linkage m> ..\..\include\wx/collpane.h(71) : see previous definition of 'wxCreateObject' m> NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' m> Stop. m> m> Any ideas? Yes, the wxCollapsiblePaneEvent was compiled in the wrong DLL (core instead of adv), thanks for reporting it. Should be fixed now. Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: "mark" on 24 Oct 2006 23:42 A quick follow up to this. If i run "nmake -fmakefile.vc", it complies fine. If i run "nmake -fmakefile.vc SHARED=1 BUILD=debug", it fails with the error below. By mark, on Wed, Oct 25, 2006 at 12:14:36PM +0930: > Hi all, > > CVS version as of 5mins ago, building with VC8 using nmake, under WinXP SP2. > > cl /c /nologo /TP /Fovc_mswdll\advdll_collpaneg.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxmsw271_adv_vc_custom.pdb /O2 /D__WXMSW__ /I..\..\lib\vc_dll\msw /I..\..\include /W4 /I..\..\src\tiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL/DWXMAKINGDLL_ADV /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_advdll.pch" ..\..\src\generic\collpaneg.cpp collpaneg.cpp > ..\..\src\generic\collpaneg.cpp(48) : warning C4273:'wxEVT_COMMAND_COLLPANE_CHANGED' : inconsistent dll linkage > ..\..\include\wx/collpane.h(47) : see previous definition of 'wxEVT_COMMAND_COLLPANE_CHANGED' > ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'ms_classInfo' : inconsistent dll linkage > ..\..\include\wx/collpane.h(71) : see previous definition of 'public: static wxClassInfo wxCollapsiblePaneEvent::ms_classInfo' > ..\..\src\generic\collpaneg.cpp(50) : error C2491: 'wxCollapsiblePaneEvent::ms_classInfo' : definition of dllimport static data member not allowed > ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::GetClassInfo' : inconsistent dll linkage ..\..\include\wx/collpane.h(71) : see previous definition of 'GetClassInfo' > ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::wxCreateObject' : inconsistent dll linkage > ..\..\include\wx/collpane.h(71) : see previous definition of 'wxCreateObject' > NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' > Stop. > > Any ideas? > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: "mark" on 25 Oct 2006 00:51 Ok, that solved one problem... now for the next: link /DLL /NOLOGO /OUT:..\..\lib\vc_dll\wxmsw271d_adv_vc_custom.dll /DEBUG /LIBPATH:..\..\lib\vc_dll @C:\WINDOWS\TEMP\nmA5.tmp Creating library ..\..\lib\vc_dll\wxmsw27d_adv.lib and object ...\..\lib\vc_dll\wxmsw27d_adv.exp advdll_aboutdlgg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxCol lapsiblePaneBase::~wxCollapsiblePaneBase(void)" (__imp_??1wxCollapsiblePaneBase@@UAE(a)XZ) referenced in function __unwind funclet$??0wxGenericCollapsiblePane@@QAE(a)XZ$0 advdll_collpaneg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxCol lapsiblePaneBase::~wxCollapsiblePaneBase(void)" (__imp_??1wxCollapsiblePaneBase@@UAE(a)XZ) advdll_aboutdlgg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxCollapsible PaneBase::wxCollapsiblePaneBase(void)" (__imp_??0wxCollapsiblePaneBase@@QAE(a)XZ) referenced in function "public: __thisca ll wxGenericCollapsiblePane::wxGenericCollapsiblePane(void)" (??0wxGenericCollapsiblePane@@QAE(a)XZ) advdll_collpaneg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxCollapsible PaneBase::wxCollapsiblePaneBase(void)" (__imp_??0wxCollapsiblePaneBase@@QAE(a)XZ) advdll_collpaneg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxCollap siblePaneBase::IsExpanded(void)const " (__imp_?IsExpanded(a)wxCollapsiblePaneBase@@QBE_NXZ) referenced in function "protec ted: virtual class wxSize __thiscall wxGenericCollapsiblePane::DoGetBestSize(void)const " (?DoGetBestSize(a)wxGenericColla psiblePane@@MBE?AVwxSize@@XZ) ...\..\lib\vc_dll\wxmsw271d_adv_vc_custom.dll : fatal error LNK1120: 3 unresolved externals NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x460' Stop. Built with: nmake -fmakefile.vc MONOLITHIC=0 SHARED=1 RUNTIME_LIBS=dynamic BUILD=debug Thanks. > On Wed, 25 Oct 2006 12:14:36 +0930 mark <mark(a)overclockers.com.au> wrote: > > m> cl /c /nologo /TP /Fovc_mswdll\advdll_collpaneg.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxmsw271_adv_vc_custom.pdb /O2 /D__WXMSW__ /I..\..\lib\vc_dll\msw /I..\..\include /W4 /I..\..\src\tiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL/DWXMAKINGDLL_ADV /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_advdll.pch" ..\..\src\generic\collpaneg.cpp collpaneg.cpp > m> ..\..\src\generic\collpaneg.cpp(48) : warning C4273:'wxEVT_COMMAND_COLLPANE_CHANGED' : inconsistent dll linkage > m> ..\..\include\wx/collpane.h(47) : see previous definition of 'wxEVT_COMMAND_COLLPANE_CHANGED' > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'ms_classInfo' : inconsistent dll linkage > m> ..\..\include\wx/collpane.h(71) : see previous definition of 'public: static wxClassInfo wxCollapsiblePaneEvent::ms_classInfo' > m> ..\..\src\generic\collpaneg.cpp(50) : error C2491: 'wxCollapsiblePaneEvent::ms_classInfo' : definition of dllimport static data member not allowed > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::GetClassInfo' : inconsistent dll linkage ..\..\include\wx/collpane.h(71) : see previous definition of 'GetClassInfo' > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::wxCreateObject' : inconsistent dll linkage > m> ..\..\include\wx/collpane.h(71) : see previous definition of 'wxCreateObject' > m> NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' > m> Stop. > m> > m> Any ideas? > > Yes, the wxCollapsiblePaneEvent was compiled in the wrong DLL (core > instead of adv), thanks for reporting it. Should be fixed now. > > Regards, > VZ > > -- > TT-Solutions: wxWidgets consultancy and technical support > http://www.tt-solutions.com/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: "mark" on 25 Oct 2006 11:23 Confirmed fixed as of a few hours ago. Thanks to whoever fixed this! > Ok, that solved one problem... now for the next: > > > link /DLL /NOLOGO /OUT:..\..\lib\vc_dll\wxmsw271d_adv_vc_custom.dll /DEBUG > /LIBPATH:..\..\lib\vc_dll @C:\WINDOWS\TEMP\nmA5.tmp > Creating library ..\..\lib\vc_dll\wxmsw27d_adv.lib and object > ..\..\lib\vc_dll\wxmsw27d_adv.exp > advdll_aboutdlgg.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: virtual __thiscall wxCol > lapsiblePaneBase::~wxCollapsiblePaneBase(void)" > (__imp_??1wxCollapsiblePaneBase@@UAE(a)XZ) referenced in function __unwind > funclet$??0wxGenericCollapsiblePane@@QAE(a)XZ$0 > advdll_collpaneg.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) public: virtual __thiscall wxCol > lapsiblePaneBase::~wxCollapsiblePaneBase(void)" > (__imp_??1wxCollapsiblePaneBase@@UAE(a)XZ) > advdll_aboutdlgg.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall wxCollapsible > PaneBase::wxCollapsiblePaneBase(void)" (__imp_??0wxCollapsiblePaneBase@@QAE(a)XZ) > referenced in function "public: __thisca > ll wxGenericCollapsiblePane::wxGenericCollapsiblePane(void)" > (??0wxGenericCollapsiblePane@@QAE(a)XZ) > advdll_collpaneg.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) public: __thiscall wxCollapsible > PaneBase::wxCollapsiblePaneBase(void)" (__imp_??0wxCollapsiblePaneBase@@QAE(a)XZ) > advdll_collpaneg.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: bool __thiscall wxCollap > siblePaneBase::IsExpanded(void)const " > (__imp_?IsExpanded(a)wxCollapsiblePaneBase@@QBE_NXZ) referenced in function > "protec > ted: virtual class wxSize __thiscall > wxGenericCollapsiblePane::DoGetBestSize(void)const " > (?DoGetBestSize(a)wxGenericColla > psiblePane@@MBE?AVwxSize@@XZ) > ..\..\lib\vc_dll\wxmsw271d_adv_vc_custom.dll : fatal error LNK1120: 3 unresolved > externals > NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio > 8\VC\BIN\link.EXE"' : return code '0x460' > Stop. > > Built with: > nmake -fmakefile.vc MONOLITHIC=0 SHARED=1 RUNTIME_LIBS=dynamic BUILD=debug > > Thanks. > > > On Wed, 25 Oct 2006 12:14:36 +0930 mark <mark(a)overclockers.com.au> wrote: > > > > m> cl /c /nologo /TP /Fovc_mswdll\advdll_collpaneg.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxmsw271_adv_vc_custom.pdb /O2 /D__WXMSW__ /I..\..\lib\vc_dll\msw /I..\..\include /W4 /I..\..\src\tiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DWXUSINGDLL/DWXMAKINGDLL_ADV /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswdll\wxprec_advdll.pch" ..\..\src\generic\collpaneg.cpp collpaneg.cpp > > m> ..\..\src\generic\collpaneg.cpp(48) : warning C4273:'wxEVT_COMMAND_COLLPANE_CHANGED' : inconsistent dll linkage > > m> ..\..\include\wx/collpane.h(47) : see previous definition of 'wxEVT_COMMAND_COLLPANE_CHANGED' > > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'ms_classInfo' : inconsistent dll linkage > > m> ..\..\include\wx/collpane.h(71) : see previous definition of 'public: static wxClassInfo wxCollapsiblePaneEvent::ms_classInfo' > > m> ..\..\src\generic\collpaneg.cpp(50) : error C2491: 'wxCollapsiblePaneEvent::ms_classInfo' : definition of dllimport static data member not allowed > > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::GetClassInfo' : inconsistent dll linkage ..\..\include\wx/collpane.h(71) : see previous definition of 'GetClassInfo' > > m> ..\..\src\generic\collpaneg.cpp(50) : warning C4273: 'wxCollapsiblePaneEvent::wxCreateObject' : inconsistent dll linkage > > m> ..\..\include\wx/collpane.h(71) : see previous definition of 'wxCreateObject' > > m> NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' > > m> Stop. > > m> > > m> Any ideas? > > > > Yes, the wxCollapsiblePaneEvent was compiled in the wrong DLL (core > > instead of adv), thanks for reporting it. Should be fixed now. > > > > Regards, > > VZ > > > > -- > > TT-Solutions: wxWidgets consultancy and technical support > > http://www.tt-solutions.com/ > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
|
Pages: 1 Prev: wxWidgets and event handling Next: wxNavigationKey + wxTextCtrl 2.7.1 |