strange, i've pasted many lines without problems..
going on with this little HOWTO-pd-on-ubuntu:
yesterday I've compiled pd and gem. I had to apt-get install gcc g++ automake make autoconf etc... (sorry i cant' remember the complete list) to get a compiling environment
then pd specific:
sudo apt-get install tcl8.4-dev tk8.4-dev
then I installed stuff to get sources from CVS and SVN
apt-get install cvs subversion
then I checked out pd from CVS
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co externals
then I moved into the pd/src and ./configure make
and got a nice uptodate pd version
now for gem:
sudo apt-get install libglu1-mesa-dev libjpeg62-dev libtiff4-dev libmpeg-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev
cd .. cvs -z3 -d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem login cvs -z3 -d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem checkout Gem GemLibs cd Gem/src ./configure
if you make now you'll get this error
make[1]: Entering directory `/home/davide/CVS-gem/Gem/src/Pixes' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/include/quicktime -I/usr/include/avifile-0.7 -I.. recordQT4L.cpp -o recordQT4L.o recordQT4L.cpp: In member function 'virtual int recordQT4L::putFrame(imageStruct*)': recordQT4L.cpp:173: error: 'lqt_add_video_track' was not declared in this scope make[1]: *** [recordQT4L.o] Error 1 make[1]: Leaving directory `/home/davide/CVS-gem/Gem/src/Pixes' make: *** [Pixes] Error 2
my workaround is this:
cd Pixes mv record.cpp record.cpp.removed mv recordQT.cpp recordQT.cpp.removed mv recordQT4L.cpp recordQT4L.cpp.removed cd ..
now I could do
make
and have a nice Gem.pd_linux
if you want to use QuickTime then you may want to avoid this workaround, see this thread: http://lists.puredata.info/pipermail/gem-dev/2006-02/001601.html and follow IOhannes' hints
ciao, davide. ----- Original Message ----- From: hard off To: pd-ot@iem.at Sent: Friday, February 17, 2006 11:15 AM Subject: Re: [PD-ot] setting up ubuntustudio
oops...think i have figured it out...well...it's working now anyway.
when i just pasted the 10 lines of code directly into terminal, it didn't work...but by pasting one at a time, it worked.
usually i can just paste all the lines in and it works.
in general, when using terminal, should you paste 1 line at a time?
------------------------------------------------------------------------------
_______________________________________________ PD-ot mailing list PD-ot@iem.at http://lists.puredata.info/listinfo/pd-ot