LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-27-2006, 01:29 PM   #1
josemalo
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Question installing ffmpeg for opencv


Hi all,

This is my first question under linuxquestions

I'm installing opencv (computer vision library) under fedora core 4.

It works fine by:

1. Installing ffmpeg:

$ yum install ffmpeg (required by opencv)

2. Installing opencv itself:

./configure
make
make install # as root
ldconfig # as root

Then I can execute succesfully most of the demos,... however I canot use any
ffmpeg depented functionality since ffmpeg is not correctly linked (shared
libs seems not installed)

The installation instructions indicate to install fmmpeg by

getting ffmpeg-0.4.9-pre1 from sourceforge
./configure --enable-shared
make
make install

However this doesnt work for me,... while using yum is fine.

Then the question is how can I enable/install the shared libs by
using yum?,... is there a command to specify this,..?,...

The consequence of using yum for installing ffmpeg is that when doing after ./configure under opencv the ffmpeg stuff is not recognized while I know
ffmpeg is installed in the computer.


Thanks !!

/Josemalo
 
Old 02-27-2006, 10:34 PM   #2
josemalo
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Self reply, solved with gcc32

I will self reply ,...

What I did is to use an older version of gcc. Fedora c 4 comes with gcc 4.0
by default, but there is also a gcc32 which is more relaxed for these kind of errors.

In such way I managed to instal ffmpeg fine.

Thanks,

/Josemalo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
about Histogram Function of OpenCV? caicaicherry Programming 0 09-15-2005 05:34 AM
opencv problems in fedora 3 sinc2 Linux - Software 0 11-16-2004 06:44 PM
Odd error installing ffmpeg af_dave Linux - Software 1 07-12-2004 02:01 AM
using avi files with OpenCV dmaman Programming 2 03-25-2004 08:03 AM
OpenCV fistroman Programming 0 07-28-2003 09:43 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration