[PD-dev] creating a flext library

Tom Schouten doelie at zzz.kotnet.org
Thu Mar 20 14:55:09 CET 2003


On Thursday 20 March 2003 14:42, TimBlechmann at gmx.net wrote:
> hi,
>

hi tim,

replace

static void tblib_setup()

by

void tblib_setup()

definining it static does not export the symbol

cheers

tom

> i wrote a few small external using flext and i'd like to create a library
> that contains all these externals, but i've got some problems: i wrote a
> main.cpp as described in the tutorial (but i don't use a base class, all
> externals if i compile them alone)
>
> #include <flext.h>
> void tbroute_setup();
> void tbstrg_setup();
>
> static void tblib_setup()
> {
>   void tbroute_setup();
>   void tbstrg_setup();
> }
> FLEXT_LIB_SETUP(tbext,tblib_setup)
>
> but i am gettig the following message: undefined symbol: _Z13tbroute_setupv
> all the object files are linked to the .pd_linux file.
> any idea what's wrong with this?
>
> thanks ... tim




More information about the Pd-dev mailing list