From: James L. <ja...@mi...> - 2001-11-05 14:03:59
|
Dear Mattia, Thanks for the information - it all makes sense. =20 However, I tried downloading the latest snapshot from http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I get the same "'SetString' : is not a member of 'wxRadioBox'" error. Am I getting the correct snapshot? Wx.pm in the snapshot has a version of 0.08. Thanks, James |
From: Mattia B. <mb...@ds...> - 2001-11-05 22:18:30
|
> Dear Mattia, > Thanks for the information - it all makes sense. > > However, I tried downloading the latest snapshot from > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I get the same > "'SetString' : is not a member of 'wxRadioBox'" error. Am I getting the > correct snapshot? Wx.pm in the snapshot has a version of 0.08. My fault ( you'll notice I keep saying this quite often... ) There were other changes I forgot to check. The current CVS/snapshot should compile OOTB ( BTW, don't forget to cd $WXWIN\contrib\src\xrc nmake -f makefile.vc before building wxPerl, to build xrc ) Hope this helps Mattia |
From: James L. <ja...@mi...> - 2001-11-06 10:47:00
|
Dear Mattia, Thanks for the info - I'm getting further! I've built xrc using: nmake -f makefile.vx FINAL=3D1 to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. However, when I try building wxPerl, using: nmake=20 perl Makefile.PL nmake=20 I get the following errors (I've snipped sections out to give the gist, as it goes on quite a bit): link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86 XRC.obj ..\..\blib\arch\auto\Wx\Wx.lib C:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE\perl56.lib c:\wx2.3.1\lib\wx23_1.lib c:\wx2.3.1\lib\zlib.lib C:\wx2.3.1\lib\wxxrc.lib "C:\Program Files\Microsoft Visual Studio\VC98\lib\oldnames.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\kernel32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\user32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\gdi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\winspool.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\comdlg32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\advapi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\shell32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\ole32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\oleaut32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\netapi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\uuid.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\wsock32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\mpr.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\winmm.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\version.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\odbc32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\odbccp32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\msvcrt.lib" wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::GetVisible(void)" (?GetVisible@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual void __thiscall wxGDIObject::SetVisible(bool)" (?SetVisible@wxGDIObject@@UAEX_N@Z) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::RealizeResource(void)" (?RealizeResource@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::IsFree(void)const " (?IsFree@wxGDIObject@@UBE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "protected: virtual class wxGDIImageRefData * __thiscall wxBitmap::CreateData(void)const " (?CreateData@wxBitmap@@MBEPAVwxGDIImageRefData@@XZ) already defined in wx23_1.lib(wx23_1.dll) . . . wxxrc.lib(xmlres.obj) : warning LNK4006: "public: __thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in wx23_1.lib(wx23_1.dll); second definition ignored wxxrc.lib(xmlres.obj) : warning LNK4006: "public: virtual bool __thiscall wxGDIObject::GetVisible(void)" (?GetVisible@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll); second definition ignored wxxrc.lib(xmlres.obj) : warning LNK4006: "public: virtual void __thiscall wxGDIObject::SetVisible(bool)" (?SetVisible@wxGDIObject@@UAEX_N@Z) already defined in wx23_1.lib(wx23_1.dll); second definition ignored . . . Creating library ..\..\blib\arch\auto\Wx\XRC\XRC.lib and object ..\..\blib\arch\auto\Wx\XRC\XRC.exp wxxrc.lib(xmlbin.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xmlwrite.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xmlexpat.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xh_panel.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xh_dlg.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) . . . wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol "public: static class wxClassInfo wxWindowBase::sm_classwxWindowBase" (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) . . . ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49 unresolved externals Have I missed something in my build of wx2.3.1...? Sorry to take up your time, but I really want to be able to use resource files, so that I can design screens graphically! Thanks, James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 05 November 2001 22:19 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the information - it all makes sense. =20 > >=20 > > However, I tried downloading the latest snapshot from > > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I=20 > get the same > > "'SetString' : is not a member of 'wxRadioBox'" error. Am=20 > I getting=20 > the > > correct snapshot? Wx.pm in the snapshot has a version of 0.08. > My fault ( you'll notice I keep saying this quite often... ) > There were other changes I forgot to check. > The current CVS/snapshot should compile OOTB >=20 > ( BTW, don't forget to >=20 > cd $WXWIN\contrib\src\xrc > nmake -f makefile.vc >=20 > before building wxPerl, to build xrc ) >=20 > Hope this helps > Mattia >=20 >=20 |
From: James L. <ja...@mi...> - 2001-11-06 10:51:07
|
Dear Mattia, Forgot to say that I did a=20 nmake realclean before the=20 perl makefile.pl nmake in order to clean things up from the 2.2.7 build. James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 05 November 2001 22:19 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the information - it all makes sense. =20 > >=20 > > However, I tried downloading the latest snapshot from > > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I=20 > get the same > > "'SetString' : is not a member of 'wxRadioBox'" error. Am=20 > I getting=20 > the > > correct snapshot? Wx.pm in the snapshot has a version of 0.08. > My fault ( you'll notice I keep saying this quite often... ) > There were other changes I forgot to check. > The current CVS/snapshot should compile OOTB >=20 > ( BTW, don't forget to >=20 > cd $WXWIN\contrib\src\xrc > nmake -f makefile.vc >=20 > before building wxPerl, to build xrc ) >=20 > Hope this helps > Mattia >=20 >=20 |
From: Mattia B. <mb...@ds...> - 2001-11-06 15:33:29
|
> Dear Mattia, > Thanks for the info - I'm getting further! > > I've built xrc using: > nmake -f makefile.vx FINAL=1 nmake -f makefile.vc FINAL=1 WXUSINGDLL=1 ( will I ever learn how to give instructions correctly... ) > to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. > > However, when I try building wxPerl, using: > nmake > perl Makefile.PL > nmake > > I get the following errors (I've snipped sections out to give the gist, > as it goes on quite a bit): > > link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo > -nodefaultlib -release > -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" - machine:x86 <snip> > wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall > wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in > wx23_1.lib(wx23_1.dll) <snip> All these are due to the fact that wx is compiled as a DLL, but wxXRC is compiled as if wxWindows were compiled as a static lib > . > . > wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol > "public: static class wxClassInfo wxWindowBase::sm_classwxWindowBase" > (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) > . > . > . > ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49 unresolved > externals > > Have I missed something in my build of wx2.3.1...? > > Sorry to take up your time, but I really want to be able to use resource Sorry *again* for *your* time... ( but this should really be the _last_ time... ) > files, so that I can design screens graphically! Regards Mattia |
From: James L. <ja...@mi...> - 2001-11-06 16:11:34
|
Dear Mattia, Excellent! I've got things built, now I just have to get to grips with resources... Thanks a lot, James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 06 November 2001 15:34 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the info - I'm getting further! > >=20 > > I've built xrc using: > > nmake -f makefile.vx FINAL=3D1 > nmake -f makefile.vc FINAL=3D1 WXUSINGDLL=3D1 >=20 > ( will I ever learn how to give instructions correctly... ) >=20 > > to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. > >=20 > > However, when I try building wxPerl, using: > > nmake=20 > > perl Makefile.PL > > nmake=20 > >=20 > > I get the following errors (I've snipped sections out to give the=20 > gist, > > as it goes on quite a bit): > >=20 > > link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo > > -nodefaultlib -release > > -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" - > machine:x86 >=20 > <snip> >=20 > > wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall > > wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in > > wx23_1.lib(wx23_1.dll) >=20 > <snip> >=20 > All these are due to the fact that wx is compiled as a DLL, but > wxXRC is compiled as if wxWindows were compiled as a static lib >=20 > > . > > . > > wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol > > "public: static class wxClassInfo =20 > wxWindowBase::sm_classwxWindowBase" > > (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) > > . > > . > > . > > ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49=20 > unresolved > > externals > >=20 > > Have I missed something in my build of wx2.3.1...? > >=20 > > Sorry to take up your time, but I really want to be able to use=20 > resource > Sorry *again* for *your* time... ( but this should really be the > _last_ time... ) >=20 > > files, so that I can design screens graphically! >=20 > Regards > Mattia >=20 >=20 |