Commenting out line 21 on thread.cpp works fine.
20
21 //template <class T> const T& min(const T& t1, const T& t2) {
return (t1<t2) ? t1 : t2; }
22 void* RecKernel::RecompressThread(void* arg)
23 {
24 try
25 {
26 RecKernel& kernel = *(RecKernel*)arg;
27
28 IAviWriteFile* wf = 0;
29 IAviWriteStream* a_rws = 0; //audio raw write stream
30 IAviWriteStream* v_rws = 0; //video raw write stream
31 IAviAudioWriteStream* aws = 0;
32 IAviVideoWriteStream* vws = 0;
"thread.cpp" 429L, 10130C written
When its stable and it compiles for everyone, should make it like
avifile-0.7
90% of email to this list is dealing with not being able to compile CVS
if the owners of avifile create stable verions which work+compile,
people will be less inclined to use cvs = less email/problems/etc
Making install in qtrecompress
make[2]: Entering directory `/home/war/avifile-0.6/samples/qtrecompress'
source='thread.cpp' object='thread.o' libtool=no \
depfile='.deps/thread.Po' tmpdepfile='.deps/thread.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused
-I/app/qt-3.0.0/include -g -O2 -march=i586 -ffast-math -pipe -c -o
thread.o `test -f thread.cpp || echo './'`thread.cpp
thread.cpp:21: redefinition of `template <class T> const T & min(const T
&, const T &)'
/app/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_algobase.h:91:
`template <class _Tp> const _Tp & min(const _Tp &, const _Tp &)'
previously declared here
thread.cpp:21: redefinition of `const T & min(const T &, const T &)'
/app/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_algobase.h:91:
`const _Tp & min(const _Tp &, const _Tp &)' previously defined here
make[2]: *** [thread.o] Error 1
make[2]: Leaving directory `/home/war/avifile-0.6/samples/qtrecompress'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/war/avifile-0.6/samples'
make: *** [install-recursive] Error 1
92 link(s) installed
Then another error
make[2]: Entering directory `/home/war/avifile-0.6/samples/qtvidcap'
/app/qt-3.0.0/bin/moc < v4lwindow.h > v4lwindow.moc
source='v4lwindow.cpp' object='v4lwindow.o' libtool=no \
depfile='.deps/v4lwindow.Po' tmpdepfile='.deps/v4lwindow.TPo' \
depmode=gcc /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused
-I/app/qt-3.0.0/include -g -O2 -march=i586 -ffast-math -pipe -c -o
v4lwindow.o `test -f v4lwindow.cpp || echo './'`v4lwindow.cpp
v4lwindow.cpp: In method `void V4LWindow::mouseReleaseEvent(QMouseEvent
*)':
v4lwindow.cpp:271: no method `QCursor::pos'
v4lwindow.cpp: In method `void V4LWindow::config()':
v4lwindow.cpp:285: no method `QCursor::pos'
make[2]: *** [v4lwindow.o] Error 1
make[2]: Leaving directory `/home/war/avifile-0.6/samples/qtvidc
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile