On 2010-02-11 21:15, Gintaras Lau. wrote:
it's tricky that $ sudo pd in terminal starts pd but no object created
why sudo?
then I found to change the permissions an allow execution of files that was created by copying text to 'gedit' and saved.
whoa. does this mean the gedit will automatically create executable files? i would file a bug-report...
usually you do: $ chmod a+x tk2c.bash
then make:
root@hiop:/usr/lib/pd/extra/unauthorized/playlist# make clean rm -f *.o *.pd_* so_locations root@hiop:/usr/lib/pd/extra/unauthorized/playlist# make ./tk2c.bash < playlist.tk > playlist.tk2c gcc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wno-shadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -Werror -g -I../../src -o playlist.o -c playlist.c playlist.c:39:19: error: m_imp.h: No such file or directory playlist.c:40:22: error: g_canvas.h: No such file or directory playlist.c:41:18: error: t_tk.h: No such file or directory
you probably have to change your Makefile to fix LINUXINCLUDES to point to your Pd-sources. or do: $ make LINUXINCLUDE="-I/path/to/your/pd/src"
so what? true that playlist includes "private" headers; if you care about using playlist, you will have to accept this (there is no way to do playlist with only the public API)
fgmasdr IOhannes