[PD] playlist ( where the hell are you ??? )

Gintaras Lau. gintarman at gmail.com
Thu Feb 11 21:15:47 CET 2010


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 at hiop:/usr/lib/pd/extra/unauthorized/playlist# make clean
rm -f *.o *.pd_* so_locations
root at 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 at gmail.com <ydegoyon at 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 at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>




More information about the Pd-list mailing list