Silverfrost Forums

Welcome to our forums

fatal 404 - Cannot find definition for MODULE

30 Mar 2007 12:04 #1835

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?

30 Mar 2007 1:05 #1838

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.

Please login to reply.