Hi Andrew, Well I'm a bit further along, but not by much. It *builds* for me with a hand-installed wxWidgets 2.9.5 (in stow) and the current Git wxHaskell (2f065e53), but when I try to build a sample program, I get this linker error
ghc -package-db ../../.cabal-sandbox/x86_64-osx-ghc-7.6.3-packages.conf.d -package wx -o BouncingBalls BouncingBalls.hs Linking BouncingBalls ... Undefined symbols for architecture x86_64: "_CPSSignalAppReady", referenced from: _s7vsd_info in libHSwxcore-0.90.1.0.a(GHCiSupport.o) ld: symbol(s) not found for architecture x86_64 If I comment out the GHCiSupport code in wxcore, I can link, but running the program I get this: dyld: Symbol not found: __ZThn912_N12wxHtmlWindow13GetHTMLWindowEv Referenced from: /Users/kowey/ETC/haskell/wxHaskell/.cabal-sandbox/lib/x86_64-osx-ghc-7.6.3/wxc-0.90.1.0/libwxc.dylib Expected in: flat namespace in /Users/kowey/ETC/haskell/wxHaskell/.cabal-sandbox/lib/x86_64-osx-ghc-7.6.3/wxc-0.90.1.0/libwxc.dylib Trace/BPT trap: 5 On 18 December 2013 15:30, Andrew Butterfield <andrew.butterfi...@scss.tcd.ie> wrote: > Hi all, > first apologies - my last post here was to say I would try and build on > Windows 7 and give feedback to improve > the build instructions - that was over a year ago, and then I got hit by a > work tsunami… > > I’m back now, and with a Macbook Pro available as build experiment machine, > trying to see if I can install it here > It tried the approach on http://www.haskell.org/haskellwiki/WxHaskell/Mac > > It failed with > —————— > src/cpp/eljgrid.cpp:61:65: error: too few arguments to function call, > expected > 3, have 2 > self->PaintBackground(wxRect(x, y, w, h), (wxGridCellAttr*)attr); > ~~~~~~~~~~~~~~~~~~~~~ ^ > ——————— > Checking messages suggest I go to the github repo and use that, > so on to Attempt 2. > > Attempt 2 - > Mac OS X : 10.9.1 > GHC: 7.6.2 (Platform 2013.2.0.0) > Xcode 5.0.2 > :- which gcc > /usr/bin/gcc > :- which cpp > /usr/bin/cpp > :- which clang > /usr/bin/clang > > > Cloned from https://github.com/wxHaskell/wxHaskell > : > bin/mk-devel fails > I see from the log that both gcc and clang get used at different places in > the build. > Is this the clang issue that requires the workaround posted recently? > > Or is there something different going on ? > > Log file attached > > > Regards > > Andrew Butterfield > > > > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > -- Eric Kow <http://erickow.com> ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel