![]() OpenCV needs to be able to load various image file formats from disk, including JPEG, PNG, TIFF, etc. ![]() ![]() The cmake package is used to configure our build.ģ. The pkg–config is likely to be already installed, but be sure to include it just in case. > sudo apt-get install build-essential cmake git pkg-config Now we need to install our developer tools: ![]() > sudo apt-get update $ sudo apt-get upgradeĢ. Open up a terminal and update the apt–get package manager followed by upgrading any pre-installed packages: Prerequisite to install OpenCV in Ubuntuġ. > sudo apt-get install eclipse eclipse-cdt g++ If you haven’t got `g++` already, you need to install that as well, so all you need is: There is a package called `eclipse-cdt` in the Ubuntu repositories, this is what we want. Other wise check again whether you missed anything or you can try other way to install Oracle JDK. If it shows your desired java version, then you have successfully installed jdk. Java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) I have JDK8 and this command shows me something like – Finally check java version whether it shows the newly added java version or not: This change will be effective after running the following command.ģ. Set path variable by editing bashrc file:Ĭopy the following lines any where in the file (I usually put at the bottom) and do the changes as for your path.Įxport JAVA_HOME="/home/user/jdk1.7.0_80" Let’s assume the path is something like `/home/user/jdk1.7.0_80` where ‘user’ is your pc user name.Ģ. () and extract wherever you want to to keep. But trying something different is not that bad! I will share ins and outs of configuring OpenCV with Eclipse CDT bundle (C/C++ Development Tool) in Ubuntu.ġ. ![]() Some people try codeblocks which is faster as it is a lightweight IDE. Eclipse opencv Configuring OpenCV with Visual Studio seemed painful to me and Visual Studio sucks RAM which makes your PC slow. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |