-
mog
posted in extra~ • read moreHi,
Since there's only vanilla version of PD available for ubuntu 11.04 on beagleboard xM I tried to compile the mrpeach OSC externaly myself. I'm really far from being an experienced person with this stuff but this might help someone.
I browsed the internet to find the solution and i found some tips mainly at:
http://puredata.hurleur.com/sujet-4137-compiler-flags-building-external-darwin and http://puredata.hurleur.com/sujet-5114-xmix-announce#!/bin/sh mkdir src mkdir out compile() { echo "Compile ${1} with additional $2 flags" gcc -I /usr/include/pd/ -std=c99 -DPD -O3 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DMUUG_INTERPOLATE=1 -DMUUG_TILDE_TABLE_SIZE=512 -fPIC ${2} -o out/${1}.o -c src/${1}.c ld -shared -o out/${1}.pd_linux out/${1}.o strip --strip-unneeded out/${1}.pd_linux rm out/*.o } BASEURL="http://puredata.info/Members/martinrp/OSCobjects/" FILENAME="routeOSC" wget ${BASEURL}${FILENAME}.c/at_download/file -O src/${FILENAME}.c compile ${FILENAME} FILENAME="packOSC" wget ${BASEURL}${FILENAME}.c/at_download/file -O src/${FILENAME}.c compile ${FILENAME} "-fno-strict-aliasing" FILENAME="unpackOSC" wget ${BASEURL}${FILENAME}.c/at_download/file -O src/${FILENAME}.c compile ${FILENAME} "-fno-strict-aliasing" sudo mkdir /usr/lib/pd/extra/mrpeach sudo cp out/packOSC.pd_linux out/routeOSC.pd_linux out/unpackOSC.pd_linux /usr/lib/pd/extra/mrpeachAfter the script is executed pd has to be started with the correct path defined. In my case it's:
pd -nogui -path /usr/lib/pd/extra/mrpeach/ -open patch.pdI don't know if i've done all of this the correct way but it seems to work for me. The routeOSC block does not return "error: ... couldn't create" message so i assume it works fine.
Now i have to find a way to load udpreceive block

Cheers!
-
mog
posted in extra~ • read moreYou just followed the instructions from the old method in the readme.txt file which comes with the download? Dod it compile on Beagleboard without any problems? This would be great and i'll try it next time.
I don't see any mrpeach block sources in the git repo. Are You sure it's in there?