Hey Lorenzo,<br><br>Yes indeed you did, and very grateful I am too.<br><br>And thank you for the outline tutorial as well.  Will have another crack at using Codeblocks when I have more time.  I need to get into this, it&#39;s a gaping hole in my expanding Pd knowledge.<br>
<br>Very best wishes<br><br>Julian<br><br><br><div class="gmail_quote">On 19 March 2011 18:00, Lorenzo Sutton <span dir="ltr">&lt;<a href="mailto:lsutton@libero.it">lsutton@libero.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Julian,<br>
<br>
I sent you a &#39;windows&#39; zip with the project and already compiled dll answering to your previous private email... I had to re-send as I got a google network error hope it arrived allright.<br>
<br>
Anyway I&#39;ll write here what I know for further reference on the list. (This worked on windows xp I have no idea if it would on vista, 7 etc.)<div class="im"><br>
<br>
J bz wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi peeps,<br>
<br>
Wondering if anyone has experience of using Codeblocks to compile an external for Windows?<br>
<br>
Lorenzo Sutton has very kindly forwarded me an external he has made for quad panning using Chowning&#39;s methodology which I really like.<br>
In the package he forwarded to me, he says that all the code is there for building in windows using codeblocks.<br>
</blockquote></div>
- you have to have mingw (thus gcc for windows) installed and configured correctly in codeblocks (just see if a helloworld.c compiles ok)<br>
- you have to add the complete path to where the m_pd.h (from the source distribution) is<br>
- In the project settings you have to set the target to library (it should add .dll to the filename automatically)<br>
- you have to add the file pd.lib in the linker options. For some reason this only worked with the path set to *absolute*<br>
<br>
That&#39;s it. Build and if everything is ok you should have the dll in the build target directory.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I have had a quick go in Puredyne with it but I require a Windows version for a piece next week.<br>
<br>
I have zero experience of compiling on any platform and don&#39;t really know where to get started.  I&#39;m aware there are a couple of tutorials knocking around on the pd &amp; hurleur sites but going through them last night made my teeth hurt.  I found a couple of Codeblocks tutorials but the .dll files I made from them of the external don&#39;t work.<br>

<br>
I&#39;m sure that if I had a couple of days with nothing else on I could get to grips with this but I don&#39;t.  What I do have is a looming deadline though!<br>
<br>
I attach Lorenzo&#39;s external (Lorenzo if this is a problem please contact me asap)<br>
</blockquote></div>
No problem the external is GPL.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Btw, I have the Codeblocks version with MinGW and the GCC compiler.<br>
</blockquote></div>
Best,<br>
Lorenzo.<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Cheers,<br>
<br>
Julian<br>
<br>
<br>
_______________________________________________<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/listinfo/pd-list</a><br>
</blockquote>
<br>
_______________________________________________<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/listinfo/pd-list</a><br>
</blockquote></div><br>