View previous topic :: View next topic |
Author |
Message |
mubeen304
Joined: 27 Oct 2011 Posts: 2 Location: Germany
|
Posted: Thu Oct 27, 2011 12:56 pm Post subject: DFLIB problem |
|
|
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. |
|
Back to top |
|
 |
Wilfried Linder
Joined: 14 Nov 2007 Posts: 314 Location: D�sseldorf, Germany
|
Posted: Thu Oct 27, 2011 4:39 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
mubeen304
Joined: 27 Oct 2011 Posts: 2 Location: Germany
|
Posted: Thu Oct 27, 2011 9:08 pm Post subject: |
|
|
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?? |
|
Back to top |
|
 |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2615 Location: Sydney
|
Posted: Fri Oct 28, 2011 2:51 am Post subject: |
|
|
"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 |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Fri Oct 28, 2011 8:22 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
|