[chuck-users] dynamic linking chuck howto?

Spencer Salazar spencer at ccrma.stanford.edu
Mon Apr 29 04:24:18 EDT 2013

Hey Vilbjørg,

Cool! You can probably accomplish this with "chugins", a number of which
are available in source form here:

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.

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.


On Fri, Apr 26, 2013 at 2:31 AM, vilbjørg broch <
vilbjorg at antidelusionmechanism.org> wrote:

> hi there
> 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.
> Already for a while `I read on this page
> http://chuck.cs.princeton.edu/doc/program/stdlib.html that the
> documentation is coming, so maybe there is a drawer to pull it out of.??
> Greetings
> Vilbjørg
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20130429/c173c764/attachment.html>

More information about the chuck-users mailing list