Hey Vilbjørg,

Cool! You can probably accomplish this with "chugins", a number of which are available in source form here:
https://github.com/ccrma/chugins

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. 

spencer



On Fri, Apr 26, 2013 at 2:31 AM, vilbjørg broch <vilbjorg@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@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users