[PD-dev] c++ external compile

Olaf Matthes olaf.matthes at gmx.de
Mon Aug 2 17:08:16 CEST 2004


august wrote:

>depending on how I link the .o objects (see makefile), I get either:
>
>	Symbol "counter_setup" not found
>

Hi August,

counter_setup needs to be declared as

extern "C" counter_setup(void)

to get is exported in C-style.


Olaf





More information about the Pd-dev mailing list