You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying FPM on the project at https://github.com/gha3mi/foreig I don't get an executable because it cannot find Lapack. I get errors such as
>fpm test
[ 0%] test1.exe
[100%] test1.exe done.
c:/programs/gcc/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\gfortran_A18F5477E168D1CF\foreig\libforeig.a(src_foreig.f90.o): in function `dsyev_rel':
c:\...\foreig/././src/foreig.f90:69: undefined reference to `dsyev_'
c:/programs/gcc/bin/../lib/gcc/x86_64-w64-mingw32/13.0.0/../../../../x86_64-w64-mingw32/bin/ld.exe: c:\...\foreig/././src/foreig.f90:80: undefined reference to `dsyev_'
as detailed in gha3mi/foreig#1. (Following the advice given did not solve the problem.) I have compiled Lapack and BLAS on my PC to create .a files, and the following command creates an executable:
Trying FPM on the project at https://github.com/gha3mi/foreig I don't get an executable because it cannot find Lapack. I get errors such as
as detailed in gha3mi/foreig#1. (Following the advice given did not solve the problem.) I have compiled Lapack and BLAS on my PC to create
.a
files, and the following command creates an executable:gfortran build\dependencies\kinds\src\kinds.f90 src\foreig.f90 test\test1.f90 liblapack.a librefblas.a
I have copied the
.a
files toc:\lib
, and the following command also works:gfortran build\dependencies\kinds\src\kinds.f90 src\foreig.f90 test\test1.f90 -LC:\\lib -llapack -lrefblas
How do I tell FPM to look in c:\lib for needed libraries?
The text was updated successfully, but these errors were encountered: