[PD] compiling netsend~ in osx 10.5

Nicholas Mariette nicholas.mariette at limsi.fr
Mon May 25 15:14:40 CEST 2009


Try the updated netsend~ code here:
http://www.remu.fr/sound-delta/netsend~/

This should build on Mac PPC or Intel.


Nicholas Mariette

Researcher
Audio and Acoustics group
LIMSI-CNRS, Orsay, France
http://www.limsi.fr/Scientifique/aa/
http://www.limsi.fr/Scientifique/ps/thmsonesp/SonEspace
http://soundsorange.net
nicholas.mariette at limsi.fr





On May 20, 2009, at 8:38 PM, Hans-Christoph Steiner wrote:

>
> That float_cast.h was the key bit of info.  It turns out that it was  
> defining a version of lrint() using PowerPC assembler, that's why  
> the i386 builds barfed on it.  I just defined a macro in the  
> makefile so that it uses the built-in lrint() and it builds.  While  
> I was at it, I checked in a bit to make it build universal by  
> default.  So try this:
>
> cd trunk/externals/olafmatt/netsend~
> svn up
> make clean pd_darwin
>
> You should end up with two universal binaries.  There isn't any help  
> patches, so if you get things working, please submit help patches to  
> the patch tracker and I'll check them in.  You could also post the  
> binaries somewhere.
>
> .hc
>
> On May 20, 2009, at 1:09 PM, Scott McCoid wrote:
>
>> Hello, I've been a long time lurker here on the mailing list and I  
>> may have some sort of a solution. I wanted to use netsend~ a while  
>> ago and had the same problem compiling it. I somehow found a  
>> solution in the pd mailing list archives but I've having trouble  
>> finding it again. Nonetheless, I do remember it involved modifying  
>> the float_cast.h file if I'm not mistaken. This ended up working,  
>> and the objects work with the test-netsend~.pd patch that comes  
>> with the files. However, a friend of mine and I were having trouble  
>> actually sending audio to each other (we were able to connect to  
>> each other).
>>
>> I'm not sure if this is proper mailing list etiquette but I've  
>> uploaded netsend~.pd_darwin, netreceive~.pd_darwin, and the changed  
>> float_cast.h file to my website. Hopefully this works for people.
>>
>> http://sdcc15.ucsd.edu/~smccoid/files/pd/
>>
>> Oh, and I did compile this on a leopard/intel mac.
>>
>> - Scott
>>
>>
>> On May 20, 2009, at 9:35 AM, Hans-Christoph Steiner wrote:
>>
>>>
>>> no luck there, I am on 10.5.7.  What's needed is an xcode update.   
>>> If you installed xcode 3.0 and then upgraded, sometimes you can  
>>> fix things by uninstalling the whole xcode thing, then  
>>> reinstalling 3.1 directly.
>>>
>>> .hc
>>>
>>> On May 19, 2009, at 11:45 PM, Mario Mora wrote:
>>>
>>>> Andres
>>>>
>>>> There is an update for leopard (10.5.6 --> 10.5.7) maybe that can  
>>>> fix the thing...
>>>>
>>>>
>>>>
>>>> 2009/5/19 Jose Luis Santorcuato <santorcuato76 at gmail.com>
>>>> Leopard... is like a windows vista... hehehe... i have problems  
>>>> with blender... live ableton... the graphics... i am trying  
>>>> conect net send  and net receive... this week i think the patch  
>>>> be ok.
>>>>
>>>> Cheers from Chile
>>>>
>>>> José
>>>>
>>>> http://www.chilemigra.cl
>>>> http://arselectronicachile.blogspot.com/
>>>> www.myspace.com/santorcuato
>>>>
>>>>
>>>>
>>>>
>>>> 2009/5/19 Hans-Christoph Steiner <hans at at.or.at>
>>>>
>>>>
>>>> It seems to be an Mac OS X/Intel 10.5 issue, I get the same:
>>>>
>>>> hans at palatschinken:netsend~ > make pd_darwin
>>>> cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses  
>>>> -Wno-switch -I../../../pd/src -o netsend~.o -c netsend~.c
>>>> /var/folders/Yj/YjGPy6WhGTC8aZMfjwpxv++++TI/-Tmp-//ccp9MAda.s: 
>>>> 614:no such instruction: `fctiw %st,%st'
>>>> /var/folders/Yj/YjGPy6WhGTC8aZMfjwpxv++++TI/-Tmp-//ccp9MAda.s: 
>>>> 615:no such instruction: `stfd %st, -32(%ebp)'
>>>>
>>>> make: *** [netsend~.pd_darwin] Error 1
>>>>
>>>> Perhaps its worth reporting to Apple, that's probably a bug in  
>>>> their compiler.
>>>>
>>>> .hc
>>>>
>>>>
>>>> On May 19, 2009, at 2:36 PM, Andres Ferrari wrote:
>>>>
>>>>
>>>> hello Hans,
>>>>
>>>> the objects was compiled in OSX 10.5.5 with terminal (xcode  
>>>> installed in the system)
>>>>
>>>> Do you have the objects compiled for leopard?
>>>>
>>>>
>>>>
>>>>
>>>> Message: 7
>>>> Date: Mon, 18 May 2009 15:31:10 -0700 (PDT)
>>>> From: Andres Ferrari <anfex at yahoo.com>
>>>> Subject: [PD] compiling netsend~ in osx 10.5
>>>> To: pd-list at iem.at
>>>> Message-ID: <324298.20353.qm at web111404.mail.gq1.yahoo.com>
>>>> Content-Type: text/plain; charset=iso-8859-1
>>>>
>>>>
>>>> hello,
>>>>
>>>> I got netsend~ and netreceive~ sources from this website:
>>>> http://www.nullmedium.de/dev/netsend~/
>>>>
>>>>
>>>> when I compile them netreceive~..pd_darwin is created
>>>> without problem, but netsend~.pd_darwin don`t appear and the
>>>> terminal show:
>>>>
>>>> ferraris-macbook41:net ferrari$ make pd_darwin
>>>> cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wno-unused
>>>> -Wno-parentheses -Wno-switch -I../../src -Iinclude -o
>>>> netsend~.o -c netsend~.c
>>>> /var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
>>>> 614:no
>>>> such instruction: `fctiw %st,%st'
>>>> /var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
>>>> 615:no
>>>> such instruction: `stfd %st, -32(%ebp)'
>>>> make: *** [netsend~.pd_darwin] Error 1
>>>>
>>>>
>>>> any idea??
>>>>
>>>> thanks!!!
>>>>
>>>>
>>>> Andr?s Ferrari G.
>>>>
>>>> http://www.myspace.com/anfex
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ____________________________________________________________________________________
>>>> ?Obt?n la mejor experiencia en la web!
>>>> Descarga gratis el nuevo Internet Explorer 8.
>>>> http://downloads.yahoo.com/ieak8/?l=e1
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 8
>>>> Date: Mon, 18 May 2009 20:01:02 -0400
>>>> From: "Hans-Christoph Steiner" <hans at at.or.at>
>>>> Subject: Re: [PD] compiling netsend~ in osx 10.5
>>>> To: "Andres Ferrari" <anfex at yahoo.com>,
>>>> pd-list at iem.at
>>>> Message-ID: <1242691262.32154.1316109739 at webmail.messagingengine.com 
>>>> >
>>>> Content-Type: text/plain; charset="ISO-8859-1"
>>>>
>>>>
>>>> Wow, that's a crazy error.  Never seen anything like
>>>> that.  Perhaps your
>>>> compiler setup is messed up?  It built for me in
>>>> 10.4/PowerPC.
>>>>
>>>> .hc
>>>>
>>>> -- 
>>>>  Hans-Christoph Steiner
>>>>  hans at at.or.at
>>>>
>>>>
>>>> On Mon, 18 May 2009 15:31 -0700, "Andres Ferrari" <anfex at yahoo.com>
>>>> wrote:
>>>>
>>>> hello,
>>>>
>>>> I got netsend~ and netreceive~ sources from this
>>>> website:
>>>> http://www.nullmedium.de/dev/netsend~/
>>>>
>>>>
>>>> when I compile them netreceive~..pd_darwin is created
>>>> without problem,
>>>> but netsend~.pd_darwin don`t appear and the terminal
>>>> show:
>>>>
>>>> ferraris-macbook41:net ferrari$ make pd_darwin
>>>> cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow
>>>> -Wno-unused
>>>> -Wno-parentheses -Wno-switch -I../../src -Iinclude -o
>>>> netsend~.o -c
>>>> netsend~.c
>>>>
>>>> /var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
>>>> 614:no
>>>> such
>>>> instruction: `fctiw %st,%st'
>>>>
>>>> /var/folders/Pv/PvVeb-QFGxi7XEJGJnt4kk+++TI/-Tmp-//ccWJWAbj.s: 
>>>> 615:no
>>>> such
>>>> instruction: `stfd %st, -32(%ebp)'
>>>> make: *** [netsend~.pd_darwin] Error 1
>>>>
>>>>
>>>> any idea??
>>>>
>>>> thanks!!!
>>>>
>>>>
>>>> Andr?s Ferrari G.
>>>>
>>>> http://www.myspace.com/anfex
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>> ____________________________________________________________________________________
>>>> ?Obt?n la mejor experiencia en la web!
>>>> Descarga gratis el nuevo Internet Explorer 8.
>>>> http://downloads.yahoo.com/ieak8/?l=e1
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at
>>>> mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> Pd-list mailing list
>>>> Pd-list at iem.at
>>>> to manage your subscription (including un-subscription)
>>>> see
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>> End of Pd-list Digest, Vol 50, Issue 66
>>>> ***************************************
>>>>
>>>>
>>>>
>>>>      
>>>> ____________________________________________________________________________________
>>>> ¡Obtén la mejor experiencia en la web!
>>>> Descarga gratis el nuevo Internet Explorer 8.
>>>> http://downloads.yahoo.com/ieak8/?l=e1
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> You can't steal a gift. Bird gave the world his music, and if you  
>>>> can hear it, you can have it. - Dizzy Gillespie
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>>
>>>> -- 
>>>> http://arselectronicachile.blogspot.com/
>>>> www.myspace.com/santorcuato
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>
>>>
>>>
>>> ----------------------------------------------------------------------------
>>>
>>> Using ReBirth is like trying to play an 808 with a long stick.    - 
>>> David Zicarelli
>>>
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> ----------------------------------------------------------------------------
>
> "[W]e have invented the technology to eliminate scarcity, but we are  
> deliberately throwing it away to benefit those who profit from  
> scarcity."        -John Gilmore
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list







More information about the Pd-list mailing list