[PD] Hello world external

Javier García tirengarfio at hotmail.com
Tue Sep 5 10:08:35 CEST 2006


Thanks, so after compiling i will have an exe file (for example in windows). 
But what i have to do to use it at puredata? Will it be a puredata object 
like [print] for example, that prints "Hello world?"



>From: Mathieu Bouchard <matju at artengine.ca>
>To: Javier García <tirengarfio at hotmail.com>
>CC: PD-list at iem.at
>Subject: Re: [PD] Hello world external
>Date: Wed, 30 Aug 2006 23:00:47 -0400 (EDT)
>
>On Wed, 30 Aug 2006, Javier García wrote:
>
>>Im trying to create my first "Hello world" external with this tutorial:
>>http://iem.kug.ac.at/pd/externals-HOWTO/pd-externals-HOWTO.pdf
>>How to save the file (what format) and how to load at puredata to see it 
>>works?
>
>save it as helloworld.c and translate it to an executable with a command 
>like this:
>
>   gcc -shared -o helloworld.pd_linux helloworld.c
>
>if you're on a mac, do it like this instead:
>
>   gcc -bundle -undefined suppress -o helloworld.pd_darwin helloworld.c
>
>if your text editor doesn't want to deal with .c files, you could save as 
>helloworld.txt and replace helloworld.c by -xc helloworld.txt in the 
>commands above. (You need to have "gcc" of course).
>
>if you're on windows instead, i can't help you.
>
>  _ _ __ ___ _____ ________ _____________ _____________________ ...
>| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
>| Freelance Digital Arts Engineer, Montréal QC Canada






More information about the Pd-list mailing list