View previous topic :: View next topic |
Author |
Message |
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: Nürnberg, Germany
|
Posted: Fri Mar 30, 2007 1:04 pm Post subject: fatal 404 - Cannot find definition for MODULE |
|
|
Hi,
I am using a xml parser, xmlparser.mod, which I would like to include rather than using the source in each new program where I use the module. Thus, keeping the parser at only one place and thereby avoiding several copies.
I have tried the following:
1. Project -> Properties -> Source: Spesify MODULE paths
2. set MOD_PTH=<module_path>
Neither of this seems to work. The error message I get is:
fatal 404 - Cannot find definition for MODULE
Is there a way of using a module in a program without having the source available? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Fri Mar 30, 2007 2:05 pm Post subject: |
|
|
You must compile a Fortran module to get a .MOD and a .OBJ file.
The .MOD is required when compiling code that USEs the module.
The .OBJ file is required when linking.
There is an FTN95 command line option /MOD_PATH that allows you
to place MOD files in a non-standard place. |
|
Back to top |
|
|
|