<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — How to use GSL]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=703&amp;type=atom" />
	<updated>2019-01-04T11:27:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=703</id>
		<entry>
			<title type="html"><![CDATA[Re: How to use GSL]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3259#p3259" />
			<content type="html"><![CDATA[<p>This is Kato Tomohisa from Japan.<br />It is solved.<br />I add linker option (compiler flafs) &quot;-lgsl&quot;.<br />Thank you.</p>]]></content>
			<author>
				<name><![CDATA[Kato Tomohisa]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3571</uri>
			</author>
			<updated>2019-01-04T11:27:34Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3259#p3259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to use GSL]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=3258#p3258" />
			<content type="html"><![CDATA[<p>This is Kato Tomohisa from Japan.<br />I want to use GSL.</p><p>I installed GSL by SF Pakage Manager.<br />I edit program below.<br />But I can&#039;t build.<br />How I set Include and Lib.</p><p>#include &lt;stdio.h&gt;<br />#include &lt;gsl/gsl_sf_bessel.h&gt;</p><p>Program source<br />int main (void)<br />{<br />&nbsp; double x = 5.0;<br />&nbsp; double y = gsl_sf_bessel_J0 (x);<br />&nbsp; printf (&quot;J0(%g) = %.18e\n&quot;, x, y);<br />&nbsp; return 0;<br />}</p><p>Massage<br />==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Generating target.exe<br />build\bessel.o: In function `main&#039;:<br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br />D:\@ProgramSource\c/./bessel.c:8: undefined reference to `gsl_sf_bessel_J0&#039;<br />collect2.exe: error: ld returned 1 exit status<br />Error: Last command making (target.exe) returned a bad status<br />Error: Make execution terminated</p><p>* Failed *</p>]]></content>
			<author>
				<name><![CDATA[Kato Tomohisa]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3571</uri>
			</author>
			<updated>2019-01-04T10:23:23Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=3258#p3258</id>
		</entry>
</feed>
