2017-04-22 63 views
1

我想安裝使用小集團一個包,但我得到這個錯誤:錯誤安裝陰謀包時(不能確定MinGW的版本)

Warning: cannot determine version of D:\Program Files\Haskell 
Platform\8.0.2\mingw\bin\gcc.exe : 
"" 
`gcc.exe' failed in phase `C Compiler'. (Exit code: -1073741502) 

包是stm

cabal install stm 

我已在我的Windows 10 PC上安裝了完整的x64版本Haskell Platform

的錯誤是幾乎相同的位置:https://github.com/haskell/cabal/issues/4442

但這並沒有回答

回答

1

Win10創作者更新改變了一些GHC是受的API。你可能會看到這個結果。如果你有Win 10 build 15019或更高版本,請按照ghc-compat repo的詳細說明替換你的gcc.exe,看看是否有幫助。