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 source file where the setup 
function was explicitly 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 <adr...@gmail.com>
> An: pd-list@lists.iem.at
> Betreff: Re: [PD] Can't load external I put together and want to test
>
> 
> 
> 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 sync_phasor_tilde_setup(void)
> That did it! It's the first time I'm trying to write an external in 
> Ubuntustudio. I wrote before in Debian and Mac, and never needed to add 
> extern. Any ideas why is that? If I want to share this external, should 
> I keep the extern or not?
> 
> Thanks
> 
> 
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to