Silverfrost Forums

Welcome to our forums

DFLIB problem

27 Oct 2011 11:56 #9137

Dear all, I tried to compile some fortran source files, using Plato IDE (from Silverfrost). During Build there was an error: error 404 - Cannot find definition for MODULE DFLIB

When I double click on the red line mentioning the error details, the window jumps to code line: USE DFLIB perhaps some source files are using the DFLIB module for graphics (QWIN application ??). Kindly guide me if there is any remedy for this problem. Is there any alternative to DFLIB? Tons of thanks in advance.

27 Oct 2011 3:39 #9139

Copy the file DFLIB.MOD into the same directory where your source code is located, then try it again. Perhaps it is already OK now.

Regards - Wilfried

27 Oct 2011 8:08 #9140

I searched for the DFLIB file in every directory/folder of the source code and thoroughly searched it in the hard-disk, but didn't find it anywhere. Someone told me that this module was available with Compaq Visual Fortran compiler. However Compaq's compiler isn't available anymore. Is it possible to get this module 'DFLIB' from somewhere?? OR is there any alternative in Silverfrost's FTN90 for this module??

28 Oct 2011 1:51 #9141

'USE DFLIB' indicates that some functionality of this CVF library is required. This module would probably define data structures and routine interfaces that ar required to use DFLIB routines. Now that you are using Salford, you need to find a replacement for this functionality, ie what was DFLIB used for ? I've never used DFLIB, but part of your conversion process to FTN95 will be to find a new way of doing what DFLIB did. I presume that this is not part of the Fortran 95 standard so start planning. I googled DFLIB and found a lot of information, so there is info out there to help with this.

John

28 Oct 2011 7:22 #9142

If you comment out the USE statement then the linker will tell you what is missing (i.e. which routines were taken from the relevant library).

You may also need to use IMPILICIT NONE to identifiy any variables taken from the module.

Please login to reply.