<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — FOX]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=239&amp;type=atom" />
	<updated>2013-08-19T00:04:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=239</id>
		<entry>
			<title type="html"><![CDATA[Re: FOX]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=934#p934" />
			<content type="html"><![CDATA[<p>Hi Jeff. The problem is solved just by building the example provided in SF.<br />I opened the SF IDE. click in new projects. In examples I chose fortran XML (FOX) examples. I built and executed the example provided. After that I made a project where I include the wxml_example.f90 and everything went right</p>]]></content>
			<author>
				<name><![CDATA[jose.e.choy]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3469</uri>
			</author>
			<updated>2013-08-19T00:04:52Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=934#p934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FOX]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=933#p933" />
			<content type="html"><![CDATA[<p>dear Jeff:</p><p>With the changes I made, sax_example_2.f90 builds with no issue. So, I tried with wxml_example_f90.</p><p>It did not built, but I could not copy and paste the errors message. So, I will transcript a line of the error message (that report the first error encountered by the compiler):</p><p>C:\Users\jose.e.choy\codigos\fox_wxml/ ./wxml_example.f90:11 undefined reference to `__m_wxml_core_MOD_xml_openfile&#039;</p><p>These lines from the makefile maybe could be useful:</p><br /><p>IDIR=-IC:/Users/jose.e.choy/AppData/Local/sfpm/32/include -IC:/Users/jose.e.choy/AppData/Local/sfpm/32/include <br /># -I error: Directory C:\Program Files (x86)\Simply Fortran 2\mingw-w64\include\ does not exist</p><p>LDIR=-LC:/PROGRA~2/SIMPLY~2/MINGW-~1/lib/ -LC:/Users/jose.e.choy/AppData/Local/sfpm/32/lib -LC:/Users/jose.e.choy/AppData/Local/sfpm/32/lib </p><p>I am using windows 7 64 bits. In project options I chose 32 bits</p>]]></content>
			<author>
				<name><![CDATA[jose.e.choy]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3469</uri>
			</author>
			<updated>2013-08-18T20:49:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=933#p933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FOX]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=932#p932" />
			<content type="html"><![CDATA[<p>Jose,</p><p>I just tried building the FoX example from the package manager myself, and I didn&#039;t encounter the issue you were reporting.&nbsp; I don&#039;t have a good explanation as to why you would have had this problem.&nbsp; What was the error you originally encountered?&nbsp; Can you replicate it by starting from the example project again?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-18T13:25:56Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=932#p932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FOX]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=931#p931" />
			<content type="html"><![CDATA[<p>Dear Jeff:<br />I managed to compile correctly the&nbsp; sax_example_2.f90 program. I downloaded the files of the fox package (from the fox website) and placed in a directory all the xxx.f90 files necessary to generate the xxx.mod required by sax_example_2.f90. I created a project and added&nbsp; the xxx.f90 files, and SF built the executable without any problem. I launched the program and it executed correctly.<br />Then, I substituted the old xxx.mod files in the include directory created by SFPM with the new ones. This solved the issue</p>]]></content>
			<author>
				<name><![CDATA[jose.e.choy]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3469</uri>
			</author>
			<updated>2013-08-18T04:15:39Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=931#p931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[FOX]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=930#p930" />
			<content type="html"><![CDATA[<p>I installed the fox package, and tried to build the sax_example_2.f90, but I got some errors message because the compiler can not find the modules or the libaries. The makefile is:<br />#<br /># Automagically generated by Approximatrix Simply Fortran<br />#<br />FC=&quot;C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin\gfortran.exe&quot;<br />CC=&quot;C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin\gcc.exe&quot;<br />AR=&quot;C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin\ar.exe&quot;<br />TOUCH=&quot;C:\Program Files (x86)\Simply Fortran 2\fwin\wtouch.exe&quot;<br />WRC=&quot;C:\PROGRA~2\SIMPLY~2\MINGW-~1\bin\windres.exe&quot;<br />RM=rm -f</p><p>IDIR=-IC:/Users/jose.e.choy/AppData/Local/sfpm/32/include -IC:/Users/jose.e.choy/codigos/kml_for/../../AppData/Local/sfpm/32/include <br /># -I error: Directory C:\Program Files (x86)\Simply Fortran 2\mingw-w64\include\ does not exist</p><p>LDIR=-LC:/PROGRA~2/SIMPLY~2/MINGW-~1/lib/ -LC:/Users/jose.e.choy/AppData/Local/sfpm/32/lib -LC:/Users/jose.e.choy/codigos/kml_for/../../AppData/Local/sfpm/32/lib </p><br /><p>SPECIALFLAGS=-g -m32 $(IDIR)</p><p>RCFLAGS=-O coff -F pe-i386</p><p>PRJ_FFLAGS=<br />PRJ_CFLAGS=<br />PRJ_LFLAGS=</p><p>FFLAGS=$(SPECIALFLAGS)&nbsp; $(PRJ_FFLAGS) -Jmodules </p><p>CFLAGS=-g -m32&nbsp; $(IDIR) $(PRJ_CFLAGS)</p><p>&quot;build\sax_example_2.o&quot;: &quot;.\sax_example_2.f90&quot;<br />&nbsp; &nbsp; $(FC) -c -o &quot;build\sax_example_2.o&quot; $(FFLAGS) &quot;.\sax_example_2.f90&quot;<br />&quot;modules\m_handlers.mod&quot;: &quot;build\sax_example_2.o&quot;<br />&nbsp; &nbsp; $(TOUCH) -c &quot;modules\m_handlers.mod&quot;</p><p>clean: .SYMBOLIC<br />&nbsp; &nbsp; $(RM) &quot;build\sax_example_2.o&quot; &quot;modules\m_handlers.mod&quot;<br />&nbsp; &nbsp; $(RM) &quot;Project.exe&quot;</p><p>&quot;Project.exe&quot;:&nbsp; &quot;build\sax_example_2.o&quot;<br />&nbsp; &nbsp; $(FC) -o &quot;Project.exe&quot; -static -m32 &quot;build\sax_example_2.o&quot; $(LDIR) $(PRJ_LFLAGS)</p><p>all: &quot;Project.exe&quot; .SYMBOLIC</p>]]></content>
			<author>
				<name><![CDATA[jose.e.choy]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3469</uri>
			</author>
			<updated>2013-08-17T04:15:27Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=930#p930</id>
		</entry>
</feed>
