Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-31 Thread bsoisoi
Have you been able to build netsend~/netreceive~?  After a few tweaks,  
I was able to get the full piece built.   You can also grab the  
binaries from Hans' latest i386 OS X build:
http://autobuild.puredata.info/auto-build/2008-02-22/

In order to get the two pieces to build, you'll need to augment two  
things.  The error you're seeing below is due to your machine not  
being too friendly with some ASM code in the float_cast.h file.  This  
bit of code is well above my head, but if we remove the float_cast.h  
optimizations, they'll build.  With the snippet below, you can either  
place it within the Mac OS X section of float_cast.h, or delete  
everything and put this in it:

#define  HAVE_LRINT_REPLACEMENT 0
#includemath.h
#define lrint(dbl)  ((int) (dbl))
#define lrintf(flt) ((int) (flt))

You were also correct in that you need to have the DARWININCLUDE var  
inside the makefile point to your pd src, like so:
DARWININCLUDE =  -I/Users/bz/Downloads/puredata-extended/pd/src - 
Iinclude

Cheers,
~brandon

On Mar 16, 2008, at 2:50 PM, Philip Rivera wrote:

 I get the exact same thing.

 cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wno-unused
 -Wno-parentheses -Wno-switch -Iinclude -o netsend~.o -c netsend~.c
 /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:614:no
 such instruction: `fctiw %st,%st'
 /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:615:no
 such instruction: `stfd %st, -32(%ebp)'
 make: *** [netsend~.pd_darwin] Error 1


 Steffen Juul wrote:

 On 16/03/2008, at 0.38, Philip Rivera wrote:

 I've been trying to compile Olaf Matthews netsend~ and netreceive~
 objects for pd for an intel mac.  Has anyone had any success with
 this, or has binaries already compiled.

 What error do you get?

 I can compile netreceive~ fine. Only need to alter the DARWININCLUDE
 variable in the makefile to point to the Pd source code, if it  
 doesn't
 already.

 Wrt. netsend~ i get the following error:

 cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses
 -Wno-switch -I/My/Path/To/pd/src -Iinclude -o netsend~.o -c  
 netsend~.c
 /var/tmp//cchTlZrk.s:597:no such instruction: `fctiw %st,%st'
 /var/tmp//cchTlZrk.s:598:no such instruction: `stfd %st,-32(%ebp)'
 make: *** [netsend~.pd_darwin] Error 1




 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-31 Thread Brandon Zeeb
Did you have any issue building this external on 10.4?

Philip and Steffen, are you guys on 10.5?

~Brandon



On Mar 31, 2008, at 11:37 AM, Hans-Christoph Steiner wrote:


 I added these to SVN already, if someone adds them to externals/ 
 Makefile, then they can included in the Pd-extended builds.

 http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/olafmatt/netsend
  
 ~/

 .hc

 On Mar 31, 2008, at 7:40 AM, bsoisoi wrote:
 Have you been able to build netsend~/netreceive~?  After a few  
 tweaks,
 I was able to get the full piece built.   You can also grab the
 binaries from Hans' latest i386 OS X build:
 http://autobuild.puredata.info/auto-build/2008-02-22/

 In order to get the two pieces to build, you'll need to augment two
 things.  The error you're seeing below is due to your machine not
 being too friendly with some ASM code in the float_cast.h file.  This
 bit of code is well above my head, but if we remove the float_cast.h
 optimizations, they'll build.  With the snippet below, you can either
 place it within the Mac OS X section of float_cast.h, or delete
 everything and put this in it:

 #define  HAVE_LRINT_REPLACEMENT 0
 #include math.h
 #define  lrint(dbl)  ((int) (dbl))
 #define  lrintf(flt) ((int) (flt))

 You were also correct in that you need to have the DARWININCLUDE var
 inside the makefile point to your pd src, like so:
 DARWININCLUDE =  -I/Users/bz/Downloads/puredata-extended/pd/src -
 Iinclude

 Cheers,
 ~brandon

 On Mar 16, 2008, at 2:50 PM, Philip Rivera wrote:

 I get the exact same thing.

 cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wno-unused
 -Wno-parentheses -Wno-switch -Iinclude -o netsend~.o -c netsend~.c
 /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:614:no
 such instruction: `fctiw %st,%st'
 /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:615:no
 such instruction: `stfd %st, -32(%ebp)'
 make: *** [netsend~.pd_darwin] Error 1


 Steffen Juul wrote:

 On 16/03/2008, at 0.38, Philip Rivera wrote:

 I've been trying to compile Olaf Matthews netsend~ and netreceive~
 objects for pd for an intel mac.  Has anyone had any success with
 this, or has binaries already compiled.

 What error do you get?

 I can compile netreceive~ fine. Only need to alter the  
 DARWININCLUDE
 variable in the makefile to point to the Pd source code, if it
 doesn't
 already.

 Wrt. netsend~ i get the following error:

 cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses
 -Wno-switch -I/My/Path/To/pd/src -Iinclude -o netsend~.o -c
 netsend~.c
 /var/tmp//cchTlZrk.s:597:no such instruction: `fctiw %st,%st'
 /var/tmp//cchTlZrk.s:598:no such instruction: `stfd %st,-32(%ebp)'
 make: *** [netsend~.pd_darwin] Error 1




 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list



 

 Man has survived hitherto because he was too ignorant to know how to  
 realize his wishes.  Now that he can realize them, he must either  
 change them, or perish.-William Carlos Williams




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-16 Thread Roman Haefeli
On Sat, 2008-03-15 at 23:09 -0500, Philip Rivera wrote:
 Actually, I mean the two signal rate versions that were written by
 Olaf Mathews.  

