<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — GTk+ sample 'Hello' not working]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=183&amp;type=atom" />
	<updated>2013-04-10T13:39:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=183</id>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=727#p727" />
			<content type="html"><![CDATA[<p>It does indeed.<br />We shouldn&#039;t expect you to spoonfeed us like this!<br />---<br />Thanks Jeff,<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-04-10T13:39:14Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=727#p727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=726#p726" />
			<content type="html"><![CDATA[<p>John,</p><p>Examining your makefile more carefully, I believe the issue is the optimization flag you have configured in Compiler Options.&nbsp; I see the flag </p><div class="codebox"><pre><code>-o3</code></pre></div><p> in your compiler flags.&nbsp; The optimization flag is actually </p><div class="codebox"><pre><code>-O3</code></pre></div><p> and it is case-sensitive.&nbsp; I&#039;m not sure in exactly what way the compiler call is failing, but the lowercase -o is probably instructing the compiler to generate the output file &quot;3,&quot; overriding the previous request to generate the output file &quot;build/example.o.&quot;&nbsp; Everything should work fine if you change this compiler flag.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-04-10T12:19:37Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=726#p726</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=725#p725" />
			<content type="html"><![CDATA[<p>I used the supplied example.<br />I just selected it, saved as directed, then clicked &#039;build&#039;.</p><p>I&#039;ve just used SFPM to uninstall and then re-install.<br />Same result when I try to BUILD.</p><p>When I look in the build and modules directories, there are no object files there.</p><p>I noticed that there is an icon file.&nbsp; I&#039;ve tried BUILDing with and without the icon selected in options&gt;project.&nbsp; Same result<br />.</p><p>I&#039;ve just noticed that you have included a GTk+ help link in tools.&nbsp; I must say, GTk+ looks very promising indeed.<br />I hope we are going to able to use it with SF GFortran.<br />--- <br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-04-09T22:59:36Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=725#p725</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=724#p724" />
			<content type="html"><![CDATA[<p>John,</p><p>I just did a fresh install of Gtk on a clean system, and I&#039;m not having the issue you&#039;ve reported.&nbsp; Additionally, I see that your makefile makes no mention of the application&#039;s icon, which is odd if you&#039;re working with the shipped example.</p><p>Did you create the project from scratch yourself, or did you use the example project?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-04-09T19:34:50Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=724#p724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=723#p723" />
			<content type="html"><![CDATA[<p>Yep</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-04-09T19:00:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=723#p723</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=722#p722" />
			<content type="html"><![CDATA[<p>John,</p><p>Can you open example.c in the editor?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-04-09T18:11:27Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=722#p722</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[GTk+ sample 'Hello' not working]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=721#p721" />
			<content type="html"><![CDATA[<p>Test compilation and build of the example provided by SFPM<br />using the GTk+</p><p>...fails.</p><p>Details thus:<br />Generating Makefile... Okay<br />==============================================================================<br />Open Watcom Make Version 1.9 (Built on Feb&nbsp; 4 2013)<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)\Fortran\SF\mingw-w64\bin\gcc.exe&quot; -c -o &quot;build\example.o&quot; -m32 -o3 -ID:/JWasilewski/AppData/Local/sfpm/32/include -mms-bitfields &quot;.\example.c&quot;<br />Error(F38): (build\example.o) does not exist and cannot be made from existing files<br />Error(E02): Make execution terminated<br />* Complete *</p><br /><p>#<br /># Automagically generated by Approximatrix Simply Fortran<br />#<br />FC=&quot;C:\Program Files (x86)\Fortran\SF\mingw-w64\bin\gfortran.exe&quot;<br />CC=&quot;C:\Program Files (x86)\Fortran\SF\mingw-w64\bin\gcc.exe&quot;<br />AR=&quot;C:\Program Files (x86)\Fortran\SF\mingw-w64\bin\ar.exe&quot;<br />TOUCH=&quot;C:\Program Files (x86)\Fortran\SF\fwin\wtouch.exe&quot;<br />WRC=&quot;C:\PROGRA~2\Fortran\SF\MINGW-~1\bin\windres.exe&quot;<br />RM=del<br />IDIR=-ID:/JWasilewski/AppData/Local/sfpm/32/include <br /># -I error: Directory C:\Program Files (x86)\Fortran\SF\mingw-w64\include\ does not exist<br />LDIR=-LC:/PROGRA~2/Fortran/SF/MINGW-~1/lib/ -LD:/JWasilewski/AppData/Local/sfpm/32/lib</p><p>SPECIALFLAGS=-march=athlon64 -m32 $(IDIR)<br />RCFLAGS=-O coff -F pe-i386<br />PRJ_FFLAGS=<br />PRJ_CFLAGS=-mms-bitfields<br />PRJ_LFLAGS=-lgtk-win32-2.0.dll -lgdk-win32-2.0.dll -lgthread-2.0.dll -lgdi32 -lole32 -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpangowin32-1.0.dll -lpango-1.0.dll -lgobject-2.0.dll -lgmodule-2.0.dll -lglib-2.0.dll -lintl.dll<br />FFLAGS=$(SPECIALFLAGS)&nbsp; $(PRJ_FFLAGS) -Jmodules<br />CFLAGS=-m32 -o3 $(IDIR) $(PRJ_CFLAGS)</p><p>&quot;build\example.o&quot;: &quot;.\example.c&quot;<br />&nbsp; &nbsp; $(CC) -c -o &quot;build\example.o&quot; $(CFLAGS) &quot;.\example.c&quot;<br />clean: .SYMBOLIC<br />&nbsp; &nbsp; $(RM) &quot;build\example.o&quot;<br />&nbsp; &nbsp; $(RM) &quot;helloworld.exe&quot;<br />&quot;helloworld.exe&quot;:&nbsp; &quot;build\example.o&quot;<br />&nbsp; &nbsp; $(FC) -o &quot;helloworld.exe&quot; -static -m32 &quot;build\example.o&quot; $(LDIR) $(PRJ_LFLAGS)<br />all: &quot;helloworld.exe&quot; .SYMBOLIC</p><p>----<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-04-09T16:33:10Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=721#p721</id>
		</entry>
</feed>
