Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Ubuntu 64-bit compile errors

Help
Anonymous
2011-06-19
2013-04-29

  • Anonymous
    2011-06-19

    I get the following errors when trying to compile 1.1 on 64-bit Ubuntu.

    config.status: executing libtool commands
    config.status: executing po/stamp-it commands
    make  all-recursive
    make[1]: Entering directory `/home/user/src/wxcam-1.1'
    Making all in src
    make[2]: Entering directory `/home/user/src/wxcam-1.1/src'
      CXX    audio.o
    In file included from setting.h:26,
                     from audio.cpp:22:
    v4l.h:30:30: error: libv4l1-videodev.h: No such file or directory
    In file included from setting.h:26,
                     from audio.cpp:22:
    v4l.h: In constructor VideoForLinux::VideoForLinux():
    v4l.h:58: error: VIDEO_PALETTE_RGB24 was not declared in this scope
    v4l.h:59: error: VIDEO_PALETTE_RGB32 was not declared in this scope
    v4l.h:60: error: VIDEO_PALETTE_YUV420P was not declared in this scope
    v4l.h:61: error: VIDEO_PALETTE_YUV420 was not declared in this scope
    v4l.h:62: error: VIDEO_PALETTE_YUYV was not declared in this scope
    make[2]: *** [audio.o] Error 1
    make[2]: Leaving directory `/home/user/src/wxcam-1.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/user/src/wxcam-1.1'
    make: *** [all] Error 2
    
     
  • coldfusion
    coldfusion
    2011-06-19

    It seems is missing the package libv4l-dev. Follow these instruction to compile wxcam: http://wxcam.sourceforge.net/#CODE001

     

  • Anonymous
    2011-06-20

    Thank you for the reply but that doesn't appear to be my issue. I have that library installed.

    I have libv4l-0, libv4l-dev, lib32v4l-0, and lib32v4l-dev installed.

     
  • coldfusion
    coldfusion
    2011-06-20

    everyone says: "libv4l-videodev.h from libv4l-dev is a replacement for the obsolete linux/videodev.h" so if your libv4l-dev does not provide libv4l-videodev.h try to replace the string "libv4l-videodev.h" with the "linux/videodev.h" … let me know

     

  • Anonymous
    2011-06-21

    Well i'm not really sure what the problem was but i did get it to compile. I was running Ubuntu Lucid so i just updated to Ubuntu Natty and then it compiled fine.

    Not really the way I wanted to go about it but I was going to eventually upgrade to Natty anyways.

    Thanks for the help though!

     

  • Anonymous
    2011-06-21

    Just tested it out and man it works great so far! Great job!

    You should really look in to setting up a ppa at launchpad or something. That would be awesome that way i could just plug in your ppa and keep it up to date. Just make sure you do a 64-bit as well as a 32-bit. :-)

    Thank you for all your hard work on this. I really hated using Cheese. It's horrible. It freezes on me when I attempt to record video and doesn't work well at all with my camera. wxcam is superior by far!