From: Tito D. C. <ti...@da...> - 2007-10-15 23:51:40
|
On Mon, 2007-10-15 at 15:39 +0200, tiennou wrote: > Le 15 oct. 07 à 13:53, Tito Dal Canton a écrit : > > > Tiennou, I installed wx 2.8.6 on OS X and tried the latest xcode > > project. Much easied with WX_SRC_ROOT, well done, I think we can go > > like > > this and just tell people to set WX_SRC_ROOT consistently with their > > setup. > > > > However, I still have to manually add > > -liconv -lz > > to the additional link flags, otherwise I get undefined symbols > > related > > to libiconv and libz. Also, the project frameworks must be added to > > the > > "Link with libraries" phase of the target, otherwise I get lots of > > undefined symbols again (carbon-related stuff). Finally, I have to add > > the QuickTime framework. The latter is probably due to different wx > > build options than yours (I downloaded wx and built straight from the > > xcode project). I didn't managed to build due to lack of time, but > > those > > operations certainly brought me closer to a successful build. Can you > > look at them, or should I update the svn project myself? > > OK, I got it by linking against static wx lib (I guess the dynamic > target is a little out-of-date)... Why didn't I try googling for this problem before? I immediately found this very interesting page: http://www.wxwidgets.org/wiki/index.php/Mac_OS_X_And_Xcode_For_Beginners I tried to follow directions in section "Dynamic Library Install Directory", and it seems to work! That solution is nice because you don't link statically (therefore, the executable is just some hundreds kb) and the wx dynamic lib is hidden inside the application package (ShapeFusion.app/Contents/Frameworks). It changes a little from the downloader point of view, but it's a _nice_ solution IMO (and it's easy to compile for anyone, if we set up the project correctly---one just needs to compile wx and then change WX_SRC_PATH in our project). > Debug target are unusable : Menubar don't work, I get asserts at > startup and thus an almost-empty menubar (no new, no open,...). This > is not really an issue, because SF in debug weighs in at around > 120Mb, and I don't even think about distributing these builds... Ouch. > Release target : > - No major issue on sound editing. The gui works, update, I can save > a file and load it without getting errors... I can confirm this. > - Hmm, the Shapes editor looks pretty bad ! There is a major issue > with sizer in there. The main list view works (albeit it has a > strange jumpy behavior), but the left part is all cornered top-right, > in a 10*10cm square... I'll take a look at why it does that, but I'm > not sure I'll have a fix quickly... I can confirm this too, but just since I upgraded to 2.8.6. Before all was nice and on linux with 2.8.1 it's nice too. I'll also take a look at it, I suspect some major change in wx sizers... Damn... Tito -- Physics is reverse engineering |