我已经下载了适用于 Windows 7 的最新 Haskell 平台(8.0.1 版本)wxWidgets-3.0.2,设置了所有需要的环境变量。我已经使用“cabal install”成功安装了“wxdirect”,但是当我尝试安装“wxc”时它失败了。安装日志:
C:\wxWidgets-3.0.2\lib\gcc_dll\mswud\..: getDirectoryContents: does not exist
(The system cannot find the path specified.)
cabal: Leaving directory '.'
我需要在哪里获取“gcc_dll\mswud\”文件夹?
PS 出于某种原因,Abriline 和 Achelanne 都不适合我。
PPS 我尝试按照 Haskell-wiki 的说明安装这个库,但它没有工作抱怨大量的依赖项。
更新 我尝试使用带有 Abriline 安装程序的 Haskell Platform 2014.2.0.0 安装 wxHaskell。它停止构建 wxc。日志:
Building wxc
setup.exe: Maybe.fromJust: Nothing
1] Compiling Main ( wxc-0.92.2.0\dist\setup\setup.hs, wxc-0.92.2.0\dist\setup\Main.o )
Linking .\wxc-0.92.2.0\dist\setup\setup.exe ...
The bitness is correct
Configuring wxc-0.92.2.0...
Configuring wxc to build against wxWidgets 3.0.2
cabal: Leaving directory '.\wxc-0.92.2.0'
更新 带有“cabal install wxc -v3”的扩展日志: http ://rgho.st/7BJcHzJTF