Hello list,
I’m following a pdf tutorial on creating externals for PD and I'm compiling using gcc and the terminal. I believe there is another step afterward to get pd to recognize the object as an external but I can’t seem to find the info for os X.
gcc -c helloworld.c -o helloworld.o ld -export_dynamic -shared -o helloworld.pd_linux helloworld.o -lc -lm
any info would be greatly appreciated.
best, ~a
Hi,
.pd_linux is the extension for Linux. Try with .pd_darwin
After that, launch pd with -verbose option. It should display all the paths where it search a candidate when you add a box.
++ A
Le sam. 4 juil. 2015 15:22, Alexandre Matheson alexandre.matheson@gmail.com a écrit :
Hello list,
I’m following a pdf tutorial on creating externals for PD and I'm compiling using gcc and the terminal. I believe there is another step afterward to get pd to recognize the object as an external but I can’t seem to find the info for os X.
gcc -c helloworld.c -o helloworld.o ld -export_dynamic -shared -o helloworld.pd_linux helloworld.o -lc -lm
any info would be greatly appreciated.
best, ~a _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 07/04/2015 03:21 PM, Alexandre Matheson wrote:
Hello list,
I’m following a pdf tutorial
"a pdf tutorial"???
on creating externals for PD and I'm compiling using gcc and the terminal. I believe there is another step afterward to get pd to recognize the object as an external but I can’t seem to find the info for os X.
gcc -c helloworld.c -o helloworld.o ld -export_dynamic -shared -o helloworld.pd_linux helloworld.o -lc -lm
any info would be greatly appreciated.
check out the template Makefile [1]. it can compile your external on a great number of systems, not just OSX (or linux). rumour has it, that there is also a new standard Makefile for externals in the make, but so far the authors have kept it to themselves...
fmdsar IOhannes
[1] https://svn.code.sf.net/p/pure-data/svn/trunk/externals/template/Makefile