<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div>thank you very much for writing, Yes I looked at the chugins before, but since I am not 'really' a programmer i have been a bit lazy trying to make one. Got all my sample accuracy experiments running fine just using ChucK, - but it points at that i eventually better get over the hill and attack the chugins, </div><div>best</div><div>v</div><div><br><div><div>On Apr 29, 2013, at 10:24 AM, Spencer Salazar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hey <span style="font-family:arial,sans-serif;font-size:13px">Vilbjørg,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style=""><span style="font-family:arial,sans-serif;font-size:13px">Cool! You can probably accomplish this with "chugins", a number of which are available in source form here:</span></div>
<div style=""><font face="arial, sans-serif"><a href="https://github.com/ccrma/chugins">https://github.com/ccrma/chugins</a></font><br></div><div style=""><font face="arial, sans-serif"><br></font></div><div style=""><font face="arial, sans-serif">The chugin system is primarily designed to create new C++ unit generators, but it can be used to link dynamically with external C/C++ libraries. </font></div>
<div style=""><font face="arial, sans-serif"><br></font></div><div style=""><font face="arial, sans-serif">All of the chugins on the github site import ugens -- you will want to subclass Object instead, and, depending on how you design the API, either add member functions or static functions to your subclass. Also, none of those chugins interface with external libraries, but that will work, you just need to get the linker settings right when building the chugin. </font></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style=""><span style="font-family:arial,sans-serif;font-size:13px">spencer</span></div><div style=""><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 2:31 AM, vilbjørg broch <span dir="ltr"><<a href="mailto:vilbjorg@antidelusionmechanism.org" target="_blank">vilbjorg@antidelusionmechanism.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">hi there<br>
is there anywhere some sort of description of how to do  the dynamic linking to other libraries? Eg. specifically I would very much like to work with the c++ library "Eigen" within a chuck file, is this possible?, if yes are there any hints about how to do this.<br>

Already for a while `I read on this page <a href="http://chuck.cs.princeton.edu/doc/program/stdlib.html" target="_blank">http://chuck.cs.princeton.edu/doc/program/stdlib.html</a> that the documentation is coming, so maybe there is a drawer to pull it out of.??<br>

<br>
Greetings<br>
Vilbjørg<br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br>
</blockquote></div><br></div>
_______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></blockquote></div><br></div></body></html>