Hi folks,
I'm trying to build a program using GHC that links statically to wxHaskell,
so it can be easily distributed as a single file. Therefore I don't want any
dependencies on Cygwin. I'm using Windows Vista 32-bit.
I was able to download wxWidgets 2.8 and build it using Visual C++ 2008
Express Edition. But I don't know what to do next. I get this error from
cabal:
PS C:\wxWidgets-2.8.10> cabal install wx
Resolving dependencies...
warning:
Unable to find wxWidgets configuration (wx-config).
checking system:
error:
Unable to find the 'wx-config' program: wx-config
Maybe you forgot to run 'make install' on wxWidgets?
Otherwise, add the install directory of wx-config to your path.
Or maybe you are trying to compile with Microsoft Visual C++?
If so, you can specify that on the command line:
For example: ./configure --with-msc
cabal.exe: Error: some packages failed to install:
wx-0.11.1.2 depends on wxcore-0.11.1.2 which failed to install.
wxcore-0.11.1.2 failed during the configure step. The exception was:
exit: ExitFailure 2
I don't see a program called wx-config, but I do see wx-config.in. I tried
"nmake install" (Microsoft make) but nothing happened. It seems to me that
running the configure script requires bash.
Is it not possible to install wxHaskell without Cygwin after all?
Thanks,
Lyle
|