OpenCV installeerimine: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 45: Line 45:
*sisene kausta relase ja käivita
*sisene kausta relase ja käivita
<source lang="bash">
<source lang="bash">
cmake .. -DWITH_JPEG=OFF
cmake .. -DWITH_JPEG=OFF -DCMAKE_BUILD_TYPE=RELEASE
</source>
</source>
WITH_JPEG=OFF
WITH_JPEG=OFF
[[Category:Robootika]]
[[Category:Robootika]]

Revision as of 17:34, 3 May 2011

Eeldused

Luba failis /etc/apt/sources.list seal vaikimisi väljakommenteeritud repositooriumid multiverse ja universe

Käivita järgnevad korraldused

sudo apt-get install libpng12-0 pkg-config -y
sudo apt-get install zlib1g zlib1g-dev libjpeg-dev libtiff4  -y
sudo apt-get install libtiff4-dev libjasper1 libjasper-dev -y
sudo apt-get install libgtk2.0-dev swig -y
sudo apt-get install automake -y
sudo apt-get install libcv-dev -y
sudo apt-get install build-essential cmake make g++ -y

QT4 installeerimine

sudo apt-get install libqt4-dev -y

ITK robootikaklubi svn hoidlast asjade saamiseks tuleb paigaldada subversion

sudo apt-get install subversion -y

Tõmba viimane vers robotvision projektist

svn co http://robot.itcollege.ee/svn/vision/robotvision2009/

C++ IDE qtcreator installeerimine

sudo apt-get install qtcreator qt4-doc-html git-core -y
sudo aptitude install libcvaux-dev libhighgui-dev -y

OpenCV kompileerimine

  • lae alla opencv stabiilse haru algteks http://opencv.willowgarage.com/wiki/ Dowloads alt;
  • paki tulemus lahti
  • sisene lahtipakkimisel loodud kausta
  • loo alamkaust release
  • sisene kausta relase ja käivita
cmake .. -DWITH_JPEG=OFF -DCMAKE_BUILD_TYPE=RELEASE

WITH_JPEG=OFF