replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Include Statements Problems
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 

Include Statements Problems

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



Joined: 31 Aug 2011
Posts: 30
Location: Connecticut

PostPosted: Wed Dec 14, 2011 6:31 am    Post subject: Include Statements Problems Reply with quote

I am trying to compile the ASME 1997 FORTRAN Steam Table source code with the Silver Frost Compiler. These FORTRAN source file also include files with a ".inc" extension and within each of the ".for" extension files they add these include files with the following syntax:

include 'ntol.inc'
include 'nstmcon.inc'
include 'nuconv.inc'

When the compiler runs within Visual Studio 2010, for example it is throwing the following errors:

Error 10 INCLUDE file 'C:\data\VisualBasic\ASME_1997\steamTablesFORTRAN\nstmcon.inc' cannot be opened C:\data\VisualBasic\ASME_1997\FORTRAN Source\HCL.FOR 37

Stating that it cannot open the .inc include file.

Does anyone know what the problem is?

Kind Regards,
Bill
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Wed Dec 14, 2011 8:46 am    Post subject: Reply with quote

The error report shows that the path to the include file does not match with the path to the source file. The Fortran source code indicates that the include file is in the same folder as the source file unless you have used some mechanism to get FTN95 to use a different folder for the include files (by using /INCLUDE on the command line for example).
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 -> General 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