Hi Alex,
Sorry for the slow reply.
I don't have access to a Mac to look into the problem - but forwarding
to the wxHaskell users list, as someone will probably know the answer.
Best regards
jeremy
On Tue, 03 Mar 2009 14:08 +0100, "Alex Gerdes" <ale...@ou...>
wrote:
> Hello Jeremy,
>
> I am trying to get wxHaskell (version 0.11) installed on my computer
> (a MacBook with Leopard). Unfortunately the steps presented on the
> wxHaskell website don't work for me. Both wxWidgets (wxMac with
> unicode enabled), wxcore and wx compile and install correctly,
> however, when I try to build a program from the samples directory, e.g.:
>
> ghc --make -package wx -o bounce BouncingBalls.hs
>
> I get all kinds of link errors, to mention just a few:
>
> _sstu_info in libHSwx-0.11.1.0.a(Controls.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziControls_a12_srt in
> libHSwx-0.11.1.0.a(Controls.o)
>
> "_wxcorezm0zi11zi1zi0_GraphicsziUIziWXCoreziWxcClassesMZZ_windowGetRect_closure
> ", referenced from:
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziWindow_a54_info in
> libHSwx-0.11.1.0.a(Window.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziWindow_a54_srt in
> libHSwx-0.11.1.0.a(Window.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziWindow_area_closure in
> libHSwx-0.11.1.0.a(Window.o)
>
> "_wxcorezm0zi11zi1zi0_GraphicsziUIziWXCoreziTypes_colorSystem_closure
> ", referenced from:
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziFrame_a_info in
> libHSwx-0.11.1.0.a(Frame.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziFrame_a_srt in
> libHSwx-0.11.1.0.a(Frame.o)
>
> "_wxcorezm0zi11zi1zi0_GraphicsziUIziWXCoreziWxcClassesMZZ_menuItemSetCheckable_closure
> ", referenced from:
> _skBD_info in libHSwx-0.11.1.0.a(Menu.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziMenu_w3_info in
> libHSwx-0.11.1.0.a(Menu.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziMenu_a28_srt in
> libHSwx-0.11.1.0.a(Menu.o)
> _wxzm0zi11zi1zi0_GraphicsziUIziWXziMenu_w3_srt in
> libHSwx-0.11.1.0.a(Menu.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> I have tried several options (compiled wxWidgets with and without
> opengl and sdl, tried the latest version fo wxhaskell from the darcs
> repository) and googled for a solution, but I am stuck for now. Could
> you help me out? Or point me to the right spot to get help?
>
> Thanks in advance.
>
> Best regards,
>
> Alex Gerdes
>
>
>
>
> --
> PhD candidate - School of Computer Science - Open Universiteit
> Nederland
>
> Address: Valkenburgerweg 177, 6419 AT Heerlen
> Phone: +31 45 5762888 or +31 30 253 9207
> Private: +31 591 610421
> Mobile: +31 653250643
>
> E-mail: ale...@ou...
> Website: http://www.haksell.org or
> http://www.cs.uu.nl/staff/alex.html
>
>
>
>
>
>
>
>
>
>
--
Jeremy O'Donoghue
jer...@gm...
|