Hello, I would like you to help me to understand why I'm stuck in this situation. I found playlist.pd_linux in pd/extra/unauthorized folder, downloaded help-playlist.pd, playlist.c, playlist.tk, Makefile and other files from http://lekerleo.nerim.net/PD/degoyon/playlist/
makefile didn't worked: make: Nothing to be done for `current'.
creating obj: playlist all 200 200
playlist : could not get current directory ( where the hell are you ??? ) playlist all 200 200 ... couldn't create
sometimes when I start file help-playlist.pd dubble click (no root) playlist object functions normally. in the same window created obj playlist all 200 200 creates an object fine. I can't use it in my patches, because off sometimes. . .
pd-vanilla, ubuntu 9.10
Thank you.
Gintaras Lau. wrote:
Hello, I would like you to help me to understand why I'm stuck in this situation. I found playlist.pd_linux in pd/extra/unauthorized folder, downloaded help-playlist.pd, playlist.c, playlist.tk, Makefile and other files from http://lekerleo.nerim.net/PD/degoyon/playlist/
makefile didn't worked: make: Nothing to be done for `current'.
you didn't read the INSTALL, it says :
make clean make make install
creating obj: playlist all 200 200
playlist : could not get current directory ( where the hell are you ??? ) playlist all 200 200 ... couldn't create
bubble click is good ...
how do you start pd? that's the point... at startup playlist tries to read the current directory that should always be defined in 'pwd'...
start pd from a terminal, checking that 'pwd' gives you the right directory and that's it.
saludos, sevy
sometimes when I start file help-playlist.pd dubble click (no root) playlist object functions normally. in the same window created obj playlist all 200 200 creates an object fine. I can't use it in my patches, because off sometimes. . .
pd-vanilla, ubuntu 9.10
Thank you.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
it's tricky that $ sudo pd in terminal starts pd but no object created for [playlist...] what is opposite then starting from application menu. My keyboard typing no symbols at all for pd when starting from application menu sometimes. Other applications functions normally.
I have followed the installation guide:
#make clean rm -f *.o *.pd_* so_locations
# make ./tk2c.bash < playlist.tk > playlist.tk2c /bin/sh: ./tk2c.bash: Permission denied make: *** [playlist.pd_linux] Error 126 # sudo make ./tk2c.bash < playlist.tk > playlist.tk2c /bin/sh: ./tk2c.bash: Permission denied make: *** [playlist.pd_linux] Error 126
[pwd(---[shell]---[] console: gives me a directory of the make file location where I'm trying 'make' playlist.
then I found to change the permissions an allow execution of files that was created by copying text to 'gedit' and saved. 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 cc1: warnings being treated as errors playlist.c: In function ‘playlist_update_dir’: playlist.c:120: error: implicit declaration of function ‘glist_getcanvas’ playlist.c:120: error: initialization makes pointer from integer without a cast playlist.c: In function ‘playlist_draw_new’: playlist.c:236: error: initialization makes pointer from integer without a cast playlist.c: In function ‘playlist_draw_move’: playlist.c:253: error: initialization makes pointer from integer without a cast playlist.c:277: error: implicit declaration of function ‘canvas_fixlinesfor’ playlist.c: In function ‘playlist_draw_erase’: playlist.c:282: error: initialization makes pointer from integer without a cast playlist.c: In function ‘playlist_draw_select’: playlist.c:296: error: initialization makes pointer from integer without a cast playlist.c: In function ‘playlist_vis’: playlist.c:347: error: ‘t_rtext’ undeclared (first use in this function) playlist.c:347: error: (Each undeclared identifier is reported only once playlist.c:347: error: for each function it appears in.) playlist.c:347: error: ‘y’ undeclared (first use in this function) playlist.c: In function ‘playlist_delete’: playlist.c:361: error: implicit declaration of function ‘canvas_deletelinesfor’ playlist.c: In function ‘playlist_click’: playlist.c:529: error: implicit declaration of function ‘glist_grab’ playlist.c:529: error: ‘t_glistmotionfn’ undeclared (first use in this function) playlist.c:529: error: expected ‘)’ before ‘playlist_motion’ playlist.c: In function ‘playlist_properties’: playlist.c:541: error: format ‘%d’ expects type ‘int’, but argument 4 has type ‘t_int’ playlist.c:541: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘t_int’ playlist.c: In function ‘playlist_new’: playlist.c:585: error: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’ playlist.c:592: error: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’ playlist.c: In function ‘playlist_setup’: playlist.c:738: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:739: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:740: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:741: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:742: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:743: error: invalid use of undefined type ‘struct _widgetbehavior’ playlist.c:744: error: invalid use of undefined type ‘struct _widgetbehavior’ make: *** [playlist.pd_linux] Error 1
Miller: http://markmail.org/message/vo2lixoxk6wdq76l
g.
2010/2/11 ydegoyon@gmail.com ydegoyon@gmail.com:
Gintaras Lau. wrote:
Hello, I would like you to help me to understand why I'm stuck in this situation. I found playlist.pd_linux in pd/extra/unauthorized folder, downloaded help-playlist.pd, playlist.c, playlist.tk, Makefile and other files from http://lekerleo.nerim.net/PD/degoyon/playlist/
makefile didn't worked: make: Nothing to be done for `current'.
you didn't read the INSTALL, it says :
make clean make make install
creating obj: playlist all 200 200
playlist : could not get current directory ( where the hell are you ??? ) playlist all 200 200 ... couldn't create
bubble click is good ...
how do you start pd? that's the point... at startup playlist tries to read the current directory that should always be defined in 'pwd'...
start pd from a terminal, checking that 'pwd' gives you the right directory and that's it.
saludos, sevy
sometimes when I start file help-playlist.pd dubble click (no root) playlist object functions normally. in the same window created obj playlist all 200 200 creates an object fine. I can't use it in my patches, because off sometimes. . .
pd-vanilla, ubuntu 9.10
Thank you.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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