<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Not picking up libraries]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=46</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=46&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Not picking up libraries.]]></description>
		<lastBuildDate>Thu, 08 Dec 2011 14:16:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=152#p152</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 08 Dec 2011 14:16:39 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=152#p152</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=151#p151</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (CliveFortran)]]></author>
			<pubDate>Thu, 08 Dec 2011 11:09:59 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=151#p151</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=149#p149</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 08 Dec 2011 02:21:13 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=149#p149</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=147#p147</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (CliveFortran)]]></author>
			<pubDate>Tue, 06 Dec 2011 11:21:28 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=147#p147</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=142#p142</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 02 Dec 2011 18:07:59 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=142#p142</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=140#p140</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (CliveFortran)]]></author>
			<pubDate>Fri, 02 Dec 2011 16:14:22 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=140#p140</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=138#p138</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 02 Dec 2011 14:34:15 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=138#p138</guid>
		</item>
		<item>
			<title><![CDATA[Not picking up libraries]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=137#p137</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (CliveFortran)]]></author>
			<pubDate>Fri, 02 Dec 2011 11:29:12 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=137#p137</guid>
		</item>
	</channel>
</rss>
