Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1845
  • Last Modified:

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

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
Pablo Martin Gila
Asked:
Pablo Martin Gila
  • 2
  • 2
1 Solution
 
MazdajaiCommented:
0
 
Pablo Martin GilaAuthor Commented:
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
 
MazdajaiCommented:
Yes. Try using 64 bit OS. OpenCV should work with Ubuntu.
0
 
Pablo Martin GilaAuthor Commented:
Yes, I installed Ubuntu 64-bit some days ago and now it works great! Thanks for your help!
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now