trying to compile Gem from cvs and got this error:
make[1]: Entering directory /usr/src/pure-data/Gem/src/Pixes' In file included from ../Pixes/filmAVIPLAY.h:31, from pix_filmNEW.cpp:27: /usr/include/avifile.h:4:26: error: videodecoder.h: No such file or directory /usr/include/avifile.h:5:21: error: avm_stl.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:32, from pix_filmNEW.cpp:27: /usr/include/StreamInfo.h:5:2: error: #error Wrong usage of StreamInfo.h - include only infotypes.h! /usr/include/StreamInfo.h:7:25: error: avm_default.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:31, from filmAVIPLAY.cpp:16: /usr/include/avifile.h:4:26: error: videodecoder.h: No such file or directory /usr/include/avifile.h:5:21: error: avm_stl.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:32, from filmAVIPLAY.cpp:16: /usr/include/StreamInfo.h:5:2: error: #error Wrong usage of StreamInfo.h - include only infotypes.h! /usr/include/StreamInfo.h:7:25: error: avm_default.h: No such file or directory make[1]: Leaving directory
/usr/src/pure-data/Gem/src/Pixes'
make[1]: Entering directory /usr/src/pure-data/Gem/src/Pixes' In file included from ../Pixes/filmAVIPLAY.h:31, from filmAVIPLAY.cpp:16: /usr/include/avifile.h:4:26: error: videodecoder.h: No such file or directory /usr/include/avifile.h:5:21: error: avm_stl.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:32, from filmAVIPLAY.cpp:16: /usr/include/StreamInfo.h:5:2: error: #error Wrong usage of StreamInfo.h - include only infotypes.h! /usr/include/StreamInfo.h:7:25: error: avm_default.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:31, from pix_filmNEW.cpp:27: /usr/include/avifile.h:4:26: error: videodecoder.h: No such file or directory /usr/include/avifile.h:5:21: error: avm_stl.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:32, from pix_filmNEW.cpp:27: /usr/include/StreamInfo.h:5:2: error: #error Wrong usage of StreamInfo.h - include only infotypes.h! /usr/include/StreamInfo.h:7:25: error: avm_default.h: No such file or directory g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 DSgrabber.cpp -o DSgrabber.o g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 film.cpp -o film.o g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmAVI.cpp -o filmAVI.o g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmAVIPLAY.cpp -o filmAVIPLAY.o In file included from ../Pixes/filmAVIPLAY.h:31, from filmAVIPLAY.cpp:16: /usr/include/avifile.h:4:26: error: videodecoder.h: No such file or directory /usr/include/avifile.h:5:21: error: avm_stl.h: No such file or directory In file included from ../Pixes/filmAVIPLAY.h:32, from filmAVIPLAY.cpp:16: /usr/include/StreamInfo.h:5:2: error: #error Wrong usage of StreamInfo.h - include only infotypes.h! /usr/include/StreamInfo.h:7:25: error: avm_default.h: No such file or directory g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmDS.cpp -o filmDS.o /usr/include/avifile.h:7: error: expected constructor, destructor, or type conversion before ';' token /usr/include/avifile.h:29: error: 'uint_t' does not name a type /usr/include/avifile.h:30: error: 'uint_t' does not name a type /usr/include/avifile.h:96: error: 'uint_t' does not name a type /usr/include/avifile.h:104: error: 'uint_t' does not name a type /usr/include/avifile.h:112: error: 'uint_t' does not name a type /usr/include/avifile.h:114: error: 'framepos_t' does not name a type /usr/include/avifile.h:136: error: 'framepos_t' does not name a type /usr/include/avifile.h:137: error: 'framepos_t' does not name a type /usr/include/avifile.h:139: error: 'framepos_t' does not name a type /usr/include/avifile.h:140: error: 'framepos_t' does not name a type /usr/include/avifile.h:146: error: 'framepos_t' has not been declared /usr/include/avifile.h:148: error: 'framepos_t' does not name a type /usr/include/avifile.h:155: error: 'framepos_t' has not been declared /usr/include/avifile.h:159: error: 'framepos_t' does not name a type /usr/include/avifile.h:179: error: 'uint_t' has not been declared /usr/include/avifile.h:179: error: 'uint_t' has not been declared /usr/include/avifile.h:180: error: 'uint_t' has not been declared /usr/include/avifile.h:180: error: 'uint_t' has not been declared /usr/include/avifile.h:190: error: 'uint_t' does not name a type /usr/include/avifile.h:200: error: 'uint_t' does not name a type /usr/include/avifile.h:211: error: 'uint_t' has not been declared /usr/include/avifile.h:228: error: 'uint_t' has not been declared /usr/include/avifile.h:228: error: 'uint_t' has not been declared /usr/include/avifile.h:229: error: 'uint_t' has not been declared /usr/include/avifile.h:229: error: 'uint_t' has not been declared /usr/include/avifile.h:243: error: 'uint_t' has not been declared /usr/include/avifile.h:243: error: 'IImageAllocator' has not been declared /usr/include/avifile.h:247: error: 'uint_t' does not name a type /usr/include/avifile.h:155: error: 'ERR' was not declared in this scope /usr/include/avifile.h:313: error: 'uint_t' does not name a type /usr/include/avifile.h:314: error: 'uint_t' does not name a type /usr/include/avifile.h:315: error: 'uint_t' does not name a type /usr/include/avifile.h:323: error: 'uint_t' does not name a type /usr/include/avifile.h:324: error: 'GetStream' declared as a 'virtual' field /usr/include/avifile.h:324: error: expected ';' before '(' token /usr/include/avifile.h:329: error: 'avm' has not been declared /usr/include/avifile.h:329: error: expected ',' or '...' before '<' token /usr/include/avifile.h:345: error: 'uint_t' has not been declared /usr/include/avifile.h:346: error: 'uint_t' does not name a type /usr/include/avifile.h:358: error: 'uint_t' has not been declared /usr/include/avifile.h:359: error: 'CodecInfo' declared as a 'virtual' field /usr/include/avifile.h:359: error: expected ';' before '&' token /usr/include/avifile.h:360: error: 'uint_t' does not name a type /usr/include/avifile.h:379: error: 'uint_t' has not been declared /usr/include/avifile.h:380: error: 'CodecInfo' declared as a 'virtual' field /usr/include/avifile.h:380: error: expected ';' before '&' token /usr/include/avifile.h:381: error: 'uint_t' does not name a type /usr/include/avifile.h:398: error: 'AddVideoStream' declared as a 'virtual' field /usr/include/avifile.h:398: error: expected ';' before '(' token /usr/include/avifile.h:401: error: expected ',' or '...' before '&' token /usr/include/avifile.h:404: error: expected ',' or '...' before '*' token /usr/include/avifile.h:405: error: 'virtual IVideoWriteStream* IWriteFile::AddVideoStream(int)' cannot be overloaded /usr/include/avifile.h:403: error: with 'virtual IVideoWriteStream* IWriteFile::AddVideoStream(int)' /usr/include/avifile.h:406: error: 'AddAudioStream' declared as a 'virtual' field /usr/include/avifile.h:406: error: expected ';' before '(' token /usr/include/avifile.h:409: error: expected ',' or '...' before '&' token /usr/include/avifile.h:414: error: 'uint_t' has not been declared /usr/include/avifile.h:415: error: 'fourcc_t' has not been declared /usr/include/avifile.h:417: error: 'uint_t' has not been declared /usr/include/avifile.h:425: error: 'uint_t' has not been declared /usr/include/avifile.h:426: error: 'fourcc_t' has not been declared /usr/include/avifile.h:426: error: 'uint_t' has not been declared /usr/include/avifile.h:433: error: 'avm' has not been declared /usr/include/avifile.h:433: error: expected ',' or '...' before 'new_name' /usr/include/avifile.h:453: error: expected constructor, destructor, or type conversion before ';' token /usr/include/StreamInfo.h:16: error: expected constructor, destructor, or type conversion before ';' token /usr/include/StreamInfo.h:38: error: 'avm' has not been declared /usr/include/StreamInfo.h:38: error: expected ';' before 'GetString' /usr/include/StreamInfo.h:44: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:58: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:65: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:66: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:67: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:68: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:72: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:73: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:74: error: 'uint_t' does not name a type g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmDarwin.cpp -o filmDarwin.o g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -I/usr/local/include/lqt -I/usr/local/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmFFMPEG.cpp -o filmFFMPEG.o /usr/include/StreamInfo.h:75: error: 'uint_t' does not name a type /usr/include/StreamInfo.h:89: error: 'avm' has not been declared /usr/include/StreamInfo.h:89: error: expected ';' before '<' token /usr/include/StreamInfo.h:95: error: expected constructor, destructor, or type conversion before ';' token make[1]: *** [filmAVIPLAY.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory
/usr/src/pure-data/Gem/src/Pixes'
make: *** [Pixes] Error 2
i am using slackware 12 rc1. any help is apreciated. thx in advance
igor
Igor Medeiros wrote:
trying to compile Gem from cvs and got this error:
[...]
have you compiled libavifile yourself? or is there a slackware package? which version?
here on debian the libavifile-0.7-dev package does come with videodecoder.h, avm_stl.h and the like.
the exact version string (of the deb) is (1:)0.7.44.20051021-2.2+b1
i am using slackware 12 rc1. any help is apreciated. thx in advance
you could try manually disabling avifile-support with the "--without-avifile" flag to configure.
fmgas.dr IOhannes