Re: [PD] Can't load external I put together and want to test

2017-12-27 Thread katja
On Wed, Dec 27, 2017 at 7:52 PM, IOhannes m zmölnig wrote: > On 12/27/2017 07:05 PM, Christof Ressi wrote: >> this strikes me as odd. in C, funtion declarations/definitions are extern by >> default, i.e. there shouldn't be any difference between >> void foo(void) { ... } >> and >> extern void foo

Re: [PD] Can't load external I put together and want to test

2017-12-27 Thread IOhannes m zmölnig
On 12/27/2017 07:05 PM, Christof Ressi wrote: > this strikes me as odd. in C, funtion declarations/definitions are extern by > default, i.e. there shouldn't be any difference between > void foo(void) { ... } > and > extern void foo(void) {...} > > in fact, I haven't seen a single Pd external sour

Re: [PD] Can't load external I put together and want to test

2017-12-27 Thread Christof Ressi
tly marked 'extern'. could it be that your setup function was accidentally marked as 'static'? how did you build your external? > Gesendet: Dienstag, 26. Dezember 2017 um 17:49 Uhr > Von: Alexandros > An: pd-list@lists.iem.at > Betreff: Re: [PD] Can'

Re: [PD] Can't load external I put together and want to test

2017-12-26 Thread Alexandros
On 26/12/2017 06:40 μμ, Claude Heiland-Allen wrote: On 26/12/17 16:33, Alexandros wrote: load_object: Symbol "sync_phasor_tilde_setup" not found There is a sync_phasor_tilde_setup() method in my code though. It's this: void sync_phasor_tilde_setup(void) Maybe this should be: extern void

Re: [PD] Can't load external I put together and want to test

2017-12-26 Thread Claude Heiland-Allen
On 26/12/17 16:33, Alexandros wrote: load_object: Symbol "sync_phasor_tilde_setup" not found There is a sync_phasor_tilde_setup() method in my code though. It's this: void sync_phasor_tilde_setup(void) Maybe this should be: extern void sync_phasor_tilde_setup(void) For Windows there may be

Re: [PD] Can't load external I put together and want to test

2017-12-26 Thread Alexandros
On 26/12/2017 12:00 πμ, katja wrote: (on top of my head) even when an executable is found by pd, some things can still go wrong; - a symbol is not found - required arguments aren't supplied If a (function) symbol is not found, I think that pd would mention that in verbose mode. Is there no re

Re: [PD] Can't load external I put together and want to test

2017-12-25 Thread Alexandre Torres Porres
2017-12-25 20:00 GMT-02:00 katja : > (on top of my head) even when an executable is found by pd, some > things can still go wrong; > > - a symbol is not found > - required arguments aren't supplied > > If a (function) symbol is not found, I think that pd would mention > that in verbose mode. Is th

Re: [PD] Can't load external I put together and want to test

2017-12-25 Thread katja
(on top of my head) even when an executable is found by pd, some things can still go wrong; - a symbol is not found - required arguments aren't supplied If a (function) symbol is not found, I think that pd would mention that in verbose mode. Is there no relevant warning at all? Katja On Mon, De

[PD] Can't load external I put together and want to test

2017-12-25 Thread Alexandros
I just put together some pieces of Pd's source code to make an external, and even though it compiles without a problem (using Katja's Makefile.pdlibbuilder), Pd just can't load it. Using verbose mode I see that Pd tries a bunch of directories, and even though this line is included: tried /hom