<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=407</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=407&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Gtk-Fortran examples: runtime crash 0xc000007b.]]></description>
		<lastBuildDate>Sat, 20 Dec 2014 00:25:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1722#p1722</link>
			<description><![CDATA[<p>Thanks Jeff.&nbsp; I can confirm that SF2.18.1781 has cured the problem of error(F37): recursively defined object files.</p><p>I am still getting the 0xc000007b runtime crashes, , but its only this which is going wrong now, so&nbsp; I&#039;ve changed the topic name to refer only to this problem.</p><p>I have tried and tried to find a way to make one of the Gtk3+ Fortran examples run for me, and I know you&#039;ve also been grinnding away at this same problem but, if you can&#039;t even reproduce it, this is a big hindrance.</p><p>I&#039;ll email my project directory for the Gtk3 Fortran examples, so you can see how the Package Manager set it up on my laptop, in case there are any clues to be had from this.</p><p>My laptop, by the way, has Win7 64-bit.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Sat, 20 Dec 2014 00:25:46 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1722#p1722</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1721#p1721</link>
			<description><![CDATA[<p>John,</p><p>A new build (1781) of version 2.18 is now available from the <a href="http://simplyfortran.com/download/">Download page</a> that should fix the dependency issue.&nbsp; I still need to work out the problem you&#039;ve reported with the Windows error.&nbsp; I can&#039;t yet reproduce it.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 19 Dec 2014 20:21:44 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1721#p1721</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1718#p1718</link>
			<description><![CDATA[<p>..and I&#039;ve tried simply deleting C:\Windows\SysWOW64\msvcp110.dll.<br />That didn&#039;t cure the problem either.<br />--- <br />J.</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 19 Dec 2014 14:00:44 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1718#p1718</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1717#p1717</link>
			<description><![CDATA[<p>I&#039;ve tried replacing C:\Windows\SysWOW64\msvcp110.dll.<br />It didn&#039;t cure the problem.<br />--- <br />J.</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 19 Dec 2014 10:04:07 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1717#p1717</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1716#p1716</link>
			<description><![CDATA[<p>John,</p><p>While I was hoping the error was only due to a bad resource file, it sounds more complicated.&nbsp; The error &quot;0xc000007b&quot; actually means that the program is a &quot;bad image format,&quot; but that description is misleading.&nbsp; It is most likely due to a DLL issue on the system.&nbsp; The DLL issue may be caused by the GTK+ libraries themselves, but I can&#039;t replicate the issue at this time.&nbsp; I will continue trying to do so, however.&nbsp; Searching the Internet for this exact error message turns up countless explanations and solutions, none of which are guaranteed to work.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 19 Dec 2014 03:33:30 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1716#p1716</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1714#p1714</link>
			<description><![CDATA[<p>If you mean, in project options, de-select whatever icon image appears at the RHS of the options dialog box, well there was no icon selected.&nbsp; The icon image panel is blank.</p><p>I&#039;ve also tried de-selecting the Windows GUI option.&nbsp; <br />For me, it still crashes at runtime, with &quot;Unable to start correctly (0xc000007b)&quot;.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Thu, 18 Dec 2014 22:26:36 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1714#p1714</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1708#p1708</link>
			<description><![CDATA[<p>John,</p><p>The error you&#039;re seeing originally (0xc000007b) is probably related to the icon in the GTK+ for some reason.&nbsp; I don&#039;t have an explanation for that as I don&#039;t seem to be getting that issue.&nbsp; You could try disabling the icon.</p><p>The recursive definition appears to be another bug related to dependency checks in Simply Fortran.&nbsp; All the files in the GTK+ examples create a module &quot;handlers&quot; that seems to not be cleared/redefined properly when files are activated/deactivated.&nbsp; I&#039;ll have a fix for it this afternoon.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 18 Dec 2014 12:48:42 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1708#p1708</guid>
		</item>
		<item>
			<title><![CDATA[Gtk-Fortran examples: runtime crash 0xc000007b]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1707#p1707</link>
			<description><![CDATA[<p>I write to report a difficulty with the Gtk3-Fortran examples.<br />-----<br />On opening the Gtk3-Fortran examples, I saved the project file in a folder called &quot;Gtk-F examples&quot;, with filename &quot;Gtk-F examples.prj). </p><p>The first example, bazaar.f90 then compiled and built OK.<br />When I tried to run it, I received this error message:<br />Application error.&nbsp; Unable to start correctly (0xc000007b).&nbsp; Click OK to close the application.&nbsp; </p><p>After closing, CLEANing and repeating, same result.</p><p>Next: I CLEANed again, then disabled bazaar.f9, enabled cairo-basics-click.f90, and tried to compile and build.&nbsp; This gave a Make error:<br />==================================<br />Generating Makefile... Okay<br />==================================<br />Error(F37): Target (build\cairo-basics-click.o) is defined recursively<br />Error(E02): Make execution terminated<br />* Failed *</p><p>Next, CLEAN, disable cairo-basics-click.f90 and re-enable bazaar.f90, compile and build: AND THIS TIME, bazaar.f90 also fails to build (even though it did build before:<br />==================================<br />Generating Makefile... Okay<br />==================================<br />Error(F37): Target (build\bazaar.o) is defined recursively<br />Error(E02): Make execution terminated<br />* Failed *</p><p>So now examine the Makefile:<br />Here&#039;s the whole file:</p><p>#<br /># Automagically generated by Approximatrix Simply Fortran 2.18<br />#<br />FC=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\gfortran.exe&quot;<br />CC=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\gcc.exe&quot;<br />AR=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\ar.exe&quot;<br />WRC=&quot;C:\PROGRA~2\Fortran\SF2\MINGW-~1\bin\windres.exe&quot;<br />RM=rm -f</p><p>IDIR=-IC:/Users/jwasilewski/AppData/Local///sfpm/32/include <br /># -I error: Directory C:\Program Files (x86)\Fortran\SF2\mingw-w64\include\ does not exist</p><p>LDIR=-LC:/PROGRA~2/Fortran/SF2/MINGW-~1/lib/ -LC:/Users/jwasilewski/AppData/Local///sfpm/32/lib </p><br /><p>OPTFLAGS= -g</p><p>SPECIALFLAGS=-m32 $(IDIR)</p><p>RCFLAGS=-O coff -F pe-i386</p><p>PRJ_FFLAGS=</p><p>PRJ_CFLAGS=-mms-bitfields</p><p>PRJ_LFLAGS=-lgtk-3-fortran -lgtk-3.dll -lgdk-3.dll -lgthread-2.0.dll -lgdi32 -lole32 -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpangowin32-1.0.dll -lpango-1.0.dll -lcairo.dll -lcairo-gobject.dll -lgobject-2.0.dll -lgmodule-2.0.dll -lglib-2.0.dll -lintl.dll</p><p>FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -Jmodules </p><p>CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)</p><p>&quot;build\bazaar.o&quot;: &quot;.\bazaar.f90&quot;<br />&nbsp; &nbsp; @echo Compiling .\bazaar.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;build\bazaar.o&quot; $(FFLAGS) &quot;.\bazaar.f90&quot;<br />&quot;modules\my_widgets.mod&quot; &quot;modules\handlers.mod&quot; : &quot;build\bazaar.o&quot; .EXISTSONLY<br />&nbsp; &nbsp; @echo Compiling .\bazaar.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;build\bazaar.o&quot; $(FFLAGS) &quot;.\bazaar.f90&quot;</p><p>clean: .SYMBOLIC<br />&nbsp; &nbsp; @echo Deleting build\bazaar.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\bazaar.o&quot; &quot;modules\my_widgets.mod&quot; &quot;modules\handlers.mod&quot;<br />&nbsp; &nbsp; @echo Deleting build\cairo-basics-click.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\cairo-basics-click.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\cairo-basics.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\cairo-basics.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\cairo-tests.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\cairo-tests.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_assistant.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_assistant.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_cairo1.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_cairo1.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_cairo_clock.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_cairo_clock.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_choosers.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_choosers.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_combo.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_combo.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_containers.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_containers.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_dialog.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_dialog.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_infobar.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_infobar.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_list1.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_list1.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_list_n.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_list_n.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_list_renderers.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_list_renderers.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_menu.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_menu.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_pbar.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_pbar.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_pbar_p.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_pbar_p.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_radio.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_radio.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_sliders.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_sliders.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_sliders2.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_sliders2.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_textview.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_textview.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\hl_tree.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\hl_tree.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\julia_pixbuf.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\julia_pixbuf.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\list_demo.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\list_demo.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\mandelbrot.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\mandelbrot.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\mandelbrot_pixbuf.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\mandelbrot_pixbuf.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\mandelbrot_pixbuf_zoom.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\mandelbrot_pixbuf_zoom.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\menu.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\menu.o&quot;<br />&nbsp; &nbsp; @echo Deleting build\notebooks.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;build\notebooks.o&quot;<br />&nbsp; &nbsp; @echo Deleting default icon resource<br />&nbsp; &nbsp; @$(RM) &quot;build\default_icon.res&quot;<br />&nbsp; &nbsp; @echo Deleting gtk-fortran-ex.exe<br />&nbsp; &nbsp; @$(RM) &quot;gtk-fortran-ex.exe&quot;</p><p>&quot;gtk-fortran-ex.exe&quot;:&nbsp; &quot;build\bazaar.o&quot;<br />&nbsp; &nbsp; @echo Generating gtk-fortran-ex.exe<br />&nbsp; &nbsp; @$(FC) -o &quot;gtk-fortran-ex.exe&quot; -static -m32 -mwindows &quot;build\bazaar.o&quot; $(LDIR) $(PRJ_LFLAGS)</p><p>all: &quot;gtk-fortran-ex.exe&quot; .SYMBOLIC<br />---- <br />End of report<br />---<br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Thu, 18 Dec 2014 00:53:52 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1707#p1707</guid>
		</item>
	</channel>
</rss>
