Solved

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

Posted on 2014-09-16
4
1,201 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
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:Mazdajai
Comment Utility
0
 

Author Comment

by:Pablo Martin Gila
Comment Utility
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
Comment Utility
Yes. Try using 64 bit OS. OpenCV should work with Ubuntu.
0
 

Author Closing Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now