- Eclipse with Photran 8.0 package
- Cygwin installation with the lapack libraries (including liblapack-devel)
- Cygwin directories added to the windows PATH
- libblas.a
- libblas.dll
- liblapack.a
- liblapack.dll
Now, the project in eclipse-photran is a GNU fortran project (with the GCC toolchain) which generates its makefiles automaticly (because the program has quite a lot of subroutines and modules this is quite handy). When builing I get the following error-message:
make all
Building file: ../Hamfem.f90
Invoking: GNU Fortran Compiler
gfortran -funderscoring -O0 -g -Wall -c -fmessage-length=0 -L"C:\cygwin\lib"-llapack -o "Hamfem.o" "../Hamfem.f90"
cygwin warning:
MS-DOS style path detected: C:\Users\thys\Documents\doctoraat\10_publications\in progress\HAMFEM-GNUfortran\Debug
Preferred POSIX equivalent is: /cygdrive/c/Users/thys/Documents/doctoraat/10_publications/in progress/HAMFEM-GNUfortran/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames
../Hamfem.f90:12.72:
use lapack ! alternative for msimsl http://www.netlib.org/lapack
1
Fatal Error: Can't open module file 'lapack.mod' for reading at (1): No such file or directory
subdir.mk:27: recipe for target `Hamfem.o' failed
make: *** [Hamfem.o] Error 1
Does someone know what I did wrong and how I can include the lapack library?

