Ask Your Question
0

Opencv in ubuntu14.04 step by step?

asked 2014-10-14 04:18:52 -0600

Today, I download opencv and install on ubuntu14.04, but it does not work well. So I want to give me some help to install opencv on ubuntu14.04?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-14 04:55:55 -0600

The steps to follow are quite simple

// Clone the opencv repository in a folder
git clone https://github.com/Itseez/opencv.git opencv
cd opencv
// Select the proper branch you want to built
git checkout 2.4
//git checkout master
// Make a building folder and build the repo
mkdir build
cd build/
cmake -D CMAKE_BUILD_TYPE=DEBUG -D CMAKE_INSTALL_PREFIX=/usr/local ..
sudo make -j 10
sudo make install

Thats it! Then simply link your environment tot the installation.

edit flag offensive delete link more

Comments

...and run a "ldconfig" at the end, so the system can find the libraries.

kbarni gravatar imagekbarni ( 2014-10-15 04:59:17 -0600 )edit

o_O the /usr/local/ is a folder which is automatically checked. So rerunning ldconfig should not be necessary.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-15 05:07:14 -0600 )edit

Question Tools

Stats

Asked: 2014-10-14 04:18:52 -0600

Seen: 126 times

Last updated: Oct 14 '14