![]() ![]() ![]() sudo reboot Then you can install all the important tools and libraries needed for OpenCV (installation takes a few minutes). However, we do not recommend using this unless those extra megabytes do really matter. First of all, we update the package lists: sudo apt-get update & sudo apt-get upgrade & sudo rpi-update A reboot is necessary if it has been updated. The stripped version appears to be twice as small. Note If the size of the created library is a critical issue (like in case of an Android build) you can use the install/strip command to get the smallest size as possible. # Change 8 to number of hardware threads available. Įnter the created temporary directory cmake_binary_dir and proceed with: $ make -j8 # -j8 runs 8 jobs in parallel. $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |