문제

I am able to compile Armadillo + OpenBLAS under MinGW64, however the link is through "libopenblas", which I believe is dll. Under Ubuntu I am able to link through "openblas" which I believe is static.

Under windows when I switch to "openblas" I got error messages: bad reloc address 0x54 _gfortran_compare_string undefined reference

These errors persist when forcing "-static".

I wonder how can I force "-static" under windows so that my exe is independent of dlls. Thanks for any advise!

Best, Andy

도움이 되었습니까?

해결책

Problem solved. Also need to link "gfortran" when doing "-static".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top