RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and usingXML resources #4

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:mbarbon@dsi.unive.it]
> Sent: 06 November 2001 15:34
> To: James Lavery
> Cc: wxperl-users@lists.sourceforge.net
> 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

0
james (30)
1/23/2014 1:01:01 AM
perl.wxperl.users 3070 articles. 0 followers. Follow

0 Replies
381 Views

Similar Articles

[PageSpeed] 26

Reply: