wxc-0.91.0.0 安装失败

wxc-0.91.0.0 failed to install

我正在尝试在 cabal 沙箱中安装 reactive-banana、wx、wxcore。当 cabal install --only-dependencies 为 运行 时,会给出以下错误消息:

src\cpp\eljlistctrl.cpp: In function 'int ListCmp(long int, long int, long int)':
src\cpp\eljlistctrl.cpp:16:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
src\cpp\eljlistctrl.cpp:16:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
src\cpp\eljlistctrl.cpp: In function 'bool wxListCtrl_SortItems(wxListCtrl*, void*, void*)':
src\cpp\eljlistctrl.cpp:478:41: error: cast from 'EiffelSort* {aka _EiffelSort*}' to 'long int' loses precision [-fpermissive]
src\cpp\eljlistctrl.cpp:478:44: error: invalid conversion from 'int (*)(long int, long int, long int)' to 'wxListCtrlCompare {aka int (*)(long long int, long long int, long long int)}' [-fpermissive]
C:\wxWidgets-3.0.2\include/wx/msw/listctrl.h:342:10: error:   initializing argument 1 of 'bool wxListCtrl::SortItems(wxListCtrlCompare, wxIntPtr)' [-fpermissive]

哪里出了问题,如何解决?

此文件中的代码似乎是错误的,即使在看起来像 64 位的构建中也使用 32 位类型。除非它在以后的版本中得到修复,否则唯一的解决方案是在 32 位中构建它,即使用 32 位 Haskell 安装。