On Wed, 18 Aug 2010 22:36:07 +0200, Jesse Hester <heste...@gmail.com>  
wrote:

> setup.exe: wx-config: does not exist.
>
> I was told to go to this page: http://sites.google.com/site/wxconfig/ and
> download wx-config. I did so, and added the folder that I saved it to to  
> my
> Path variable. I also created both user and system environment variables
> called WXWIN and set their value to the full path of wx-config (I tried  
> this
> with and without the .exe suffix).
>
> Still, cabal continues to claim that wx-config does not exist.
>

I have wx-config.exe in my search path and wx installs just fine. WXWIN  
should point to the directory where wxWidgets is installed; you should  
also define WXCFG to specify the configuration. These are the commands I  
use to install wxHaskell:

   cabal update

   set WXWIN=C:\Qwerty\usr\Henk-Jan\Haskell\wxWidgets-2.8.11
   set WXCFG=gcc_dll\mswu
   set  
CPLUS_INCLUDE_PATH=C:\Qwerty\MinGW\include\c++\3.4.5;C:\Qwerty\MinGW\include\c++\3.4.5\mingw32\

   cabal install wx --global

Environment variables that are always set in my computer:
   C_INCLUDE_PATH=C:\Qwerty\usr\local\include;C:\Qwerty\usr\local\include\SDL;
   
LIBRARY_PATH=C:\Qwerty\usr\local\lib;C:\Qwerty\MinGW\lib;C:\Qwerty\usr\local\lib\curl;
These are needed for C packages in general.

You can also find instructions at
   http://www.haskell.org/haskellwiki/WxHaskell/Building

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to