Solved

"libdc1394 error: failed to initialize libdc1394" opencv c++

Posted on 2014-09-16
4
1,577 Views
Last Modified: 2014-09-24
Hi,

I am using OpenCV libraries on C++ on an Ubuntu 13.04 virtual server (Virtual Machine mounted in a VMWare ESXi 5.5).

After installing an Apache and PHP Server and after installing OpenCV carefully, I compile my code and the compilation works good, but when I run it (calling the compiled file from a remote client), it throws an error:

"libdc1394 error: failed to initialize libdc1394"

What can I do? I've been googling for a while and I have tried all I saw with no success. I have no /dev/raw1394 driver and I don't know how to get it. I don't have the more modern dev/fw0 one either... it looks like I don't have any video driver. Could it have something to do with the fact that it is a Virtual Machine?

I really don't know what else to do. I hope any of you can help me with this. Thanks a lot in advance. Any question about anything you need to know about my case is welcome.

Regards,

Pablo.
0
Comment
Question by:Pablo Martin Gila
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40329325
0
 

Author Comment

by:Pablo Martin Gila
ID: 40330042
Hi!

Thanks for your answer! I am installing OpenCV 2.4.3 and yes, i think I did all the steps that are mentioned in the article you pasted to have all necessary packages installed.

Could the fact that I installed a 32-bit Ubuntu Virtual Machine instead of a 64-bit one have something to do with the problem?

Thanks again. Regards,

Pablo
0
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 40343114
Yes. Try using 64 bit OS. OpenCV should work with Ubuntu.
0
 

Author Closing Comment

by:Pablo Martin Gila
ID: 40343328
Yes, I installed Ubuntu 64-bit some days ago and now it works great! Thanks for your help!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question