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 |