|
From: shelarcy <she...@gm...> - 2008-11-07 02:23:37
|
Hi,
I made patch for this problem. Attached is a patch for that.
Please test.
Best Regards,
On Mon, 03 Nov 2008 23:46:25 +0900, shelarcy <she...@gm...> wrote:
>> While wxHaskell compiles and installs, I get the following error when
>> trying to compile one of the example programs:
>>
>>> make all
>> ghc -package wx -o BouncingBalls BouncingBalls.hs
>> /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info':
>> ghc31980_0.hc:(.text+0x12d84d): undefined reference to `wxXmlResource_GetStyledTextCtrl'
>> collect2: ld returned 1 exit status
>> make: *** [BouncingBalls] Error 1
>
> (snip)
>
> So, we can fix this problem by following change.
>
> #ifdef wxUSE_STC
> BUILD_XRCGETCTRL_FN(StyledTextCtrl)
> #else
> EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id)
> {
> return NULL;
> }
> #endif
>
> http://www.mail-archive.com/wxh...@li.../msg00273.html
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/ |