GHC unable to find mingwinclude directory on Windows - Stack Overflow
Today I used ghcup to automatically installed all haskell tool chains. When I entered ghc -Wall C:\2.hs -fforce-recomp
,the response is:
[1 of 2] Compiling Main ( C:\\2.hs, C:\\2.o ) clang: error: no such file or directory: 'Files\ghcup\ghc\9.4.8\lib\../mingw/include'
<no location info>: error:
`clang.exe' failed in phase `Assembler'. (Exit code: 1)
I mean, this directory exists: C:\Program Files\ghcup\ghc\9.4.8\mingw
and under this directory C:\Program Files\ghcup\ghc\9.4.8\lib
, it does not have a path named mingw
. How can I fix it?
(On windows11)
最新文章
- 智能手机与云的强大融合
- 微软软件业务将全面转向免费增值模式
- 应用软件战场:安卓不敌苹果
- apache beam - Unable to Write processed Data to Parquet - Stack Overflow
- reveal.js - Why do the divs have odd formating and non-matching colors in revealjs Quarto presentation? - Stack Overflow
- c++ - Level-Order Traversal of a Binary Tree Without Recursion? - Stack Overflow
- angular - Dynamic Data in Add-to-calender-button - Stack Overflow
- swiftui - Previewing SwiftData Records in Xcode Previews - Stack Overflow
- c - How to properly implement HKDF Expand with openssl EVP_KDF - Stack Overflow
- intellij http client - How to use in place variable within handler scripts? - Stack Overflow
- c# - Querying CosmosDB_SQL from ASP.NET Core 8 Web API to return Single value - Stack Overflow
- magento - Renovate: Get version compatibility for "external" dependencies from documentation for Docker file -
- angular - Infer types in callback chain based on `null` return as success Indicator - Stack Overflow
- sublimetext3 - Sublime Text 34: copypaste all text excluding comments - Stack Overflow
- python - PEFT library installed but PEFT is not identified at runtime - Stack Overflow
- javascript - <function name> error: FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been
- javascript - How can I create hyperlinkOrPicture column types on SharePoint Lists with Microsoft Graph API or Sharepoint API? -