replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - DFLIB problem
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DFLIB problem

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
mubeen304



Joined: 27 Oct 2011
Posts: 2
Location: Germany

PostPosted: Thu Oct 27, 2011 12:56 pm    Post subject: DFLIB problem Reply with quote

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
View user's profile Send private message
Wilfried Linder



Joined: 14 Nov 2007
Posts: 314
Location: D�sseldorf, Germany

PostPosted: Thu Oct 27, 2011 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
mubeen304



Joined: 27 Oct 2011
Posts: 2
Location: Germany

PostPosted: Thu Oct 27, 2011 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Fri Oct 28, 2011 2:51 am    Post subject: Reply with quote

"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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Fri Oct 28, 2011 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group