[PD] Compiling pdvjtools - cannot find lswscale

Markus Demmel az at zankapfel.org
Fri Mar 12 15:55:29 CET 2010


Hi,

i'm using pd-0.42-5 with Gem 0.92-2 built from source and now i want to 
compile the pdvjtools, which worked fine on my other computer, but is 
missing swscale.

when i run make:
cc -DPD -I/home/az/PureData/pd/pd/src -Wall -W -g -I../pdp/include 
-I../../Gem/src -I/usr/include/ffmpeg -fPIC -O6 -funroll-loops 
-fomit-frame-pointer -o "colorgrid/colorgrid.o" -c "colorgrid/colorgrid.c"
colorgrid/colorgrid.c: In function ‘colorgrid_draw_new’:
.
.
.
colorgrid/colorgrid.c: In function ‘colorgrid_free’:
colorgrid/colorgrid.c:1560: warning: unused parameter ‘x’
cc -Wl,--export-dynamic -shared -fPIC -o "colorgrid/colorgrid.pd_linux" 
"colorgrid/colorgrid.o" -lavcodec -lavformat -lavutil -lswscale 
-lquicktime -lstdc++ -lc
/usr/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
make: *** [colorgrid/colorgrid.pd_linux] Fehler 1

I get this error.

locate swscale:
/usr/lib/libswscale.so.0
/usr/lib/libswscale.so.0.7.1
/usr/lib/i686/cmov/libswscale.so.0
/usr/lib/i686/cmov/libswscale.so.0.7.1
/usr/share/doc/libswscale0

And then i tried to add -L/usr/lib but i still get the same error.

Any ideas?

Regards,
Markus





More information about the Pd-list mailing list