Hi!  I'm trying to compile avifile-0.7-0.7.16 on Slackware Linux 8.0 w/
these mods:

2.4.19 kernel
gcc-3.2
bintuils 2.13
glibc-2.2.5
Qt 3.0.5
XFree86 4.2.0
SDL-1.2.4

I configure avifile like this:

$ ./configure --prefix=/usr

and it configures ok.  There ARE some messages about some Win32 modules
that are not found (which might be the cause of the OTHER problem I'm
having).  I then run the build and the compile stops here:

Making all in subtitle
make[2]: Entering directory `/home/tom/avifile0.7-0.7.16/lib/subtitle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tom/avifile0.7-0.7.16/lib/subtitle'
Making all in video
make[2]: Entering directory `/home/tom/avifile0.7-0.7.16/lib/video'
source='renderer.cpp' object='renderer.lo' libtool=yes \
depfile='.deps/renderer.Plo' tmpdepfile='.deps/renderer.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../include   -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include
-D_REENTRANT  -I./../subtitles -I./../../drivers/vidix
-DVIDIX_LIBDIR=\"/usr/X11R6/lib/avifile0.7/vidix/\" -Wall -Wno-unused
-I../../include  -g -O2 -mcpu=i686 -march=i686 -ffast-math -pipe  -c -o
renderer.lo `test -f 'renderer.cpp' || echo './'`renderer.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL
-D_REENTRANT -I/usr/X11R6/include -D_REENTRANT -I./../subtitles
-I./../../drivers/vidix
-DVIDIX_LIBDIR=\"/usr/X11R6/lib/avifile0.7/vidix/\" -Wall -Wno-unused
-I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -pipe -c
renderer.cpp -MT renderer.lo -MD -MP -MF .deps/renderer.TPlo  -fPIC
-DPIC -o renderer.lo
renderer.cpp: In member function `virtual avm::IRtConfig*
   avm::YUVRenderer::GetRtConfig() const':
renderer.cpp:2172: conditional expression between distinct pointer types
`
   avm::XvRtConfig*' and `avm::SDLGRtConfig*' lacks a cast
renderer.cpp:2172: invalid conversion from `void*' to `avm::IRtConfig*'
make[2]: *** [renderer.lo] Error 1
make[2]: Leaving directory `/home/tom/avifile0.7-0.7.16/lib/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/avifile0.7-0.7.16/lib'
make: *** [all-recursive] Error 1
tom@linux:~/avifile0.7-0.7.16$

I was able to get past this by doing this:

--- renderer.cpp-orig   Thu Sep 26 21:31:37 2002
+++ renderer.cpp        Thu Sep 26 21:32:15 2002
@@ -2169,7 +2169,7 @@ public:
        Unlock();
         delete m_pXvRtConfig;
     }
-    virtual IRtConfig* GetRtConfig() const { return m_pXvRtConfig ?
m_pXvRtConfig : m_pSdlgRtConfig; }
+    virtual IRtConfig* GetRtConfig() const { return m_pXvRtConfig ?
(IRtConfig *) m_pXvRtConfig : (IRtConfig *) m_pSdlgRtConfig; }
     virtual uint_t GetImages() const { return ovlist.size(); }
     virtual CImage* ImageAlloc(const BITMAPINFOHEADER& bh, uint_t idx)
     {

This at least compiles.  Now that I have an aviplay that I can run, when
I try to view a Windows AVI file, I only get the audio and NO video.
Here is the aviplay output:

<init> : Avifile RELEASE-0.7.16-020926-20:17-3.2
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic
sep mtrr pge mca cmov pat pse36 mmx fxsr
<init> : 350.80 MHz Pentium II (Deschutes) processor detected
<aviplay> : Debug is on 0
<reader> : checking: /mnt/dataDrive/movie.avi
<AVI reader> : MainHeader: MicroSecPerFrame=66666 MaxBytesPerSec=130571
 PaddingGranularity=512 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=664

 InitialFrames=0 Streams=2 SuggestedBufferSize=23338 WxH=240x180
 Scale=0 Rate=0 Start=0 Length=0
<AVI reader> : StreamHeader: Type=vids Handler=CRAM Flags=[ ]
 InitialFrames=0 Scale=1 Rate=15 Start=5 Length=659
 SuggestedBufferSize=23338 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0
<AVI reader> : StreamHeader: Type=auds Handler=0x0 Flags=[ ]
 InitialFrames=0 Scale=1 Rate=22050 Start=970 Length=970112
 SuggestedBufferSize=11032 Quality=0 SampleSize=1 Rect l,r,t,b=0,0,0,0
<AVI reader> : Reading index from offset: 5602312
<AVI reader> : Stream 0 vids : CRAM (0x4d415243) 659 chunks (2.57KB)
<AVI reader> : Stream 1 auds : PCM (0x1) 88 chunks (0.69KB)
<StreamCache> : Creating cache for file descriptor: 6
<reader> : Initialized audio stream (chunk tblsz: 971082, fmtsz: 18)
<reader> : Initialized video stream (chunk tblsz: 664, fmtsz: 40)
<codec keeper> : /usr/X11R6/lib/avifile0.7/ac3pass.so:  A/V 1/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/ffmpeg.so:  A/V 2/10
<codec keeper> : /usr/X11R6/lib/avifile0.7/mp3lamebin_audioenc.so:  A/V
1/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/mad_audiodec.so:  A/V 1/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/vorbis_audio.so:  A/V 1/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/win32.so:  A/V 10/49
<LDT keeper> : Installed fs segment: 0x40035000
<codec keeper> : /usr/X11R6/lib/avifile0.7/mpeg_audiodec.so:  A/V 1/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/audiodec.so:  A/V 5/0
<codec keeper> : /usr/X11R6/lib/avifile0.7/mjpeg.so:  A/V 0/1
<Win32 plugin> : Win32 LoadLibrary failed to load: msvidc32.dll,
/usr/lib/win32/msvidc32.dll, /usr/local/lib/win32/msvidc32.dll
<Win32 plugin> : Could not load Win32 dll library: msvidc32.dll
<Win32 video decoder> : Can't create module
<codec keeper> : CreateVideoDecoder(): Unknown codec 0x4d415243 = "CRAM"

<aviplay> : Failed to initialize decoder
<codec keeper> : PCM audio decoder created
<aviplay> : Will try audio renderers in this order: OSS,SDL,noaudio
<audio renderer> : src fmt=0x01 1ch 22050Hz  8b  22050B/s balign=1
cbsz=0
<audio renderer> : dst fmt=0x01 1ch 22050Hz  8b  22050B/s balign=1
cbsz=0
<OSS audio renderer> : frags=9  size=4096b  buffer=36864b
<aviplay> : Closing clip
<StreamCache> : Destroy... (Total accesses 59, hits 96.61%, misses
3.39%, errors 0.00%)
aviplay: error while loading shared libraries: /usr/lib/libstdc++.so.4:
undefined symbol: _ZNSt8ios_base4InitD1Ev, version GLIBCPP_3.1

The last aviplay error I get after I exit aviplay.  So, my question:  am
I NOT getting video output due to the missing Windows DLLs mentioned
above?  If so, where can I get them and how do I install them?

Thanks in advance......

Peace......

Tom


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to