<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>You can get it from svn:</div><div><br></div><div>web:</div><div><a href="http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/template/">http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/template/</a></div><div><br></div><div>svn:</div><div><a href="http://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/template/">http://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/template/</a></div><div><br></div><div>.hc</div><br><div><div>On Sep 10, 2011, at 8:15 PM, Rick T wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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&nbsp;<div><p>&nbsp;Reason:&nbsp;<strong>Error reading from remote server</strong></p><div><br class="webkit-block-placeholder"></div><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 &nbsp;I did get the make file from the online site I didn't make it myself there just may have been a typo in it.</div><div><br></div><div>I'm just not sure why it's saying "couldn't create" 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'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'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 &nbsp;-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'<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 "couldn't create" on the main<br> console screen.<br> <br> Here's a link to the workflow of my thinking and what I'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. &nbsp;Granted this isn't the final equation but this will<br> help me understand how to create the full equation once done. &nbsp; If you<br> want to see the full equation I'll be using here'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'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? &nbsp;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'm compiling on ubuntu 10.04 using gcc<br> Sorry for the link / information overload. &nbsp;After going over the<br> d_osc.c, bassemu.c and the pan~ tutorial I'm a little stuck and not sure<br> what'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; &nbsp;<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> '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. &nbsp;- “Hijab Scene #2", by Mohja Kahf<br> <br> <br> </blockquote></div><br><br clear="all"><div><br></div><br></blockquote></div><br><div apple-content-edited="true"> <div style="font-size: 12px; "><br class="Apple-interchange-newline"><br></div><div style="font-size: 12px; ">----------------------------------------------------------------------------<br></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="font-size: 12px; ">"We have nothing to fear from love and commitment." - New York Senator&nbsp;Diane Savino, trying to convince the NY Senate to pass a gay marriage bill</div> </div><br></body></html>