Hi list,
I'm trying to compile Gem from CVS but I get errors on pix_deinterlace
ubuntu 2.6.12-10-386
(I followed the readme in src as much as possible but: freeglut3-dev was needed libtiff3g-dev is obsolete libgl-dev is obsolete)
here is the error:
pix_deinterlace. cpp:111: error: no ‘void pix_deinterlace::processYUVAltivec (imageStruct&)’ member function declared in class ‘pix_deinterlace’ pix_deinterlace.cpp: In member function ‘void pix_deinterlace:: processYUVAltivec(imageStruct&)’: pix_deinterlace.cpp:116: error: ISO C++ forbids declaration of ‘vector’ with no type pix_deinterlace.cpp: 116: error: expected ‘;’ before ‘unsigned’ pix_deinterlace.cpp:120: error: ‘vector’ was not declared in this scope pix_deinterlace.cpp:120: error: expected `;' before ‘unsigned’ pix_deinterlace.cpp:121: error: expected `;' before ‘bool’ pix_deinterlace.cpp:123: error: expected `;' before ‘unsigned’ pix_deinterlace.cpp:131: error: ‘temp1’ was not declared in this scope pix_deinterlace.cpp:131: error: ‘vec_splat_u8’ was not declared in this scope pix_deinterlace.cpp:134: error: ‘thresh’ was not declared in this scope pix_deinterlace.cpp:134: error: ‘union pix_deinterlace::processYUVAltivec(imageStruct&)::<anonymous>’ has no member named ‘v’ pix_deinterlace.cpp:135: error: ‘vec_splat’ was not declared in this scope pix_deinterlace.cpp:143: error: ‘pixels’ was not declared in this scope pix_deinterlace.cpp:143: error: ‘vec_avg’ was not declared in this scope pix_deinterlace.cpp:165: error: ‘temp2’ was not declared in this scope pix_deinterlace.cpp:165: error: ‘pixels’ was not declared in this scope pix_deinterlace.cpp:165: error: ‘vec_subs’ was not declared in this scope pix_deinterlace.cpp:167: error: ‘temp3’ was not declared in this scope pix_deinterlace.cpp:171: error: ‘mask’ was not declared in this scope pix_deinterlace.cpp:171: error: ‘vec_cmpgt’ was not declared in this scope pix_deinterlace.cpp:172: error: ‘mask2’ was not declared in this scope pix_deinterlace.cpp:174: error: ‘vec_or’ was not declared in this scope pix_deinterlace.cpp:178: error: ‘vec_avg’ was not declared in this scope pix_deinterlace.cpp: 182: error: expected `)' before ‘unsigned’ pix_deinterlace.cpp:182: error: expected `)' before ‘;’ token make[1]: *** [pix_deinterlace.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/davide/CVS-GEM/Gem/src/Pixes' make: *** [Pixes] Error 2
this is the first time I try to compile Gem on linux so I might be missing something obvious..
ciao, davide.
This is a quick fix, but remove pix_deinterlace for now. It doesn't do anything on Linux yet anyway.
cgc
On 2/6/06, davide.morelli@tin.it davide.morelli@tin.it wrote:
Hi list,
I'm trying to compile Gem from CVS but I get errors on pix_deinterlace
ubuntu 2.6.12-10-386
(I followed the readme in src as much as possible but: freeglut3-dev was needed libtiff3g-dev is obsolete libgl-dev is obsolete)
here is the error:
pix_deinterlace. cpp:111: error: no 'void pix_deinterlace::processYUVAltivec (imageStruct&)' member function declared in class 'pix_deinterlace' pix_deinterlace.cpp: In member function 'void pix_deinterlace:: processYUVAltivec(imageStruct&)': pix_deinterlace.cpp:116: error: ISO C++ forbids declaration of 'vector' with no type pix_deinterlace.cpp: 116: error: expected ';' before 'unsigned' pix_deinterlace.cpp:120: error: 'vector' was not declared in this scope pix_deinterlace.cpp:120: error: expected `;' before 'unsigned' pix_deinterlace.cpp:121: error: expected `;' before 'bool' pix_deinterlace.cpp:123: error: expected `;' before 'unsigned' pix_deinterlace.cpp:131: error: 'temp1' was not declared in this scope pix_deinterlace.cpp:131: error: 'vec_splat_u8' was not declared in this scope pix_deinterlace.cpp:134: error: 'thresh' was not declared in this scope pix_deinterlace.cpp:134: error: 'union pix_deinterlace::processYUVAltivec(imageStruct&)::<anonymous>' has no member named 'v' pix_deinterlace.cpp:135: error: 'vec_splat' was not declared in this scope pix_deinterlace.cpp:143: error: 'pixels' was not declared in this scope pix_deinterlace.cpp:143: error: 'vec_avg' was not declared in this scope pix_deinterlace.cpp:165: error: 'temp2' was not declared in this scope pix_deinterlace.cpp:165: error: 'pixels' was not declared in this scope pix_deinterlace.cpp:165: error: 'vec_subs' was not declared in this scope pix_deinterlace.cpp:167: error: 'temp3' was not declared in this scope pix_deinterlace.cpp:171: error: 'mask' was not declared in this scope pix_deinterlace.cpp:171: error: 'vec_cmpgt' was not declared in this scope pix_deinterlace.cpp:172: error: 'mask2' was not declared in this scope pix_deinterlace.cpp:174: error: 'vec_or' was not declared in this scope pix_deinterlace.cpp:178: error: 'vec_avg' was not declared in this scope pix_deinterlace.cpp: 182: error: expected `)' before 'unsigned' pix_deinterlace.cpp:182: error: expected `)' before ';' token make[1]: *** [pix_deinterlace.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/davide/CVS-GEM/Gem/src/Pixes' make: *** [Pixes] Error 2
this is the first time I try to compile Gem on linux so I might be missing something obvious..
ciao, davide.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
davide.morelli@tin.it wrote:
Hi list,
I'm trying to compile Gem from CVS but I get errors on pix_deinterlace
ubuntu 2.6.12-10-386
(I followed the readme in src as much as possible but: freeglut3-dev was needed
no, glut should not be needed. how did it complain?
libtiff3g-dev is obsolete
well yes; it should be a dependency on libtiff-dev ("no" matter which version)
libgl-dev is obsolete)
libgl-dev is a virtual package, provided by e.g. xlibmesa-gl-dev. however, it might be provided by something else, and the dependency is rather generic.
anyhow, i have to update the docs.
mfg.asdr. IOhannes
no, glut should not be needed. how did it complain?
i'm sorry i didn't note the error and now I've forgotten! it was missing a GL/?.h
anyway, I finally compiled it but when I try to load it in pd i get this error in pd console:
undefined symbol: _ZN12pix_contrast18processYUV_AltivecER11imageStruct
... Altivec ?!?! (i'm on i686)
what am I doing wrong?
Zitiere Davide Morelli davide.morelli@tin.it:
no, glut should not be needed. how did it complain?
i'm sorry i didn't note the error and now I've forgotten! it was missing a GL/?.h
that's why there is a dependency on libGL-dev (when you install libglut-dev (or freeglut-dev), you will also have to install a openGL-devel package which provides the incriminated files)
anyway, I finally compiled it but when I try to load it in pd i get this
error in pd console:
undefined symbol: _ZN12pix_contrast18processYUV_AltivecER11imageStruct
as a quick fix, delete Pixes/pix_contrast.* too (it was submitted yesterday and not tested on other systems but osX)
mfg.adsr. IOhannes