Topic: Not picking up libraries
I have inherited a large project (which has numerous issues and very badly written fortran but I wont go into that) which I manage using MS visual studio 2010 and the Intel compiler.
However, I thought I would give SimplyFortran a go as it is always worth using more than 1 compiler where possible to reveal portability issues etc.
But, I can't get SimplyFortran to pick up some precompiled libraries, which are written in a mixture of Fortran and C.
I specify the libraries and the folder in the correct place in the IDE and so the top of the Makefile is
LDIR=-L"C:/Users/User/Documents/programs_local/Simply Fortran/mingw/lib/" -LC:/Users/User/Documents/lib
PRJ_LFLAGS=-lstress -lfutil -lcutil -lsimulator_lib
the libraries are in the folder and called libstress.a etc.
The final build statement in the Makefile is
Simulator4.exe: build\adddec.o ... $(FC) -o Simulator4.exe -static build\adddec.o ... $(LDIR) $(PRJ_LFLAGS)
(... indicates the whole set of object files that have been compiled).
However, when I try to build I get a whole lot of unresolved reference errors before it gives up the ghost printing garbage.
e:x.o:.f nre:tdo_dedo(bbri)liewoe xcrdf.tbien(uebrsnd+0ec2rfeo .:efi
nc eintogile.e ra:v soe0.\ef
tdteotoeeSnt`v_fOldx ox preb d_db
I have tried with and without the -nounderscore option on the compiler but it makes no difference.
What am I doing wrong?