Topic: Using external module
Hi,
I have m_io.mod which I downloaded using sfpm.
use stdlib_kinds
use m_io, only: basename, dirname
IDIR=-IC:/Users/truep/AppData/Local/sfpm/32/include -IC:/FORTRAN/PROJECTS/TPPOST/modules
yet I get error:
C:\FORTRAN\PROJECTS\TPPOST/./src/tppost.f90:221: undefined reference to `__m_io_MOD_dirname'
Any idea why it's not linking? I'm also using stdlib and no issues there.
I've had to add the m_io.f90 source to my project and compile it to my ./modules folder to compile/build.
Trying to use libraries as this project is getting huge...
Thanks,
Bryan