Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4611362
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:15:28+00:00 2026-05-22T01:15:28+00:00

I have checked out the OpenCV SVN repo, installed all necessary libraries, compiled it

  • 0

I have checked out the OpenCV SVN repo, installed all necessary libraries, compiled it and installed it. Everything is fine, except that it won’t find any cameras.

I currently have two webcams connected to my computer, the internal webcam and a PS3 eye.

ls /dev/video* gives

/dev/video0 /dev/video1

The video code:

VideoCapture capture(0);
if(!capture.isOpened())
{
   capture.open(1);
   if(!capture.isOpened())
      return 0;
}

There are no problems with opening video files instead of cameras.

I have tried to replace #include <videodev.h> with #include <libv4l1-videodev.h> in cap_v4l.cpp.

I have also tried the solutions on the Ubuntu OpenCV bug 321358 thread.

Any good ideas what to do next?

The cameras works just fine with the Ubuntu repository version, but we are working on VSLAM, so we need newer stuff.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:15:28+00:00Added an answer on May 22, 2026 at 1:15 am

    You can find an explanation in this post at Stackoverflow, if you look at the comments.

    The short explanation is that in the 11.04 distribution, Canonical removed the support for a particular library. So, OpenCV 2.2 (release) cannot compile anymore on Ubuntu 11.04. So the people at OpenCV removed the support for webcams in the SVN. I suppose they’ll try to fix it as soon as possible

    The most recent SVN version compiles, but cannot load video files nor use attached cameras

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have checked out a SVN repo and work on it locally all
Can these two SVN clients collaborate? I have my projects checked out with Tortoise,
I have checked out code using command-line SVN. I have an Ant build script
i have checked out webkit source code from they svn server, when i issued
I have checked out now a local working copy of a codebase that lives
I have several working copies that were checked out of old repositories. The old
I have read all the blog posts on digital signing and checked out GoDaddy
Firstly, I have migrated my CVS repository into SVN repository. I checked out this
I have checked out some projects from SVN repository. To build those projects I
I have a folder checked out using TortoiseSVN. If I copy a newer version

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.