<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Not picking up libraries]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=46&amp;type=atom" />
	<updated>2011-12-08T14:16:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=46</id>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=152#p152" />
			<content type="html"><![CDATA[<p>After installation of version 1.22, did you reset the compiler paths within Simply Fortran?&nbsp; This step can either be done manually, or, alternatively, you can select &#039;Restore Defaults...&#039; from the Options menu to reset the compiler paths automatically.</p><p>If you did reset them and are still experiencing issues, can you check what your current system path is?&nbsp; The directory containing the compilers should be on the path, and it sometimes fixes these type of problems if the compilers are not on the path.&nbsp; </p><p>Let me know if either of these helps fix the issue.&nbsp; If not, we&#039;ll have to think of some more ideas.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2011-12-08T14:16:39Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=152#p152</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=151#p151" />
			<content type="html"><![CDATA[<p>I was using 1.21 so I have upgraded to 1.22 and the same thing happens and also when I open the fortran based project I get the same error from f951.exe</p>]]></content>
			<author>
				<name><![CDATA[CliveFortran]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=281</uri>
			</author>
			<updated>2011-12-08T11:09:59Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=151#p151</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=149#p149" />
			<content type="html"><![CDATA[<p>I&#039;m not sure why there&#039;d be an issue with the compiler.&nbsp; Have you installed version 1.22 of Simply Fortran?&nbsp; It now contains the GNU C++ compiler itself, and you shouldn&#039;t need a separate MinGW installation.&nbsp; That said, you might still encounter the same issue with the version shipped with Simply Fortran.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2011-12-08T02:21:13Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=149#p149</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=147#p147" />
			<content type="html"><![CDATA[<p>I have downloaded the MinGw libraries from the link above and changed SimplyFortran to point to its compilers but when I try to build the C code I get an error dialog box</p><p>cc1plus.exe - Application error</p><p>The application was unable to start correctly (0xc0000013)</p><p>Any ideas?<br />I am using Windows 7, is there a compatibility issue?</p>]]></content>
			<author>
				<name><![CDATA[CliveFortran]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=281</uri>
			</author>
			<updated>2011-12-06T11:21:28Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=147#p147</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=142#p142" />
			<content type="html"><![CDATA[<p>This error is occurring because Simply Fortran doesn&#039;t include the GNU C++ compiler.&nbsp; What is actually happening is that gcc is calling out to g++, but the executable isn&#039;t found.&nbsp; The &quot;CreateProcess&quot; error is because the executables associated with the C++ compiler are not present.&nbsp; </p><p>There are a few options for fixing the issue.&nbsp; If there was enough interest, the GNU C++ compiler could be included with Simply Fortran.&nbsp; Another option would be a separate installer to &quot;add&quot; GNU C++ to a current Simply Fortran installation.&nbsp; Finally, if you&#039;d rather not wait, you can install the MinGW package from <a href="http://mingw.org/">MinGW</a> and modify the Simply Fortran compiler locations to point at the MinGW installation.</p><p>If you need more specific assistance, feel free to email support@approximatrix.com.&nbsp; I&#039;d also like to hear what other users think about including GNU C++.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2011-12-02T18:07:59Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=142#p142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=140#p140" />
			<content type="html"><![CDATA[<p>Yes, all the unresolved externals are routines that should be found in the libraries.</p><p>All the code in the libraries is C or C++ apart from 1 routine in one of the libraries and if compiler incompatibilty was going to be a problem I was going to tackle that later.</p><p>The libraries as they stand have been compiled using the Intel C compiler but I thought that I would try to compile them using the SF gcc compiler but...</p><p>Open Watcom Make Version 1.9<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:\Users\User\Documents\programs_local\Simply Fortran\mingw\bin\gcc.exe&quot; -c -o build\Cutil.o -I&quot;C:/Users/User/Documents/programs_local/Simply Fortran/mingw/include/&quot; -IC:/Users/User/Documents/oslo_vision_visual10/Include&nbsp; .\Cutil.cpp<br />gcc.exe: error: CreateProcess: No such file or directory<br />Error(E42): Last command making (build\Cutil.o) returned a bad status<br />Error(E02): Make execution terminated<br />* Complete *</p><p>I don&#039;t know why it is looking for CreateProcess as it is not called from this code. </p><p>I do use CreateProcess in other C++ code that I use so I do know it is available on my machine, it is a standard MS function anyway.</p>]]></content>
			<author>
				<name><![CDATA[CliveFortran]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=281</uri>
			</author>
			<updated>2011-12-02T16:14:22Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=140#p140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=138#p138" />
			<content type="html"><![CDATA[<p>There could be a few things that could be causing the problem.&nbsp; Do you recognize the undefined references as being routines that should be provided by your library?&nbsp; If so, my first guess would be that the libraries themselves should be recompiled if possible.&nbsp; The most likely culprit would be any libraries that are composed of Fortran code.&nbsp; Additionally, a Fortran library that was built with the Intel compiler will expect to be linked with the Intel Fortran runtime, which will not be present when linking with Simply Fortran.</p><p>As far as the garbage output is concerned, I&#039;m not sure why that is happening.&nbsp; It might fix itself if the undefined references are cleared up.</p><p>Let me know if things improve.&nbsp; I&#039;ll be happy to provide more assistance.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2011-12-02T14:34:15Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=138#p138</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Not picking up libraries]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=137#p137" />
			<content type="html"><![CDATA[<p>I have inherited a large project (which has numerous issues and very badly written fortran but I wont go into that) which I manage using MS visual studio 2010 and the Intel compiler.</p><p>However, I thought I would give SimplyFortran a go as it is always worth using more than 1 compiler where possible to reveal portability issues etc.</p><p>But, I can&#039;t get SimplyFortran to pick up some precompiled libraries, which are written in a mixture of Fortran and C.</p><p>I specify the libraries and the folder in the correct place in the IDE and so the top of the Makefile is</p><p>FC=&quot;C:\Users\User\Documents\programs_local\Simply Fortran\mingw\bin\gfortran.exe&quot;<br />CC=&quot;C:\Users\User\Documents\programs_local\Simply Fortran\mingw\bin\gcc.exe&quot;<br />AR=&quot;C:\Users\User\Documents\programs_local\Simply Fortran\mingw\bin\ar.exe&quot;</p><p>TOUCH=&quot;C:\Users\User\Documents\programs_local\Simply Fortran\fwin\wtouch.exe&quot;<br />RM=del<br />IDIR=-I&quot;C:/Users/User/Documents/programs_local/Simply Fortran/mingw/include/&quot; <br />LDIR=-L&quot;C:/Users/User/Documents/programs_local/Simply Fortran/mingw/lib/&quot; -LC:/Users/User/Documents/lib <br />SPECIALFLAGS=$(IDIR)<br />PRJ_FFLAGS= <br />PRJ_CFLAGS=<br />PRJ_LFLAGS=-lstress -lfutil -lcutil -lsimulator_lib</p><br /><p>the libraries are in the folder and called libstress.a etc.</p><br /><p>The final build statement in the Makefile is</p><p>Simulator4.exe:&nbsp; build\adddec.o ...&nbsp; &nbsp; $(FC) -o Simulator4.exe -static build\adddec.o ... $(LDIR) $(PRJ_LFLAGS)</p><p>(... indicates the whole set of object files that have been compiled).</p><p>However, when I try to build I get a whole lot of unresolved reference errors before it gives up the ghost printing garbage.</p><p>build\lsu0cfe(+fse(ol0st0:r0<br />e:x.o:.f nre:tdo_dedo(bbri)liewoe xcrdf.tbien(uebrsnd+0ec2rfeo .:efi<br />ec`d.lseetoine.oc.ce&nbsp; 7a&#039;et2atle.et<br />+lic0<br />n.<br />fllm&nbsp; .edt&#039;e:0oei0s<br />u(<br />t<br />nc eintogile.e ra:v soe0.\ef<br />epcutnt\e+teteroreentl x<br />tdteotoeeSnt`v_fOldx ox preb d_db</p><p>I have tried with and without the -nounderscore option on the compiler but it makes no difference.</p><p>What am I doing wrong?</p><p>TIA</p>]]></content>
			<author>
				<name><![CDATA[CliveFortran]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=281</uri>
			</author>
			<updated>2011-12-02T11:29:12Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=137#p137</id>
		</entry>
</feed>
