The condition on 2.9.5 was added as I wanted to leave the code compatible with 
2.9.4 when modifying wxHaskell against the then newest wx source codebase, 
which turned out to compile ok on my machine but in the end does not work as 
wxdirect does not take the condition into account. The consequence is that the 
wxHaskell code base can be used only against one specific wxwidgets version. In 
other words, choose your version and pick the right line of code until the 
condition has been removed.

Cheers,

--
Atze Dijkstra

On 9 jun. 2013, at 17:34, Blair Archibald <mrblairarchib...@gmail.com> wrote:

> I used this repo: https://github.com/atzedijkstra/wxHaskell 
> 
> Using wxWidgets 2.9.4, and GHC 7.6.3 the only change needed is in 
> wxc/src/cpp/eljdc.cpp line 214 (the #if wxCHECK_VERSION(2,9,5) should be 
> commented out - or at least had to be on my setup.
> 
> Then a simple: cabal install ./wxdirect ./wxc ./wxcore ./wx 
> 
> Should hopefully get you up and running, let me know how it goes.
> 
> Many thanks,
> Blair
> 
> 
> On 9 June 2013 11:17, harry <volderm...@hotmail.com> wrote:
>> Charles the Hawk <charlesthehawk@...> writes:
>> 
>> > Hi, all!  I'm new to Haskell and guessing a bit here.  I'm using Arch
>> > Linux and ghc 7.6.3.
>> >
>> > The maintenance repo package compiles and installs
>> 
>> You're doing better than me if you could install on ghc 7.6.3. Which repo
>> did you get the code from, and did you do anything to make it complile?
>> 
>> 
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. A cloud service to automate IT design, transition and operations
>> 2. Dashboards that offer high-level views of enterprise services
>> 3. A single system of record for all IT processes
>> http://p.sf.net/sfu/servicenow-d2d-j
>> _______________________________________________
>> wxhaskell-devel mailing list
>> wxhaskell-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> wxhaskell-devel mailing list
> wxhaskell-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to