Download CMake 2.8.12
Extract the file, and run "./bootstrap", then "make", then "sudo make install"
Add some dependencies, run "sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev cmake libswscale-dev libjasper-dev"
Download OpenCV 2.4.10 for linux
Extract the file, and go into the file, and run "cmake ."
Wait about 20 minutes and then run "sudo make install"
时间: 2024-11-05 08:05:02