<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Compile error with OS 12.6]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=870&amp;type=atom" />
	<updated>2022-10-10T13:28:33Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=870</id>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=4007#p4007" />
			<content type="html"><![CDATA[<p>The Xcode &quot;app&quot; is always installed on macOS, but that does not mean Xcode is actually present.&nbsp; Simply Fortran only requires command-line tools, which install inside that Xcode &quot;app,&quot; and they take up considerably less space.&nbsp; However, there is no alternative, functional linker for macOS other than the one Apple provides, unfortunately.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-10-10T13:28:33Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=4007#p4007</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=4006#p4006" />
			<content type="html"><![CDATA[<p>No Joy yet. I finally got back to this. I put the XCode app in the trash - but didn&#039;t empty it. Then I launched the Terminal app and pasted in: <br />xcode-select --install</p><p>A message appeared saying: xcode-select: error: command line tools are already installed, use &quot;Software Update&quot; to install updates</p><p>I ran the Hello World example - saving and building and got that 12.5 issue error.<br />I move XCode from the trash and put it back in the App folder.</p><p>Then the Hello World compiled and ran just fine.</p><p>When I look for updates in the App Store, it shows nothing pending.</p><p>Once Apple releases the M2 Mini, I&#039;ll get one with plenty of HD (SSD) space. And I have 22GB free - which is not nothing.</p><p>Just a general grrrrrr that I have to give up 23GB to XCode.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-10-09T22:43:47Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=4006#p4006</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3991#p3991" />
			<content type="html"><![CDATA[<p>Thank you Jeff -&nbsp; as a correction, I wasn&#039;t dragging XCode from the taskbar. I was clicking on the Applications icon in the taskbar, which opened the Application Window, and I was dragging XCode from that Applications window. Amazing but true, unlike other applications, Xcode would not go in the trash bin. But when I opened my main HD/Applications folder by double clicking from the desktop (viewing as List), I could drag XCode from there. Very Strange.</p><p>Anyway - time to put this issue to bed. You&#039;ve shown me how to get the files Simply Fortran needs without the overhead of XCode itself. My job is to follow through on your recommendation.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-24T16:36:43Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3991#p3991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3990#p3990" />
			<content type="html"><![CDATA[<p>If you want to delete Xcode, you should be able to simply drag the Xcode app in the Applications folder on your Mac into the Trash.&nbsp; Dragging it from the taskbar only removes it from the taskbar, nothing else.&nbsp; There may be some additional files left behind in those other directories, but I doubt they take up much space.</p><p>After you uninstall Xcode, open a Terminal and run:</p><div class="codebox"><pre><code>xcode-select --install</code></pre></div><p>There is really no point in allowing Simply Fortran to do it in case Apple has changed the wording of their error messages lately, which happens regularly and can break our detection of the error.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-24T13:06:57Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3990#p3990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3989#p3989" />
			<content type="html"><![CDATA[<p>Jeff, I apologize for perpetuating this issue but Apple has been far from Clear about XCode issues. For example, unlike other Apps, I can&#039;t just drag XCode from the App folder that appears on my taskbar. Nothing happens - it doesn&#039;t go in the trash bin/can. Then there&#039;s the issue of support files. Am I supposed to delete everything &quot;XCode&quot;&nbsp; - for example:</p><p>For complete removal of Xcode delete the following:</p><p>/Applications/Xcode.app<br />~/Library/Caches/com.apple.dt.Xcode<br />~/Library/Developer<br />~/Library/MobileDevice<br />~/Library/Preferences/com.apple.dt.Xcode.plist<br />/Library/Preferences/com.apple.dt.Xcode.plist<br />/System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom<br />/System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist<br />/System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom<br />/System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist<br />/private/var/db/receipts/com.apple.pkg.Xcode.bom</p><p>Or do I only drag XCode App to the trash from the App folder from a Finder window? When I do it that way, instead of from the taskbar App icon, I get a popup asking for password/permission to remove the XCode app.</p><p>Normally I&#039;d just keep it around and we wouldn&#039;t be having this discussion. But it shows up as 23GB - for something I don&#039;t use - and my next largest App file is 3.25GB (for something I also don&#039;t use - iMovie).</p><p>Unfortunately, you were sort of roped into this fiasco because of Simply Fortran&#039;s dependency on those XCode development tools.</p><p>If I understand what you said above, I could delete everything from the list above, then when I run Simply Fortran, it will give me a popup that I just &quot;Okay&quot; and it will only grab what it needs. That sounds like the cleanest way.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-24T00:00:09Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3989#p3989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3988#p3988" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>designer wrote:</cite><blockquote><p>Perhaps it was because they were there - so the pop-up didn&#039;t occur. but they were out-of-date, so I got the error.</p></blockquote></div><p>Exactly what happened.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-22T00:18:28Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3988#p3988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3987#p3987" />
			<content type="html"><![CDATA[<p>But if Simply Fortran had a problem with the Tools - as per my error message, why didn&#039;t the pop-up automatically come up then? Perhaps it was because they were there - so the pop-up didn&#039;t occur. but they were out-of-date, so I got the error.</p><p>I&#039;m going to delete Xcode and then run</p><p>xcode-select --install</p><p>and see if I can get some storage back. If not, I can always install Xcode again.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-21T20:12:59Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3987#p3987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3986#p3986" />
			<content type="html"><![CDATA[<p>No, you don&#039;t need to be a &quot;developer&quot; in Apple&#039;s eyes to use the Command-line Development Tools.&nbsp; If you uninstall/delete Xcode, you can install the command-line tools from a terminal with the command:</p><div class="codebox"><pre><code>xcode-select --install</code></pre></div><p>The above command should pop up a window asking if you want to proceed.&nbsp; It occurs automatically when you start Simply Fortran if they&#039;re not already present.&nbsp; But if you have Xcode, you already have them as well.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-20T23:51:19Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3986#p3986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3985#p3985" />
			<content type="html"><![CDATA[<p>It sounds like I could just install the Command-line Development Tools and do away with the Behemoth, Xcode.</p><p>Do I have to be an Apple developer in order to just get the Command-line Tools? I admit, I walked up to the door - the Apple Developers site, but didn&#039;t knock - didn&#039;t try my AppleID password. I assumed a &quot;developer&quot; would have a developer password.</p><p>I&#039;ll start looking into that - but if there&#039;s an easy &quot;download Command-line Development Tools Here&quot; link, I&#039;d surely appreciate it. I&#039;d love to get rid of that 23GB XCode App that I&#039;ll never use.</p><p>Please try to keep supporting Mac. As soon as they release an M2 MacMini, I&#039;ll move to AppleSilicon (and more than a 128GB SSD).</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-20T22:58:05Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3985#p3985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3984#p3984" />
			<content type="html"><![CDATA[<p>Simply Fortran only needs Apple&#039;s development libraries and linker.&nbsp; There are two ways to get them in macOS:</p><p>1. Install the Command-line Development Tools<br />2. Install Xcode</p><p>In your case, you had a version of Xcode providing the linker, but that version of Xcode provided an old linker that didn&#039;t understand what version of macOS it was running.&nbsp; It thought the highest possible number was 10.15, but our compiler was telling it that it needed to be 12.5 or higher.</p><p>All of these steps are bonkers, I agree.&nbsp; macOS tends to have some real issues after upgrades pretty regularly.&nbsp; It drives me up the wall.&nbsp; It is far and away the most difficult platform for us to support.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-20T22:11:27Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3984#p3984</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3983#p3983" />
			<content type="html"><![CDATA[<p>SUCCESS - reinstalling XCode app fixed the problem.</p><p>It just seems wrong that I need to install a 23 GB !! app to run SimplyFortran</p><p>Again, I had removed XCode - because it&#039;s so large and I don&#039;t use it, and also because I couldn&#039;t update it - Not enough room (though I had 32GB free). But it did download the second time I clicked the icon in the App Store.</p><p>Weird math. Before I downloaded, I had 32GB free. the Size of XCode is given as 23 GB. But now I have 23 GB free - which would make its size closer to 9 GB.</p><p>My next Mini is going to have at least a 256 GB drive or more likely 512GB.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-20T21:34:13Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3983#p3983</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3982#p3982" />
			<content type="html"><![CDATA[<p>Which gfortran returns what you said it should.</p><p>The --reset asked for a password, I assumed it was a system password.</p><p>the xcrun command line returned: 10.15.4</p><p>note that this link also discusses the Clang error: </p><p><a href="https://tinyurl.com/2p8mecj9">https://tinyurl.com/2p8mecj9</a></p><p>Here is another link about it:<br /><a href="https://groups.google.com/g/hande-user/c/dtGvyFTJFWE">https://groups.google.com/g/hande-user/c/dtGvyFTJFWE</a></p><p>Unfortunately, they are speaking a language (system-level stuff), I&#039;m not familiar with.</p><p>This URL brings up XCode into the discussion:<br /><a href="https://groups.google.com/g/hande-user/c/dtGvyFTJFWE">https://groups.google.com/g/hande-user/c/dtGvyFTJFWE</a></p><p>I used to have Xcode on my machine but removed it because I can&#039;t download its updates with ONLY have 32GB free. The App store initially said that&#039;s not enough room. But I clicked to download a second time and now it is slowly downloading.</p><p>I get a little nervous when reading &quot;help&quot; posts on a different forum and they say, &quot;Download xxx from here&quot; and where &quot;here&quot; is a URL link. I don&#039;t know what I&#039;m loading into the system.</p><p>The link seems to bring me to a screen for logging into Apple&#039;s Developer site. But I&#039;m not an Apple Developer.</p><p>Once XCode finishes downloading, probably by Sept 22nd, I&#039;ll install and try SimplyFortran again. The post clearly mentions a change Apple made that involves &quot;clang&quot; for compilation.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-20T19:58:38Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3982#p3982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3981#p3981" />
			<content type="html"><![CDATA[<p>In Simply Fortran, if you open a terminal (via &quot;New Terminal&quot; in the <em>View</em> menu), try entering the following:</p><div class="codebox"><pre><code>which gfortran</code></pre></div><p>It should say <em>/Applications/Simply Fortran.app/Contents/MacOS/gfortran</em>.&nbsp; Is that correct?</p><p>Next, try the following:</p><div class="codebox"><pre><code>sudo xcode-select --reset</code></pre></div><p>to try to reset Apple&#039;s Command-line Development Tools.&nbsp; Next, try:</p><div class="codebox"><pre><code>xcrun --show-sdk-version</code></pre></div><p>What does that command report?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-20T17:49:47Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3981#p3981</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3980#p3980" />
			<content type="html"><![CDATA[<p>I wondered if I had downloaded the Legacy version so I downloaded it again yesterday. It shows the same:</p><p>Version 3.25 Build 3757 (GTK+)</p><p>I&#039;ve restarted the MacMini from ShutDown. I&#039;ve removed, download, and installed the latest Intel SimplyFortran.</p><p>This Link mentions others having the problem:</p><p><a href="https://tinyurl.com/2p8mecj9">https://tinyurl.com/2p8mecj9</a></p><p>I&#039;ll continue searching about the clang error</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-09-20T17:30:30Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3980#p3980</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compile error with OS 12.6]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3979#p3979" />
			<content type="html"><![CDATA[<p>I can&#039;t replicate your issue, but can you check Simply Fortran&#039;s About box?&nbsp; From the application menu, select <em>About Simply Fortran</em>.&nbsp; What is the build number, and does it say &quot;Legacy Host&quot; anywhere?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-20T17:04:17Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3979#p3979</id>
		</entry>
</feed>
