Menu

#7 Unable to find avifile.h

open
nobody
None
5
2005-09-09
2005-09-09
EWTech
No

I'm trying to build this for my use. I get the
following error as it seems to require the avifile
source to be in the source tree:

bob@Osprey:~/tmp/dvr-3.2> make
cd lib && make
make[1]: Entering directory `/home/bob/tmp/dvr-3.2/lib'
g++ -O2 -Wall -g -c -o dvr.o dvr.cpp
dvr.cpp:26:29: avifile/avifile.h: No such file or directory
dvr.cpp:27:34: avifile/avm_creators.h: No such file or
directory
dvr.cpp:28:27: avifile/image.h: No such file or directory
dvr.cpp:29:32: avifile/avm_fourcc.h: No such file or
directory
In file included from dvr.cpp:31:
dvr.h:15:29: avifile/avifile.h: No such file or directory
In file included from dvr.cpp:31:
dvr.h:71: error: syntax error before `*' token
dvr.cpp: In constructor `DVR::DVR()':
dvr.cpp:43: error: class `DVR' does not have any field
named `avi_file'
dvr.cpp: In member function `bool DVR::startRecording()':
dvr.cpp:286: error: `WAVE_FORMAT_PCM' undeclared (first
use this function)
dvr.cpp:286: error: (Each undeclared identifier is
reported only once for each
function it appears in.)
dvr.cpp:286: error: `WAVE_FORMAT_MPEGLAYER3' undeclared
(first use this
function)
dvr.cpp:320: error: `fccI420' undeclared (first use
this function)
dvr.cpp:344: error: `avi_file' undeclared (first use
this function)
dvr.cpp:344: error: `CreateIAviWriteFile' undeclared
(first use this function)
dvr.cpp:346: error: `CreateSegmentedFile' undeclared
(first use this function)
dvr.cpp: In static member function `static void*
DVR::video_encoding(void*)':
dvr.cpp:559: error: `IAviVideoWriteStream' undeclared
(first use this function)
dvr.cpp:559: error: `stream' undeclared (first use this
function)
dvr.cpp:560: error: `fourcc_t' undeclared (first use
this function)
dvr.cpp:560: error: syntax error before `;' token
dvr.cpp:573: error: `BitmapInfo' undeclared (first use
this function)
dvr.cpp:573: error: syntax error before `(' token
dvr.cpp:576: error: `video_codec' undeclared (first use
this function)
dvr.cpp:577: error: `CodecInfo' undeclared (first use
this function)
dvr.cpp:577: error: syntax error before `::' token
dvr.cpp:580: error: `avm' undeclared (first use this
function)
dvr.cpp:580: error: syntax error before `::' token
dvr.cpp:581: error: `it_ci' undeclared (first use this
function)
dvr.cpp:581: error: `video_codecs' undeclared (first
use this function)
dvr.cpp:582: error: syntax error before `::' token
dvr.cpp:593: error: syntax error before `::' token
dvr.cpp:612: error: 'class DVR' has no member named
'avi_file'
dvr.cpp:612: error: `bh' undeclared (first use this
function)
dvr.cpp:638: error: `CImage' undeclared (first use this
function)
dvr.cpp:638: error: `im' undeclared (first use this
function)
dvr.cpp:638: error: syntax error before `(' token
dvr.cpp:640: error: `im2' undeclared (first use this
function)
dvr.cpp:640: error: syntax error before `(' token
dvr.cpp: In static member function `static void*
DVR::audio_encoding(void*)':
dvr.cpp:658: error: `IAviAudioWriteStream' undeclared
(first use this function)
dvr.cpp:663: error: `WAVEFORMATEX' undeclared (first
use this function)
dvr.cpp:663: error: syntax error before `;' token
dvr.cpp:664: error: `wfm' undeclared (first use this
function)
dvr.cpp:674: error: 'class DVR' has no member named
'avi_file'
make[1]: *** [dvr.o] Error 1
make[1]: Leaving directory `/home/bob/tmp/dvr-3.2/lib'
make: *** [all] Error 2

Does the source tree for avifile have to be moved or
copied to the somewhere in the dvr tree to build or am
I missing a cli option somewhere?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    hi,
    I too faced the same problem but later on came to know that
    u need to download a package called avifile-devel along with
    avifiles

     
  • Subhash Chanda

    Subhash Chanda - 2006-04-25

    Logged In: YES
    user_id=1508718

    hi,
    I too faced the same problem but later on came to know that
    u need to download a package called avifile-devel along with
    avifiles. Do take care about the architecture of ur system
    regards

     

Log in to post a comment.