Ok, so now got the source code for [comport]
from the puredata.info site, which has a make file in it. Copied the new comport folder to the pd-externals folder on Bela but getting:
Makefile:191: recipe for target 'comport.o' failed
make: *** [comport.o] Error 1
root@bela:~/Bela/projects/pd-externals/pd-comport# make PD_INCLUDE=/root/Bela/projects/pd-externals
-I"/root/Bela/projects/pd-externals/pd" -Wall -W -g -DPD -DVERSION='"0.2"' -fPIC -O6 -funroll-loops -fomit-frame-pointer -o "comport.o" -c "comport.c"
comport.c:24:18: fatal error: m_pd.h: No such file or directory
#include "m_pd.h"
^
compilation terminated.
Makefile:191: recipe for target 'comport.o' failed
for whatever I try. It says to use PD_INCLUDE = $(PD_PATH)/include in the make file.
I tried:
make PD_INCLUDE=/usr/local/include/libpd/
make PD_INCLUDE=/root/Bela/projects/pd-externals install
make PD_INCLUDE=/usr/local/include/libpd PDLIBDIR=/root/Bela/projects/pd-externals install
make PD_INCLUDE=/root/pure-data/src/ PDLIBDIR=/root/Bela/projects/pd-externals install
make PDINCLUDEDIR=/root/pure-data/src/ PDLIBDIR=/root/Bela/projects/pd-externals install
This is what's in the [comport]
folder:
CHANGES.txt Makefile comport-help.pd comport-stress-test.pd comport.dsp
comport.pd_darwin LICENSE.txt README.txt comport-meta.pd comport.c
comport.dsw makefile_win