oops. i am sorry. i didn't know that they exist.

 They let you stream signal rate data over the network in a similar
 fashion.  I have no problem compiling them under my ubuntu machine,
 but they wont compile correctly on mac intel.  I think they might need
 some makefile tweekage?
 
i am no c coder, so i am afraid i can't help you. probably olaf himself
could help you. i don't know whether he's still reading this list after
being involved in some arguments, so i assume it is probably the best to
contact him personally.

otoh, it would be nice to have those included in pd-extended. i couldn't
find anything about the license of those externals, though. probably you
could also ask him about the license and let us know. 

roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-16 Thread Steffen Juul

On 16/03/2008, at 13.52, Roman Haefeli wrote:

 i couldn't find anything about the license of those externals, though.

netsend~.c and netreceive~.c says:

/* This program is free software; you can redistribute it and/ 
or*/
/* modify it under the terms of the GNU General Public  
License  */
/* as published by the Free Software Foundation; either version  
2   */
/* of the License, or (at your option) any later  
version.   */


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-16 Thread Steffen Juul

On 16/03/2008, at 0.38, Philip Rivera wrote:

 I've been trying to compile Olaf Matthews netsend~ and netreceive~  
 objects for pd for an intel mac.  Has anyone had any success with  
 this, or has binaries already compiled.

What error do you get?

I can compile netreceive~ fine. Only need to alter the DARWININCLUDE  
variable in the makefile to point to the Pd source code, if it  
doesn't already.

Wrt. netsend~ i get the following error:

cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses - 
Wno-switch -I/My/Path/To/pd/src -Iinclude -o netsend~.o -c netsend~.c
/var/tmp//cchTlZrk.s:597:no such instruction: `fctiw %st,%st'
/var/tmp//cchTlZrk.s:598:no such instruction: `stfd %st,-32(%ebp)'
make: *** [netsend~.pd_darwin] Error 1


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Philip Rivera

Hello,

This is my first post to this list, so I'm not quite sure how it works 
yet.  I've been trying to compile Olaf Matthews netsend~ and netreceive~ 
objects for pd for an intel mac.  Has anyone had any success with this, 
or has binaries already compiled.  Haven't been able to find anything on 
the web about it.


thx
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Roman Haefeli
On Sat, 2008-03-15 at 18:38 -0500, Philip Rivera wrote:
 Hello,
 
 This is my first post to this list,

yo, hi and welcome to this list.

  so I'm not quite sure how it works yet.  I've been trying to compile
 Olaf Matthews netsend~ and netreceive~ 

i assume you mean [netsend] and [netreceive]. afaik, there are no signal
versions of them.

 objects for pd for an intel mac.  Has anyone had any success with
 this, or has binaries already compiled.  Haven't been able to find
 anything on the web about it.

the simplest way of getting the externals is to install pd-extended,
which is pd with almost all available externals pre-compiled for many
platforms.

check:
http://puredata.info/downloads

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Compiling netsend~/netreceive~ on intel mac

2008-03-15 Thread Philip Rivera
Actually, I mean the two signal rate versions that were written by Olaf 
Mathews.  They let you stream signal rate data over the network in a 
similar fashion.  I have no problem compiling them under my ubuntu 
machine, but they wont compile correctly on mac intel.  I think they 
might need some makefile tweekage?


heres a link to the source and some ppc versions.

http://www.nullmedium.de/dev/netsend~/

Roman Haefeli wrote:

On Sat, 2008-03-15 at 18:38 -0500, Philip Rivera wrote:
  

Hello,

This is my first post to this list,



yo, hi and welcome to this list.

  

 so I'm not quite sure how it works yet.  I've been trying to compile
Olaf Matthews netsend~ and netreceive~ 



i assume you mean [netsend] and [netreceive]. afaik, there are no signal
versions of them.

  

objects for pd for an intel mac.  Has anyone had any success with
this, or has binaries already compiled.  Haven't been able to find
anything on the web about it.



the simplest way of getting the externals is to install pd-extended,
which is pd with almost all available externals pre-compiled for many
platforms.

check:
http://puredata.info/downloads

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



  


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list