wxhaskell compile issue for HelloWorld demo

Hi My first bite at installing wxhaskell on Mac OS Mavericks and I am almost there after jumping thru a few hoops. I am on wxhaskell 3.0 and installed the haskell platform using homebrew. I had to edit the Setup.hs to indicate I was on 3.0 not 2.9 as one of the hurdles to getting it even install. So this is what I get try to run HelloWorld.hs: make HelloWorld ghc -package wx -o HelloWorld HelloWorld.hs Linking HelloWorld ... ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /System/Library/Frameworks//QuickTime.framework/QuickTime Undefined symbols for architecture x86_64: "_CPSSignalAppReady", referenced from: _s7vsd_info in libHSwxcore-0.90.1.1.a(GHCiSupport.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *** [HelloWorld] Error 1 I did a search under /usr/local/Cellar for the QuickTime and found it in ./wxmac/3.0.0/lib/wx/config/osx_cocoa-unicode-3.0 and I removed the inclusion of QuickTime Framework, but it made no difference. Any help appreciated at this stage as I am feel I am so close to getting this to work. Paraic

On Fri, 01 Aug 2014 04:40:50 +0200, Paraic OCeallaigh
Hi My first bite at installing wxhaskell on Mac OS Mavericks and I am almost there after jumping thru a few hoops. I am on wxhaskell 3.0 and installed the haskell platform using homebrew. I had to edit the Setup.hs to indicate I was on 3.0 not 2.9 as one of the hurdles to getting it even install. : Linking HelloWorld ...
ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /System/Library/Frameworks//QuickTime.framework/QuickTime :
Hello Paraic, There will soon be a new release of wxHaskell, that accepts both wxWidgets 2.9 and 3.0 (though it is strongly advised to use wxWidgets 3.0.1 or newer). I know very little about Mac OS, the only thing I can see here is a bitness mismatch. Try the Haskell Cafe, there are more people there who might know the answer. Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --

Thanks Henk-Jan, I will have a look over there.
I have since gotten it to work on Fedora 20 in VBox so I have some progress.
Paraic
On Sat, Aug 2, 2014 at 5:20 AM, Henk-Jan van Tuyl
On Fri, 01 Aug 2014 04:40:50 +0200, Paraic OCeallaigh < paraic.iam@gmail.com> wrote:
Hi
My first bite at installing wxhaskell on Mac OS Mavericks and I am almost there after jumping thru a few hoops. I am on wxhaskell 3.0 and installed the haskell platform using homebrew. I had to edit the Setup.hs to indicate I was on 3.0 not 2.9 as one of the hurdles to getting it even install.
:
Linking HelloWorld ...
ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /System/Library/Frameworks//QuickTime.framework/QuickTime
:
Hello Paraic,
There will soon be a new release of wxHaskell, that accepts both wxWidgets 2.9 and 3.0 (though it is strongly advised to use wxWidgets 3.0.1 or newer). I know very little about Mac OS, the only thing I can see here is a bitness mismatch. Try the Haskell Cafe, there are more people there who might know the answer.
Regards, Henk-Jan van Tuyl
-- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/
http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --
participants (2)
-
Henk-Jan van Tuyl
-
Paraic OCeallaigh