<div dir="ltr"><div><div>Thank you so much, Francesco Ariis.<br><br></div>[stack path] results<br>extra-include-dirs: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\include<br>extra-library-dirs: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\lib<br><br>According to first error message(libicuuc57.dll dose not exist. so program can't start. please re-install the program.), I find the path for libicuuc57.dll, and re-set the extra-library-dirs. <br>C:\Users\shaeg\Documents\Haskell\samChecker3>stack build --extra-lib-dirs=C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\bin --ghc-options="-static -optl-static"<br>But got the same result.<br><br></div><div>How can I fix this?<br><br></div><div>Thank you.<br><br></div><div>Sincerely, S. Chang.<br><br></div><div><br></div><div>Here is my stack path.<br>C:\Users\shaeg\Documents\Haskell\samChecker3>stack path<br>stack-root: C:\sr<br>project-root: C:\Users\shaeg\Documents\Haskell\samChecker3<br>config-location: C:\Users\shaeg\Documents\Haskell\samChecker3\stack.yaml<br>bin-path: .;C:\sr\snapshots\7dd4ddea\bin;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\bin;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\mingw\bin;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\bin;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\usr\bin;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\usr\local\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\IntelSGXPSW\bin\x64\Release\;C:\Program Files\Intel\IntelSGXPSW\bin\win32\Release\;c:\Program Files\Intel\WiFi\bin\;c:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Users\shaeg\AppData\Roaming\local\bin;C:\Users\shaeg\AppData\Local\Microsoft\WindowsApps<br>programs: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows<br>compiler-exe: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\bin\ghc.EXE<br>compiler-bin: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\bin<br>local-bin: C:\Users\shaeg\AppData\Roaming\local\bin<br>extra-include-dirs: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\include<br>extra-library-dirs: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\lib<br>snapshot-pkg-db: C:\sr\snapshots\7dd4ddea\pkgdb<br>local-pkg-db: C:\Users\shaeg\Documents\Haskell\samChecker3\.stack-work\install\02136e14\pkgdb<br>global-pkg-db: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\lib\package.conf.d<br>ghc-package-path: C:\Users\shaeg\Documents\Haskell\samChecker3\.stack-work\install\02136e14\pkgdb;C:\sr\snapshots\7dd4ddea\pkgdb;C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\lib\package.conf.d<br>snapshot-install-root: C:\sr\snapshots\7dd4ddea<br>local-install-root: C:\Users\shaeg\Documents\Haskell\samChecker3\.stack-work\install\02136e14<br>snapshot-doc-root: C:\sr\snapshots\7dd4ddea\doc<br>local-doc-root: C:\Users\shaeg\Documents\Haskell\samChecker3\.stack-work\install\02136e14\doc<br>dist-dir: .stack-work\dist\ca59d0ab<br>local-hpc-root: C:\Users\shaeg\Documents\Haskell\samChecker3\.stack-work\install\02136e14\hpc<br>local-bin-path: C:\Users\shaeg\AppData\Roaming\local\bin<br>ghc-paths: C:\Users\shaeg\AppData\Local\Programs\stack\x86_64-windows<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-04 23:10 GMT+09:00 Francesco Ariis <span dir="ltr"><<a href="mailto:fa-ml@ariis.it" target="_blank">fa-ml@ariis.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Sat, Mar 04, 2017 at 10:05:27PM +0900, S. H. Aegis wrote:<br>
> Thank you so much, Francesco Ariis.<br>
> Thanks to your help, I stepped foreword.<br>
><br>
> But I got following error message. I googled this error message & try to<br>
> fix this, but faild.<br>
> How can I fix or get info. for this error message?<br>
> Thank you so much.<br>
><br>
</span>> [...]<br>
<span class="gmail-">><br>
> Linking .stack-work\dist\ca59d0ab\<wbr>build\samChecker3-exe\<wbr>samChecker3-exe.exe<br>
> ...<br>
> C:/Users/shaeg/AppData/Local/<wbr>Programs/stack/x86_64-windows/<wbr>ghc-8.0.2/mingw/bin/ld.exe:<br>
> cannot find -licuuc<br>
> C:/Users/shaeg/AppData/Local/<wbr>Programs/stack/x86_64-windows/<wbr>ghc-8.0.2/mingw/bin/ld.exe:<br>
> cannot find -licuin<br>
> C:/Users/shaeg/AppData/Local/<wbr>Programs/stack/x86_64-windows/<wbr>ghc-8.0.2/mingw/bin/ld.exe:<br>
> cannot find -licudt<br>
> collect2.exe: error: ld returned 1 exit status<br>
> `gcc.exe' failed in phase `Linker'. (Exit code: 1)<br>
><br>
</span>> [...]<br>
<br>
Argh, that's the linker acting up.<br>
I haven't been using windows in 10 years, but is LIBRARY_PATH defined<br>
on your system? And if so, where is it pointing?<br>
Its value should be where the .a/.lib files are located (in your<br>
particular example, icudt.lib, etc.).<br>
<br>
Again, not a windows nor a stack user, so maybe you want to wait<br>
for more answers and/or ask on <a href="mailto:haskell-stack@googlegroups.com">haskell-stack@googlegroups.com</a> too<br>
<span class="gmail-HOEnZb"><font color="#888888">-F<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div></div>