When compiling a basic programme with a module from another directory, the module is included (and found) by the compiler but the functions within are not accessible and the compiler complains.
When copying the module source to the same directory and referencing it direct, all works as expected.
For example the following fails;
ftn95 ..\CommonModules\Whatever.f95
ftn95 MainApp.f95 /link /debug
With 'WARNING the following symbols are missing:' etc.
Copying Whatever.f95 to the current directory and using;
ftn95 Whatever.f95
ftn95 MainApp.f95 /link /debug
Works fine and the executable can be run.
What dumbness am I doing?
FYI: This is for a common module that is used amongst several projects, I really don't want to copy and paste. I can use a symlink if this cannot be worked around, but they have their own problems.
Thanks in advance,
Ryan