wxCam doesn't compile since the xvid function

Help
anrxc
2007-11-10
2013-04-29
  • anrxc
    anrxc
    2007-11-10

    Hello,
    I can't compile your application with latest xvidcore (it might be the fault of the packager of my xvidcore)

    Error from all the latest releases:
    In file included from frame.h:28,
                     from frame.cpp:21:
    xvid.h:25:19: revel.h: No such file or directory
    In file included from frame.h:28,
                     from frame.cpp:21:
    xvid.h:52: error: `Revel_Error' does not name a type
    xvid.h:53: error: `Revel_VideoFrame' does not name a type

    Error bla bla...

    CVS:
    In file included from src/xvid.cpp:21:
    include/xvid.h:25:19: revel.h: No such file or directory
    In file included from src/xvid.cpp:21:
    include/xvid.h:52: error: `Revel_Error' does not name a type
    include/xvid.h:53: error: `Revel_VideoFrame' does not name a type
    src/xvid.cpp: In member function `virtual void Xvid::addFrame(const char*)':
    src/xvid.cpp:46: error: `REVEL_API_VERSION' was not declared in this scope
    src/xvid.cpp:46: error: `Revel_GetApiVersion' was not declared in this scope
    src/xvid.cpp:49: error: `REVEL_VERSION' was not declared in this scope
    src/xvid.cpp:51: error: `Revel_GetVersion' was not declared in this scope
    src/xvid.cpp:56: error: `revError' was not declared in this scope
    src/xvid.cpp:56: error: `Revel_CreateEncoder' was not declared in this scope
    src/xvid.cpp:57: error: `REVEL_ERR_NONE' was not declared in this scope
    src/xvid.cpp:63: error: `Revel_Params' was not declared in this scope
    src/xvid.cpp:63: error: expected `;' before "revParams"
    src/xvid.cpp:64: error: `revParams' was not declared in this scope
    src/xvid.cpp:64: error: `Revel_InitializeParams' was not declared in this scope
    src/xvid.cpp:69: error: `REVEL_CD_XVID' was not declared in this scope
    src/xvid.cpp:90: error: `REVEL_ASF_PCM' was not declared in this scope
    src/xvid.cpp:93: error: `Revel_EncodeStart' was not declared in this scope
    src/xvid.cpp:94: error: `REVEL_ERR_NONE' was not declared in this scope
    src/xvid.cpp:100: error: `revelFrame' was not declared in this scope
    src/xvid.cpp:103: error: `REVEL_PF_RGBA' was not declared in this scope
    src/xvid.cpp:118: error: `revelFrame' was not declared in this scope
    src/xvid.cpp:119: error: `revError' was not declared in this scope
    src/xvid.cpp:119: error: `Revel_EncodeFrame' was not declared in this scope
    src/xvid.cpp:120: error: `REVEL_ERR_NONE' was not declared in this scope
    src/xvid.cpp:157: error: `Revel_EncodeAudio' was not declared in this scope
    src/xvid.cpp:158: error: `REVEL_ERR_NONE' was not declared in this scope
    src/xvid.cpp: In member function `virtual void Xvid::record()':
    src/xvid.cpp:175: error: `revError' was not declared in this scope
    src/xvid.cpp:175: error: `Revel_EncodeEnd' was not declared in this scope
    src/xvid.cpp:176: error: `REVEL_ERR_NONE' was not declared in this scope
    src/xvid.cpp:184: error: `Revel_DestroyEncoder' was not declared in this scope
    src/xvid.cpp:185: error: `revelFrame' was not declared in this scope
    src/xvid.cpp: In member function `void Xvid::addSilence(int)':
    src/xvid.cpp:209: error: `revError' was not declared in this scope
    src/xvid.cpp:209: error: `Revel_EncodeAudio' was not declared in this scope
    src/xvid.cpp:210: error: `REVEL_ERR_NONE' was not declared in this scope
    make[1]: *** [build/Release/GNU-Linux-x86/src/xvid.o] Error 1
    make[1]: Leaving directory `/home/anrxc/wxCam/wxcam'
    make: *** [.build-impl] Error 2

     
    • anrxc
      anrxc
      2007-11-10

      Who should provide that file, you or the xvid distribution?

       
    • anrxc
      anrxc
      2007-11-11

      I did a little search and found about the revel library which depends on xvid bla bla...
      It would be helpfull if you've wrote the complete deps on the project page, not only xvid and wx.

       
    • coldfusion
      coldfusion
      2008-08-06

      In the project homepage there is a detailed description...