[PD-dev] Externals with interdependancies

Hans-Christoph Steiner hans at eds.org
Mon Mar 23 22:10:21 CET 2009


- you could put both of these functions into one file
- you could make a third "lib" file for shared functions.

For now, you'll probably be best off by linking everything into one  
binary.  The grand plan is to support loading a "lib" file as part of  
the libdir format, which would work for you.

.hc

On Mar 23, 2009, at 4:42 PM, Mike McGonagle wrote:

> Hello all,
>
> I am currently trying to rework the SQL stuff I have, to break them
> down into their component objects (ie, each external in its own file,
> as opposed to a library). Well, I am able to get the code such that
> everything compiles and produces the *.pd_darwin files that I need.
>
> But, when I load them, Pd complains that it can't find specific
> functions that are in other externals. The real trouble here is that
> there are two externals that call functions in the other externals, so
> no matter what order I load them in, it will tell me that it can't
> find the function from the other external. Kind of a "circular"
> problem.
>
> Is there anyway to get these things to compile this stuff so that Pd
> will load everything properly?
>
> Do you need any additional info to answer the question?
>
> Thanks,
>
> Mike
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




----------------------------------------------------------------------------

You can't steal a gift. Bird gave the world his music, and if you can  
hear it, you can have it. - Dizzy Gillespie







More information about the Pd-dev mailing list