<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Include files]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=106&amp;type=atom" />
	<updated>2012-07-09T13:09:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=106</id>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=345#p345" />
			<content type="html"><![CDATA[<p>Is it of any help if I mention that I have no problems of this kind, and I have, permanantly, two &#039;virtual drive&#039; assignments, as follows:</p><p>&quot;F: drive&quot;<br />---------<br />C:\Program Files (x86)\Fortran\Simply64\<br />(This is where I keep all the Simply Fortran software)</p><p>&quot;G: drive&quot;<br />---------<br />C:\Users\JWasilewski\Documents\Dev\Fortran\GNU\<br />(This is where I keep all my projects)</p><p>As I say, I do not encounter this problem.&nbsp; If anyone wants to know, I use the excellent utility (with a poor name), &#039;Virtual Subst&#039;<br />---<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-07-09T13:09:16Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=345#p345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=344#p344" />
			<content type="html"><![CDATA[<p>What you&#039;re reporting is symptomatic of the issue.&nbsp; Because the GCC build was performed on an F: drive, it is somehow remembering this information and looking for said drive on the install system.&nbsp; There is usually no problem unless you&#039;ve assigned an unattached device the &quot;F:&quot; drive letter.&nbsp; If the device is attached, there isn&#039;t a problem, oddly enough.&nbsp; I&#039;ll look into how the problem is sticking around.&nbsp; I had thought that 1.30 eliminated the issue.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-07-09T12:30:13Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=344#p344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=343#p343" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>My colleague, also an SF user, gets a similar error with 1.30. I think his error message further mentions drive F:. Odd thing is that his F: is assigned to a bluetooth device I think.</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[petesun]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=460</uri>
			</author>
			<updated>2012-07-08T15:34:14Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=343#p343</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=342#p342" />
			<content type="html"><![CDATA[<p>Jeff,<br />the version I am using is 1.30. Previously the error occurred earlier (when loading a project) and was quite persistent (no way out with &quot;Continue&quot;).</p><p>Frederick</p>]]></content>
			<author>
				<name><![CDATA[Frederick]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=430</uri>
			</author>
			<updated>2012-07-06T07:36:53Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=342#p342</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=341#p341" />
			<content type="html"><![CDATA[<p>Frederick,</p><p>Which version of Simply Fortran are you using, 1.30?&nbsp; If so, I&#039;ll have to investigate why there is still an error being emitted from the compiler requesting access to nonexistent disks.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-07-05T19:09:44Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=341#p341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=340#p340" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>Thank you, your fix worked.</p><p>During addition of other files in the project I got occasionally (after some time) the error</p><p>f951.exe<br />&quot;There is no disk. Please insert a disk in unit \Device\Harddisk1\DR1&quot;</p><p>The message can be removed by pressing &quot;continue&quot;.</p><p>Seems there are still some problems with this kind of error.</p>]]></content>
			<author>
				<name><![CDATA[Frederick]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=430</uri>
			</author>
			<updated>2012-07-05T12:28:56Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=340#p340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=339#p339" />
			<content type="html"><![CDATA[<p>Frederick,</p><p>The issue stems from the include file ending in a valid Fortran extension.&nbsp; What happens is that Simply Fortran includes c_ela.for in the build process, when in reality, it should not be built alone.</p><p>One solution is to disable c_ela.for in the Project Outline.&nbsp; Find the file, right click, and select &quot;Disable File&quot; from the popup menu.&nbsp; Now Simply Fortran should not try to directly build c_ela.for, but it will still be properly included via INCLUDE statements in your code.</p><p>Let me know if this fix works for you.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-07-05T02:46:42Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=339#p339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Include files]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=338#p338" />
			<content type="html"><![CDATA[<p>Hi,<br />first I would like to thank Jeff for his support concerning the error with missing media in a &quot;hidden&quot; drive. With the 1.30 version this error disappeared.<br />I am just restoring an old FORTRAN program with uses the INCLUDE statement for parts of the code, mainly COMMON blocks like&nbsp; <br />&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; begin of file c_ela.for<br />c ... c_ela.for<br />c<br />&nbsp; &nbsp; &nbsp; real*4&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;mr&nbsp; &nbsp; &nbsp;(mn,mn) , <br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;dr&nbsp; &nbsp; &nbsp;(mn,mn)<br />&nbsp; &nbsp; &nbsp; complex*8&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;kr&nbsp; &nbsp; &nbsp;(mn,mn)<br />&nbsp; &nbsp; &nbsp; common /ela/<br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;kr ,<br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;mr ,<br />&nbsp; &nbsp; &nbsp;&amp;&nbsp; &nbsp;dr<br />c<br />c ...<br />&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; end of file c_ela. for<br />This file is member of the project file and should be used in the following subroutine<br />&nbsp; &nbsp; &nbsp; subroutine ELASTO<br />c<br />&nbsp; &nbsp; &nbsp; include &#039;c_ela.for&#039;<br />c<br />and so on.<br />I get the following error:</p><p>Open Watcom Make Version 1.9 (Built on May 17 2012)<br />Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.<br />Source code is available under the Sybase Open Watcom Public License.<br />See <a href="http://www.openwatcom.org/">http://www.openwatcom.org/</a> for details.<br />&nbsp; &nbsp; &quot;C:\Program Files (x86)\Simply Fortran\mingw-w64\bin\gfortran.exe&quot; -c -o build\c_ela.o -m32&nbsp; &nbsp;-Jmodules .\c_ela.for<br />Error: Unexpected end of file in &#039;.\c_ela.for&#039;<br />Error(E42): Last command making (build\c_ela.o) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Complete *</p><p>What is my mistake? Are there restrictions in the use of the INCLUDE statement or special naming conventions for include-files?</p><p>Frederick</p>]]></content>
			<author>
				<name><![CDATA[Frederick]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=430</uri>
			</author>
			<updated>2012-07-04T18:03:55Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=338#p338</id>
		</entry>
</feed>
