haskell-numerics / hmatrix

Linear algebra and numerical computation
381 stars 104 forks source link

libopenblas: %1 is not a valid Win32 application. #184

Open doivosevic opened 8 years ago

doivosevic commented 8 years ago

Windows 10 stack 1.0.2 ghc 7.10.3

I've downloaded OpenBLAS 0.2.18 version and pasted in in PATH, ghc/mingw/{bin,lib,include}, cwd of running ghci and still it won't work


> stack ghci --flag hmatrix:openblas
- Implicitly adding hmatrix to extra-deps based on command line flag
- Implicitly adding hmatrix to extra-deps based on command line flag
- Implicitly adding hmatrix to extra-deps based on command line flag
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded Using main module: 1. Package `irg' component exe:irg with main-is file: C:\Users\Dito\Desktop\stuff\git\Uni\IRG\src\Main.hs
Configuring GHCi with the following packages: irg
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
ghc.exe: C:/Users/Dito/AppData/Local/Programs/stack/x86_64-windows/ghc-7.10.3/mingw/bin/libopenblas: %1 is not a valid Win32 application.
<command line>: can't load .so/.DLL for: C:/Users/Dito/AppData/Local/Programs/stack/x86_64-windows/ghc-7.10.3/mingw/bin/libopenblas.dll (addDLL: could not load DLL)