Fail to generate .exe when compiling SWAT+ in linux

16 views
Skip to first unread message

Ann Wang

unread,
Nov 5, 2024, 11:48:53 AMNov 5
to SWAT+
Hi SWAT+ community,

I'm trying to use gfortran to compile SWAT+ in Linux. All the .f90 sources files have been successfully compiled into ".f90.o" files. But the compile process runs into error in merging all *.f90.o files into a single executable file, which is line 9696 in the "CMakeFiles/swatplus-unknown-gcc-lin_x86_64.dir/build.make".  The error message "cannot find -lm & -lc" as shown in the attached picture, seems to indicate that some of the libraries are missing for my environment.

Can anyone help to identify the specific libraries indicated by this error message? 

Many thanks,
Ann


Screenshot 2024-11-04 153334.png
Reply all
Reply to author
Forward
0 new messages