Hi,

I tried to follow your steps on WindowsXP.
I'm now stuck at setting the WXCFG environment variable to be able to
compile wxcore. I can't find a build.cfg so I don't know what path I
should set.
Any ideas?

BTW: wx-config.exe is not included in the 2.8.10 install-version, nor in
the source package. You have to download it from
http://wxconfig.googlepages.com/

Eric Y. Kow wrote:
> Hi everybody,
>
> For those of you not following wxhaskell-devel: Brian Lewis has been
> doing which could make installing wxHaskell from source (and
> consequently install wxHaskell-based applications) a lot easier.
>
> He has cleaned up our build infrastructure, replacing our configure
> script, makefile and trivial Cabal wrapper with a 100% Cabal based
> solution.  This includes our wxc layer now specified through the
> 'c-sources' field in the cabal file.
>
> It seems to work for me and Brian.  Could somebody else try it out,
> maybe somebody on Windows?  Here's the procedure.
>
> 1. Install wxWidgets if you have not done so already.
>
>    I never managed to use wxHaskell with the wxWidgets that comes with
>    MacOS X Leopard.  On the other hand, building one for source works a
>    lot better.  (don't forget --enable-unicode).  I had a similar
>    experience with Ubuntu Linux too.
>
> 2. Update your PATH so that the wx-config from your wxWidgets is in it
>
> 3. Download Brian Lewis's work and install it
>
>    git clone git://github.com/bsl/wxdirect.git
>    git clone git://github.com/bsl/wxcore.git
>    darcs get http://code.haskell.org/wxhaskell
>    cd wxdirect; cabal install; cd ..
>    cd wxcore; cabal install; cd ..
>    cd wxhaskell/wx; cabal install
>
> 4. Now try building a sample application and test it.
>
> It would also be great if some wxHaskell developers could comment!  If
> this works out it means we get much easier wxHaskell installation. :-)
>
>   
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>   


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to