<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Adding in Libraries for 32 and 64 bit]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=322&amp;type=atom" />
	<updated>2014-02-24T12:46:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=322</id>
		<entry>
			<title type="html"><![CDATA[Re: Adding in Libraries for 32 and 64 bit]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1313#p1313" />
			<content type="html"><![CDATA[<p>Dave,</p><p>You can save the libraries anywhere sensible.&nbsp; I would strongly suggest that the actual library file be named <strong>lib</strong>fltk.a or something similar.&nbsp; The <strong>lib</strong> prefix is important because the compiler prefers this format.</p><p>When you&#039;re attempting to access them in another project, you&#039;ll need to add two things to your project options.&nbsp; First, open the Project Options dialog and select the <em>File Locations</em> tab.&nbsp; You&#039;ll see a button labeled &quot;Search Directories.&quot;&nbsp; Click this button to open the Directories dialog.&nbsp; Next, select the <em>Library Directories</em> tab and click the &quot;Add&quot; button.&nbsp; Navigate in the selection dialog to the directory where your FLTK library of the appropriate architecture lies.&nbsp; Select &quot;Ok&quot; to close the selection dialog, then select &quot;Ok&quot; to close the Directories dialog.</p><p>To actually add a reference to your library, you&#039;ll next need to select the <em>Compiler Flags</em> tab in the Project Options dialog.&nbsp; In this tab, you&#039;ll need to enter your library in the Linker box.&nbsp; In this example, enter:</p><div class="codebox"><pre><code>-lfltk</code></pre></div><p>The format will be a dash followed by a lowercase &quot;L&quot; followed by the name of the library minus the <strong>lib</strong> prefix and without any extension.&nbsp; Select Ok to close the Project Options dialog.&nbsp; Now save your project and perform a Clean and Build.</p><p>Let me know if the above makes sense.&nbsp; I&#039;ll be happy to provide additional assistance.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-02-24T12:46:18Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1313#p1313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding in Libraries for 32 and 64 bit]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1311#p1311" />
			<content type="html"><![CDATA[<p>As this is not a standard delivered package that will not work.</p><p>I am trying to write the fortran interface for this c++ library</p><br /><p>Thanks </p><p>Dave</p>]]></content>
			<author>
				<name><![CDATA[dave.swabey]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3507</uri>
			</author>
			<updated>2014-02-24T11:44:21Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1311#p1311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding in Libraries for 32 and 64 bit]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1309#p1309" />
			<content type="html"><![CDATA[<p>I&#039;m not 100% sure of this but is it not in . . .</p><p>&nbsp; &nbsp;OPTIONS &gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Project Options &gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; Compiler flags &gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; Package flags</p><p>---<br />??</p><p>Jw</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2014-02-23T23:44:28Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1309#p1309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding in Libraries for 32 and 64 bit]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1308#p1308" />
			<content type="html"><![CDATA[<p>I have created 32 and 64 bit libraries for the Fltk software. Where do I have to add them so that SF can access the correct ones when I link either a 32 or 64 bit version of my fortran.</p>]]></content>
			<author>
				<name><![CDATA[dave.swabey]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3507</uri>
			</author>
			<updated>2014-02-23T22:56:55Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1308#p1308</id>
		</entry>
</feed>
