On 26 July 2011 00:41, Dave Tapley <duked...@gmail.com> wrote:
> On 25 July 2011 15:49, Jeremy O'Donoghue <jeremy.odonog...@gmail.com>wrote:
>
>> Hi all,
>>
>> On 25 July 2011 07:45, Eric Y. Kow <eric....@gmail.com> wrote:
>>
>>> On Mon, Jul 25, 2011 at 01:10:15 +0100, Dave Tapley wrote:
>>> > A very good suggestion.
>>> > I cabal unpacked wxcore-0.12.1.7 and it appears to have a fix in it¹.
>>> >
>>> > Do we know why this fix is in the release, but not in darcs?
>>>
>>> I suspect the answer lies somewhere in here:
>>>
>>> darcs changes --repo http://code.haskell.org/wxhaskell --from-tag .
>>> --match 'hunk 45999'
>>>
>>
>> The answer is that it comes from my clean-up for wxWidgets 2.9, and is
>> probably a case of being over-zealous. The problem wasn't caught because
>> (most likely) no-one built tip for Gtk. It's not an environment I have
>> readily available to me.
>>
>> I'm not sure that there is a straightforward way to get similar behaviour
>> on Gtk, so I think the only clean solution is to revert the old 'NULL'
>> implementation. What do you think?
>>
>> EWXWEXPORT(wxCursor*,Cursor_CreateLoad)(wxString* name,long type,int
>> width,int height)
>> {
>> #if (wxVERSION_NUMBER >= 2900)
>> wxBitmapType bm_type = (wxBitmapType) type;
>> #else
>> long bm_type = type;
>> #endif
>>
>> #ifdef __WXGTK__
>> // See http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/45999
>> return NULL;
>> #else
>> return new wxCursor(*name, bm_type, width, height);
>> #endif
>> }
>>
>> Regards
>> Jeremy
>>
>
> Having made these modifications I now get passed that error, but stumble on
> this: http://hpaste.org/49525
> Does anyone have any intuition why these files could be missing?
>
Hmm, I've switched to the 2.9.2 dev release of wxWidgets and I'm getting a
similar failures with:
Both with the latest wxHaskell in hackage: http://hpaste.org/49563
And with the latest from darcs: http://hpaste.org/49564
Does anyone have any suggestions as to a fix, or a more reliable build set
up?
Thanks,
Dave
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel