##### Views

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

#### 2 Assumptions (a.k.a. what I have tested)

• GHC 6.4.2 (Jason Dagit reports success with GHC 6.5 as well).
• Cygwin installation. See | wxHaskell cygwin page for detail, but broadly, you need Cygwin bash and install binaries.
• wxWidgets built/installed in a path with no spaces in it. Actually you can use a path with spaces but there are a few rules. For example, I had ghc installed to this location:
So this required me to use the following configure command:
./configure --libdir=C:/Progra~1/Visual~1

The two important things here are: 1) You must use the forward slash and 2) you cannot use spaces.

Next I found that I needed to add C:\Program Files\Visual Haskell to my path so that the wxHaskell dlls could be located by windows.

• Environment variables:
• PATH should include MinGW and Cygwin binary directories. MinGW must come before Cygwin in PATH.