On Thursday 19 July 2001 11:07, Eugene Kuznetsov wrote:
> 1. Download latest divx4linux release from ProjectMayo's web site
> ( http://download.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip
> ). Archive will include 2 .h files ( copy them to /usr/local/include ) and
> 2 .so.0.0.0 files ( copy them to /usr/local/lib ). Run
> /sbin/ldconfig.
Got up to here just fine, except I had to link *.0.0.0 -> .so for these libs
to be of any use, of course.
> 2. Check out sources from CVS ( as usually, but replace module
> name avifile-0.6 with opendivx ). Run ./configure; make; make install.
First I did a cvs up on my avifile-0.6 tree, didn't show anything wrong so I
ran ./configure ; make on it and at the end it came up with
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -g -O2
-march=i586 -pipe -Wp,-MD,.deps/mjpeg_encoder.pp -c mjpeg_encoder.cpp
-fPIC -DPIC -o mjpe g_encoder.lo
mjpeg_encoder.cpp: In member function `virtual void
MJPEG_VideoEncoder::Start()':
mjpeg_encoder.cpp:27: `cout' undeclared (first use this function)
mjpeg_encoder.cpp:27: (Each undeclared identifier is reported only once for
each function it appears in.)
mjpeg_encoder.cpp:27: `endl' undeclared (first use this function)
Thought it was a bit silly and removed the whole thing and checkout the whole
source again and it was still there. Put in #include <iostream.h> and it
didn't complain anymore. Then I got to the opendivx source. Configure found
all the things it wanted but when I run make this is what I get
c++ -DHAVE_DLFCN_H=1 -DHAVE_LIBDIVXDECORE=1 -DHAVE_LIBDIVXENCORE=1
-DHAVE_DECORE_H=1 -DHAVE_ENCORE2_H=1 -I. -I. -IAPI -g -DLINUX
-I/usr/local/include/avifile -g -DLINUX -DPROFILING -Wp,-MD,.deps/opendivx.pp
-c opendivx.cpp -fPIC -DPIC -o opendivx.lo
opendivx.cpp:33: 'string' is used as a type, but is not defined as a type.
opendivx.cpp: In constructor `DIVX_VideoEncoder::DIVX_VideoEncoder(const
CodecInfo&, int, const BITMAPINFOHEADER&)':
opendivx.cpp:241: `error' undeclared (first use this function)
opendivx.cpp:241: (Each undeclared identifier is reported only once for each
function it appears in.)
opendivx.cpp: At global scope:
opendivx.cpp:364: syntax error before `;' token
opendivx.cpp:366: syntax error before `&' token
opendivx.cpp:371: syntax error before `.' token
opendivx.cpp:374: 'vector' is used as a type, but is not defined as a type.
opendivx.cpp:375: syntax error before `.' token
opendivx.cpp:377: syntax error before `.' token
opendivx.cpp:379: syntax error before `.' token
opendivx.cpp:381: syntax error before `.' token
opendivx.cpp:383: syntax error before `.' token
opendivx.cpp:385: syntax error before `.' token
opendivx.cpp:390: syntax error before `.' token
opendivx.cpp:412: parse error before `)' token
Same thing happens with gcc-2.95.4 and gcc-3.0 (debian/unstable). Now, what
did I miss?
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile