On Thu, 14 Jul 2011 12:44 -0400, "Mathieu Bouchard" <[email protected]> wrote: > On Thu, 14 Jul 2011, luca paganotti wrote: > > > but ... I get 'undefined reference' (s) for all the pd symbols that are > > used by helloworld.c i.e. pd_new, gensym, class_new, class_addbang, post > > You need to use the -shared option to produce a .so or .DLL file. > > In addition, you need to link with PD.DLL (a Windows-only requirement... > no such equivalent on other platforms).
Hey Luca, This is great, that you got this far! Can you write up a wiki page in the dev section. Don't worry too much about formatting, mostly just get the info in there. http://puredata.info/docs/developer As for Makefiles, if you use the the Library Template, then the Makefile will work on MinGW, Cygwin, Mac OS X, GNU/Linux, Android, iOS, etc. http://puredata.info/docs/developer/LibraryTemplate .hc _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
