<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Greets Hans</div><div><br></div>The site seems be down at the moment <div><p> Reason: <strong>Error reading from remote server</strong></p><p></p><hr>

<address>Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/4.4.4-8+etch6 mod_ssl/2.2.9 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.0 Server at <a href="http://puredata.info">puredata.info</a> Port 80</address></div><div><br></div><div>

but just to let you know  I did get the make file from the online site I didn&#39;t make it myself there just may have been a typo in it.</div><div><br></div><div>I&#39;m just not sure why it&#39;s saying &quot;couldn&#39;t create&quot; when I try and add my external in PD</div>

<div><br></div><div>aloha</div><div>Rick</div><br><div class="gmail_quote">On Sat, Sep 10, 2011 at 12:26 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
There is no need to write your own build system, use the Library Template, it&#39;ll then build on GNU/Linux, Mac OS X, Windows, Android, etc.<br>
<br>
<a href="http://puredata.info/docs/developer/LibraryTemplate" target="_blank">http://puredata.info/docs/<u></u>developer/LibraryTemplate</a><br>
<br>
.hc<div><div></div><div class="h5"><br>
<br>
On Sep 10, 2011, at 5:45 PM, Martin Peach wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It should be -export-dynamic, not -export_dynamic.<br>
<br>
Martin<br>
<br>
<br>
On 2011-09-10 17:34, Rick T wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings All<br>
<br>
I&#39;m having trouble getting my external to work, It compiles with no<br>
errors and has 1 warning when I do a make but it completes<br>
successfully see warning below.<br>
<br>
cc -export_dynamic -shared  -lc -lm -DPD -O2 -funroll-loops<br>
-fomit-frame-pointer -fPIC -Wall -W -Wshadow -Wstrict-prototypes -Werror<br>
-Wno-unused -Wno-parentheses -Wno-switch -I../../../../pd/src -o<br>
sineq.pd_linux sineq.c<br>
/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting<br>
to 0000000000000980<br>
strip --strip-unneeded sineq.pd_linux<br>
make[1]: Leaving directory `/home/rat/Documents/pd/code&#39;<br>
Compilation finished successfully.<br>
<br>
I copy over the sineq.pd_linux to the pd-externals directory but when I<br>
try and add the external in PD it says &quot;couldn&#39;t create&quot; on the main<br>
console screen.<br>
<br>
Here&#39;s a link to the workflow of my thinking and what I&#39;m trying to do,<br>
notice I have 4 float inputs and 1 signal output<br>
<a href="http://dl.dropbox.com/u/6576402/questions/pd/Sine_EQ_Diagram.jpg" target="_blank">http://dl.dropbox.com/u/<u></u>6576402/questions/pd/Sine_EQ_<u></u>Diagram.jpg</a><br>
<br>
Link to code: (Pastebin)<br>
<a href="http://pastebin.com/wW9H4pWY" target="_blank">http://pastebin.com/wW9H4pWY</a><br>
<br>
Link to makefile (pastebin)<br>
<a href="http://pastebin.com/z9aTYVNY" target="_blank">http://pastebin.com/z9aTYVNY</a><br>
<br>
My external is a reproduction of the sinewave equation with 4 inputs<br>
that are floats and one output signal my logic is to have 4 inlets one<br>
for the frequency,amplitude,phase and vertical offset and an output for<br>
the created signal.  Granted this isn&#39;t the final equation but this will<br>
help me understand how to create the full equation once done.   If you<br>
want to see the full equation I&#39;ll be using here&#39;s a link to it below.<br>
<a href="http://dl.dropbox.com/u/6576402/questions/eq1.txt" target="_blank">http://dl.dropbox.com/u/<u></u>6576402/questions/eq1.txt</a><br>
<br>
Basically it&#39;s a 1 second periodic signal with the sample rate at 44100<br>
which the equation gives me control over the frequency,amplitude,phase<br>
and vertical offset, which will be controlled by a usb midi controller.<br>
<br>
Another question I have is what do I use for the t (time) for my final<br>
equation is that the t_sample object in PD?  or do I need to create a<br>
for loop counting from 1-44100 for a 1 second 44100 sampled equation?<br>
like this link uses<br>
<a href="http://www.daniweb.com/software-development/c/threads/354944" target="_blank">http://www.daniweb.com/<u></u>software-development/c/<u></u>threads/354944</a><br>
<br>
<br>
<br>
PS: I&#39;m compiling on ubuntu 10.04 using gcc<br>
Sorry for the link / information overload.  After going over the<br>
d_osc.c, bassemu.c and the pan~ tutorial I&#39;m a little stuck and not sure<br>
what&#39;s causing the issue.<br>
<br>
Aloha<br>
Rick<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt;  <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote>
<br>
<br>
<br>
<br>
<br></div></div>
------------------------------<u></u>------------------------------<u></u>----------------<br>
<br>
&#39;You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day.  - “Hijab Scene #2&quot;, by Mohja Kahf<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div><br>