Hello all,
I want to use [mrpeach/binfile] under Ubuntu 12.04 but I don't know how to manage. I can't find it in any pd-... packet under synaptic, and the makefile in the svn/.../externals/mrpeach directory is nearly empty and not working here. Is there some easy solution?
Thanks, n
TARGET := $(shell pwd | sed 's|.*/(.*)$$|\1|') EXTERNALS_ROOT := $(shell pwd | sed 's|^(/.*externals).*|\1|')
default: make -C $(EXTERNALS_ROOT) $(TARGET)
install: make -C $(EXTERNALS_ROOT) $(TARGET)_install
clean: make -C $(EXTERNALS_ROOT) $(TARGET)_clean
test_locations: make -C $(EXTERNALS_ROOT) test_locations
etags: etags *.[ch] ~/cvs/pure-data/pd/src/*.[ch] /usr/include/*.h /usr/include/sys/*.h
hello,
i just manage to build it by hands in two steps :
$ gcc -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -g -DLINUX -I/home/antoine/pd/pd/src -o binfile.pd_linux binfile.o
$ gcc -Wl,--export-dynamic -shared -o binfile.pd_linux binfile.o
i'm not sure all flags are needed / useful but this seems to work here under ubuntu 12.04 keep me aware if it works for you
++ a
Thanks Antoine but that didn't make it. finally I copied the externals/template makefile inside the binfile folder, replaced a few strings and that make it. can't understand why the mrpeach/makefile is broken though. best, n
Le 05/10/12 10:49, Antoine Villeret a écrit :
hello,
i just manage to build it by hands in two steps :
$ gcc -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -g -DLINUX -I/home/antoine/pd/pd/src -o binfile.pd_linux binfile.o
$ gcc -Wl,--export-dynamic -shared -o binfile.pd_linux binfile.o
i'm not sure all flags are needed / useful but this seems to work here under ubuntu 12.04 keep me aware if it works for you
++ a
On 2012-10-05 05:52, Nicolas Montgermont wrote:
Thanks Antoine but that didn't make it. finally I copied the externals/template makefile inside the binfile folder, replaced a few strings and that make it. can't understand why the mrpeach/makefile is broken though. best, n
I think the idea is to use the Makefile in ../externals: make mrpeach or make mrpeach_install
Then that makefile calls the one in mrpeach
Martin