From: tiennou <tie...@gm...> - 2007-10-12 11:19:51
|
Le 12 oct. 07 =C3=A0 13:00, Tito Dal Canton a =C3=A9crit : > On Fri, 2007-10-12 at 12:34 +0200, tiennou wrote: >> I've just commited a fix to the Xcode project so that it builds >> against standard wx static & dynamic libraries. > Nice. > >> For reference, you need to : >> - Build the wx library both in Debug & Release mode. >> - Set the WX_SRC_ROOT under Project settings to your local wx >> installation. >> - Manually edit the file pointed by libwx_mac.dylib to point to >> either the debug or release version of wx. (I know this is a pain, >> but this is mainly a quick workaround). > So did I to compile a few days ago. It was a pain, but I managed to =20= > get > a (somewhat crippled and messed) binary. > >> Hmm I can't get Release to work. Missing symbols everywhere ! And >> Debug fails to create its menu bar, so unusable on OSX right now... > Which symbols? I had the same problem, adding QuickTime/OpenGL/=20 > whatever > frameworks fixed the problem. All wx-related, like wxAppConsole & LOADS of others. Strangely it =20 happen only when I use Release (eg building SF Debug with wx Release =20 don't cause link error, so it's obviously a problem with the Xcode =20 project...). Hmm, I removed _WXDEBUG_ from release, and I have i386 building, but =20 no ppc... Got it better, I was building against wx debug, so the =20 third point above is bulls**t, you just need to tweal WX_SRC_ROOT, =20 and WX_LIB_ROOT will update accordingly (src/build/[Development|=20 Deployment], depending on target...). Still don't link in release though ;-), but now I only get missing =20 typeinfo stuff : typeinfo for wxApp typeinfo for wxThread typeinfo for wxDocParentFrame typeinfo for wxListBase typeinfo for wxDocument typeinfo for wxView typeinfo for wxControl typeinfo for wxScrolledWindow typeinfo for wxPanel Etienne Samson= |