<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — New SF User - Can't Even Get "Hello World" to Work !!]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=358&amp;type=atom" />
	<updated>2014-07-03T17:29:31Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=358</id>
		<entry>
			<title type="html"><![CDATA[Re: New SF User - Can't Even Get "Hello World" to Work !!]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1451#p1451" />
			<content type="html"><![CDATA[<p>Lionel,</p><p>The issue was almost certainly due to the values for your <em>TEMP</em> and <em>TMP</em> environment variables.&nbsp; Simply Fortran&#039;s compiler uses these values, if available, to store temporary files while compiling.&nbsp; Java&#039;s presence or lack thereof would not affect Simply Fortran&#039;s operation.&nbsp; &nbsp;If you do have any other issues, please let us know!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-07-03T17:29:31Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1451#p1451</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New SF User - Can't Even Get "Hello World" to Work !!]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1450#p1450" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>Many thanks for your quick reply.&nbsp; I have fixed the problem but not exactly sure what did the fix:<br />(1) Java was completely missing from my PC (I have no idea what caused it to disappear) and so I reinstalled it (actually had to use the offline version because it wouldn&#039;t let me download it in the usual way);<br />(2) Prior to downloading SF, I had installed MinGW by itself and changed the ENVIRONMENT variables when I did this (I added a PATH variable and set it to &quot;C:\MinGW\bin&quot; and stupidly added &quot;;C:\MinGW\bin&quot; to the end of both the TEMP and TMP variables that were already there) but when I uninstalled MinGW I hadn&#039;t changed the ENVIRONMENT variables back to what they were beforehand, so I did this; and<br />(3) I uninstalled SF, downloaded it again and reinstalled it and didn&#039;t try to change any of the options before I tried to build my simple TestFile.f08.</p><p>Anyway, all is well now.&nbsp; Lets hope that I am better at actually writing Fortran code than installing software !!</p><p>Thanks again.</p><p>Lionel</p>]]></content>
			<author>
				<name><![CDATA[lionelxyz]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3555</uri>
			</author>
			<updated>2014-07-03T04:39:38Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1450#p1450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New SF User - Can't Even Get "Hello World" to Work !!]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1448#p1448" />
			<content type="html"><![CDATA[<p>Lionel,</p><p>After a bit of research, it sounds like there could possibly be a permissions issue related to your temporary files directory or the directory where you&#039;ve saved your project.&nbsp; One option to fix this might&nbsp; be to add the following to Fortran and Linker flags under the Compiler Flags tab in Project Options:</p><div class="codebox"><pre><code>-pipe</code></pre></div><p>The above should force Simply Fortran&#039;s compiler to use pipes rather than temporary files, which may fix your issue.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-07-02T20:28:54Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1448#p1448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New SF User - Can't Even Get "Hello World" to Work !!]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1447#p1447" />
			<content type="html"><![CDATA[<p>Lionel,</p><p>It looks like you may have encountered a compiler bug.&nbsp; I don&#039;t think you&#039;re doing anything wrong.&nbsp; Could you also provide the contents of &quot;TestFile.f08?&quot;</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-07-02T20:17:16Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1447#p1447</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[New SF User - Can't Even Get "Hello World" to Work !!]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=1446#p1446" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Sorry to be so dumb, but I have downloaded and installed the SF software and kind of read all the documentation that comes with it, but I still can&#039;t get a one-line &quot;Hello World!&quot; program to compile sucessfully.</p><p>The Build Status comes back as:</p><p>Generating Makefile... Okay<br />==============================================================================<br />Compiling TestFile.f08</p><p>This application has requested the Runtime to terminate it in an unusual way.<br />Please contact the application&#039;s support team for more information.<br />Error(E42): Last command making (build\TestFile.o) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Failed *</p><p>The contents of the makefile are:</p><p>#<br /># Automagically generated by Approximatrix Simply Fortran 2.14<br />#<br />FC=&quot;C:\Program Files\Simply Fortran 2\mingw-w64\bin\gfortran.exe&quot;<br />CC=&quot;C:\Program Files\Simply Fortran 2\mingw-w64\bin\gcc.exe&quot;<br />AR=&quot;C:\Program Files\Simply Fortran 2\mingw-w64\bin\ar.exe&quot;<br />WRC=&quot;C:\PROGRA~1\SIMPLY~1\MINGW-~1\bin\windres.exe&quot;<br />RM=rm -f</p><p>IDIR=<br /># -I error: Directory C:\Program Files\Simply Fortran 2\mingw-w64\include\ does not exist<br /># -I error: Directory C:\Documents and Settings\Administrator\Local Settings\Application Data\\sfpm\32\include does not exist</p><p>LDIR=-L&quot;C:/Program Files/Simply Fortran 2/mingw-w64/lib/&quot; <br /># -L error: Directory C:\Documents and Settings\Administrator\Local Settings\Application Data\\sfpm\32\lib does not exist</p><p>OPTFLAGS= -g</p><p>SPECIALFLAGS=-m32 $(IDIR)</p><p>RCFLAGS=-O coff -F pe-i386</p><p>PRJ_FFLAGS=</p><p>PRJ_CFLAGS=</p><p>PRJ_LFLAGS=</p><p>FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -Jmodules </p><p>CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)</p><p>&quot;build\TestFile.o&quot;: &quot;TestFile.f08&quot;<br />&nbsp; &nbsp; @echo Compiling TestFile.f08<br />&nbsp; &nbsp; @$(FC) -c -o &quot;build\TestFile.o&quot; $(FFLAGS) &quot;TestFile.f08&quot;</p><p>clean: .SYMBOLIC<br />&nbsp; &nbsp; @echo Deleting build\TestFile.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\TestFile.o&quot;<br />&nbsp; &nbsp; @echo Deleting TestTarget.exe<br />&nbsp; &nbsp; @$(RM) &quot;TestTarget.exe&quot;</p><p>&quot;TestTarget.exe&quot;:&nbsp; &quot;build\TestFile.o&quot;<br />&nbsp; &nbsp; @echo Generating TestTarget.exe<br />&nbsp; &nbsp; @$(FC) -o &quot;TestTarget.exe&quot; -static -m32 &quot;build\TestFile.o&quot; $(LDIR) $(PRJ_LFLAGS)</p><p>all: &quot;TestTarget.exe&quot; .SYMBOLIC</p><p>Would really, really appreciate it if someone out there is able to point out to me what I am doing wrong ?</p><p>Thanks</p><p>Lionel</p>]]></content>
			<author>
				<name><![CDATA[lionelxyz]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3555</uri>
			</author>
			<updated>2014-07-02T13:27:32Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=1446#p1446</id>
		</entry>
</feed>
