2015-02-12 86 views
0

我正试图在cabal沙箱中安装reactive-banana,wx,wxcore。当运行cabal install --only-dependencies时出现以下错误消息:wxc-0.91.0.0未能安装

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] 

什么是错误的,以及如何解决这个问题?

回答

0

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