<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — SF Linux: file not found in a stated search directory]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=517</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=517&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SF Linux: file not found in a stated search directory.]]></description>
		<lastBuildDate>Wed, 27 Jan 2016 03:10:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SF Linux: file not found in a stated search directory]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2334#p2334</link>
			<description><![CDATA[<p>The &#039;include&#039; statement that failed is,<br /></p><div class="codebox"><pre><code>      INCLUDE  &#039;ASCTYP.INC&#039;</code></pre></div><p>.</p><p>The file name in the INCLUDE subdirectory was, &#039;asctyp.inc&#039;.</p><p>I had thought already that the fault might lie in the case-sensitivity of Linux file names.<br />I had therefore tried already - or so I thought I had done - to re-BUILD, after, first, re-naming the file in the INCLUDE subdirectory to &#039;ASCTYP.INC&#039;, and I believed it to have made no difference.&nbsp; However, I have just tried it again, and it DID solve the problem.&nbsp; <br />I must, therefore, have made a mistake when I tried this correction the first time, and I apologise for wasting your time, Jeff.</p><p>I am wondering nonetheless, in view of the fact that FORTRAN is normally not case dependent, do you know of any setting one can use in GFortran that will over-ride the case-dependence of Linux for file names?&nbsp; Alternatively, could the Linux version of SF be fitted with a clickable tick-box option in Project Options--&gt;File locations--&gt;Search Directories, to make filenames case-independent? </p><p>If neither of these is on the cards then this won&#039;t matter all that much, because Linux users should know already that filenames and pathnames mentioned in the source codes have to be case-matched with the names of the files and paths to which they refer, but this will then detract just in a small way from the ability of SF in Linux to use SF projects developed in Windows seamlessly.&nbsp; Users will need to REMEMBER to check projects ported from Windows for INCLUDE filename case compatibility with source codes.</p><p>Just to re-confirm, when I changed about six or eight saved filenames in my INCLUDE sub-directory to match the cases of the filenames referred to by dozens of INCLUDE statements in my source codes in this project, SF for Linux did then BUILD it completely successfully, without further alterations of any kind.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Wed, 27 Jan 2016 03:10:40 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2334#p2334</guid>
		</item>
		<item>
			<title><![CDATA[Re: SF Linux: file not found in a stated search directory]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2333#p2333</link>
			<description><![CDATA[<p>John,</p><p>What is the name of the file, in case-sensitive form, of the file you&#039;re trying to include? The Makefile looks fine (I&#039;m not saying it <em>is</em> fine, though), so I&#039;m trying to figure out what&#039;s wrong.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 27 Jan 2016 01:29:52 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2333#p2333</guid>
		</item>
		<item>
			<title><![CDATA[Re: SF Linux: file not found in a stated search directory]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2330#p2330</link>
			<description><![CDATA[<p>==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Compiling Source/AIF.for<br />Compiling Source/MODULES/mCONFIG.for<br />Compiling Source/MODULES/mFiles.for<br />Compiling Source/MODULES/mLUNITS.for<br />Compiling Source/AInput.for<br />Source/AInput.for:36: Error: Can&#039;t open included file &#039;ASCTYP.INC&#039;<br />Error(E42): Last command making (build64/AInput.o) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Complete *</p><br /><br /><p>HERE IS THE MAKEFILE<br />Please note that I encountered this error when just starting to port my project from Windows to Linux, so there may well be other things that I have not yet found, that will need changing, because my Windows and Linux directory structures are slightly different. </p><p>[ I HAVE EDITED THIS POST AFTER A FEW DAYS,&nbsp; &nbsp; ]<br />[ TO REMOVE THE MAKEFILE THAT I HAD PASTED&nbsp; &nbsp;]<br />[ BELOW HERE, BECAUSE THE MAKEFILE NEEDED&nbsp; ]<br />[ A LOT OF SCROLLING TO GET PAST IT AND READ&nbsp; ]<br />[ ON, BUT THE SOLUTION SHOWN IN LATER POSTS ] <br />[ HAS NOTHING TO DO WITH THE MAKEFILE - John ]</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Sat, 23 Jan 2016 18:11:54 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2330#p2330</guid>
		</item>
		<item>
			<title><![CDATA[Re: SF Linux: file not found in a stated search directory]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2329#p2329</link>
			<description><![CDATA[<p>John,</p><p>Can you post the contents of the Makefile?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sat, 23 Jan 2016 17:51:23 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2329#p2329</guid>
		</item>
		<item>
			<title><![CDATA[SF Linux: file not found in a stated search directory]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2328#p2328</link>
			<description><![CDATA[<p>In SF Linux</p><p>In Options<br />&nbsp; &nbsp; &gt; Project options<br />&nbsp; &nbsp; &nbsp; &nbsp; &gt; File locations<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Search directories<br />..I have added a pathname to a directory called &#039;INCLUDE&#039;.</p><p>The full pathname to the directory is<br />/home/jmw/DEV/Fortran/IOLibWin/Source/INCLUDE<br />That pathname has a file in it called AscTyp.inc</p><p>Source file AInput.for has the statement,<br />&nbsp; &nbsp; &nbsp; INCLUDE&nbsp; &#039;ASCTYP.INC&#039;</p><p>When I try to BUILD, SF returns the error message</p><p> Source/AInput.for:36: Error: Can&#039;t open included file &#039;ASCTYP.INC&#039; <br /> Error(E42): Last command making (build64/AInput.o) returned a bad status<br /> Error(E02): Make execution terminated</p><p>I have tried changing the filename to ASCTYP.INC.<br />That appears not to be the problem.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Sat, 23 Jan 2016 15:36:19 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2328#p2328</guid>
		</item>
	</channel>
</rss>
