CVS Will Not Compile (Ubuntu)

Help
2006-06-10
2013-04-24
  • majikstreet

    majikstreet - 2006-06-10

    Hi,
    I am currently trying to compile the CVS version (from today) on my Ubuntu Dapper Drake machine. I have run "./configure --with-gtk2" which worked, then ran "make gvidcap" which resulted in this error:
    main.c: In function ‘main’:
    main.c:543: error: ‘CAP_AVI’ undeclared (first use in this function)
    main.c:543: error: (Each undeclared identifier is reported only once
    main.c:543: error: for each function it appears in.)
    make[1]: *** [gvidcap-main.o] Error 1
    make[1]: Leaving directory `/home/majikstreet/cvs/xvidcap/src'
    make: *** [gvidcap] Error 1

    I have seen another person in this forum with the same error, but they were on an Ubuntu64 machine which I am not.

    thanks,
    majikstreet

     
    • majikstreet

      majikstreet - 2006-06-10

      Also, I did get an error in the compile command:
      checking for lame_init in -lmp3lame... no
      To use mp3 audio codecs you need liblame/liblame-dev

      I know that I have liblame installed, though:
      majikstreet@oreo:~/cvs/xvidcap$ locate liblame
      /var/lib/dpkg/info/liblame0.shlibs
      /var/lib/dpkg/info/liblame0.list
      /var/lib/dpkg/info/liblame0.postinst
      /var/lib/dpkg/info/liblame0.postrm
      /var/lib/dpkg/info/liblame0.md5sums
      /usr/share/doc/liblame0
      /usr/share/doc/liblame0/changelog.Debian.gz
      /usr/share/doc/liblame0/copyright
      /usr/share/bug/liblame0
      /usr/share/bug/liblame0/control

      and apt-get install liblame0 says that it is installed..

      hmm..

       
      • Andy101

        Andy101 - 2006-06-11

        Did you think of reading the error message, I assume not. You posted the following line:

        To use mp3 audio codecs you need liblame/liblame-dev

        did you try installing the liblame development files?

        liblame0 provides the libaries but the source header files for linking and stuff, you only normally require dev files if you are compilling things, whic is what your doing.

        apt-get liblame-dev

        I haven't tried that yet, but you should atleast try it.

         
    • majikstreet

      majikstreet - 2006-06-10

      Nevermind.. I ended up installing xvidcap from the ubuntu repositories and changes some settings in the configuration file and now I can record audio and use xvidcap.. (but not gvidcap, but that's OK)

      majikstreet

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks