-   Linux - Software (
-   -   about installing opencv in fedora 15 (

ninianne 04-10-2013 02:31 AM

about installing opencv in fedora 15
Hello guys.
now i`m trying to install opencv-2.4.4 in fedora 15 using cmake

but when i run command

cmake -D CMAKE_BUILD_TYPE=release -D CMAKE_INSTALL_PREFIX=/usr/local

like i saw in opencv website

but i got below message
"cmake error: The source directory /usr/local/opencv/release/CMAKE_BUILD_TYPE=release" dose not exist.

i run this command in "/usr/local/opencv/release"

so is there anyone who can let me know what this error message means?

And if there any problem in my post like grammar problem.... i`m not familiar with English so please be patient.

thanks for your help in advance.

John VV 04-10-2013 04:33 AM

you are aware that fedora 15 is dead and unsupported

it went End Of Life on "2012-06-26"
June of 2012

Current fedora is only supporting fedora 17 and 18
and support for 17 ends this July

for fedora 18 opencv is in the base repo

su -
yum install opencv

for 15
from any of the ( not many ) still up old repos it is

you will have to FIRST
read the read me and install EVERY needed NEWER version of software
-- fedora 15 is a bit old ---

Fedora does not use the "/usr/local" folder
( it is mostly used by debian OS's -- mostly)

you need to ether make that folder and add it to the system path
or use the fedora default " /usr"

for 2.4.4
OpenCV-2.4.4a.tar.bz2 2013-03-08 74.6 MB
that needs

su -
yum install gtk-devel python-devel numpy ffmpeg ffmpeg-devel

install the rpmfusion repo for libav and libav-devel

make a "build folder NOT IN THE SOURCE FOLDER !!!!!!!! "
cmake will yell and scream at you
but in the same folder that the source folder is in
and use /usr as the install folder

knudfl 04-10-2013 04:59 AM

If you really need version 2.4.4 : There is a Fedora(19) source package,
opencv-2.4.4-1.fc19.src.rpm >

Building the openv-2.4.4 packages for Fedora 15 :
$ rpmbuild -bb opencv.spec


ninianne 04-10-2013 05:10 AM

Thank you very much John VV.

now i`m installing fedora 18. after installation i gonna follow your advice.

i`m so so thank you.

All times are GMT -5. The time now is 03:31 PM.