GUI (was: Re: [Haskell-cafe] DLL on Windows)

Daniel Fischer daniel.is.fischer at web.de
Sun Apr 18 15:41:06 EDT 2010


Am Sonntag 18 April 2010 20:59:25 schrieb Neil Mitchell:
> Hi,
>
> I thought this thread suggested that a cabal install wx would now
> work?

It does, as far as I can tell.

> I just tried it and got:
>
> ...
> generated 2439 constant definitions
> ok.
> setup.exe: wx-config: does not exist

That's not our fault, I think :)
You need wxWidgets-2.8.*.
wx-config should have been installed as part of the wxWidgets package. Is 
that not included in the windows-installer of wxWidgets?

$ which wx-config
/usr/bin/wx-config
$ wx-config --help

 wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release] [--version-
full]
           [--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT]
           [--universal[=yes|no]] [--unicode[=yes|no]] [--debug[=yes|no]]
           [--static[=yes|no]] [--version[=VERSION]] [--basename] [--cc]
           [--cppflags] [--cflags] [--cxxflags] [--rescomp] [--libs] [--
cxx]
           [--ld] [--linkdeps] [--utility=UTIL] [LIB ...]

    wx-config returns information about the wxWidgets libraries available 
on
  your system.  It may be used to retrieve the information required to 
build
  applications using these libraries using --cppflags, --cflags,  --
cxxflags
  and --libs options.
<snip>

> cabal: Error: some packages failed to install:
> wx-0.12.1.4 depends on wxcore-0.12.1.4 which failed to install.
> wxcore-0.12.1.4 failed during the configure step. The exception was:
> ExitFailure 1
>
> If wxHaskell could be installed with one cabal command that would be
> incredibly cool :-)
>
> Thanks, Neil



More information about the Haskell-Cafe mailing list