ghc.EXE:addDLL:icuuc59.dll(Win32错误126):找不到指定的模块

时间:2017-04-30 10:20:44

标签: windows haskell dll static-linking

所以我在一年前做过这件事,但我忘记了谷歌搜索没有帮助的伎俩。 据我了解,问题是我需要静态链接我的dll。 我在WINDOWS上这样做

我做了stack install text-icu --extra-include-dirs=C:\icu4c-59_1-Win64-MSVC2015\include --extra-lib-dirs=C:\icu4c-59_1-Win64-MSVC2015\lib64

我尝试将dll放入我的.stack-work \ install \ 28cbf0ed \ bin文件夹中但是当我尝试堆栈构建时我得到了

ghc.EXE: unable to load package `text-icu-0.7.0.1'
ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module could not be found.
ghc.EXE: Could not load `icuuc59.dll'. Reason: addDLL: could not load DLL

我想我应该将dll放在其他地方或其他地方

0 个答案:

没有答案
相关问题