cmake install higher version

cmake reported an error:    CMake 3.8 or higher is required.  You are running version 3.5.1 It indicates that the current version of cmake is too low. Installation steps: 1. View the current cmake version: cmake -version 2. Uninstall the current cmake: (skip this step if ROS is installed) sudo apt remove cmake 3. Download c ...

Posted by Cleanselol on Sun, 17 May 2020 18:11:36 -0700

Introduction to CMake (3) compilation and use of dynamic and static libraries

1, Compilation of dynamic library and static library First create a new CMakeLists.txt Knock in CMAKE_MINIMUM_REQUIRED(VERSION 2.8) ADD_SUBDIRECTORY(src/shared) ADD_SUBDIRECTORY(src/static) Then create the src folder in the project directory, and then create the shared and static folders in src Dynamic library Cre ...

Posted by Dysan on Wed, 13 May 2020 09:03:48 -0700

[Android jni Development Series (I)] Android Studio development environment construction and common error resolution

1. Download ndk ndk can be downloaded directly through sudio (tools - > Android - > SDK Manager - > SDK tools to download cmake and ndk) Or directly to AndroidDevTools Download and configure the environment of the ndk like the sdk. 2. Check Include C++ Support when creating a new Android project. It is estimated tha ...

Posted by barneybarney68 on Wed, 01 Apr 2020 01:15:01 -0700

Installing mysql environment under linux

1. When installing apache, it has been checked that there is no mysql native to centos installed locally. If there is any, it must be uninstalled, or the port may be occupied 2. Prepare mysql installation package (note that when compiling, the compilation of mysql 5.5 and above is different from that of mysql 5.5 and below. 5.5 needs to be comp ...

Posted by Honor on Mon, 30 Mar 2020 11:37:11 -0700

[artificial intelligence notes] section 9: compiling python OpenCV 4.2.0 under Windows, SIFT feature extraction, and perspective transformation to correct object direction

Compile and install OpenCV 0-1. Uninstall opencv and opencv_contrib installed by pip or conda before installation: pip uninstall opencv-contrib-python pip uninstall opencv-python 0-2.install NumPY in Python environment first pip install numpy 1. Download OpenCV source code: https://github.com/o ...

Posted by baitubai on Fri, 06 Mar 2020 21:34:14 -0800

Compiling and installing Mysql 8.0.19 under linux

1 Preface There are many ways to install MySQL under linux, including the way of warehouse (yum,apt,zypper), the way of package (rpm,deb), the way of docker, the way of decompressing from the compressed package, the way of compiling and installing from the source code. Here is the last one, the way of compiling and installing from the source co ...

Posted by ThisIsMyName on Thu, 05 Mar 2020 19:55:04 -0800

Compiling arttoolkit x with Android Studio+CMakeLists

If the company wants to study the AR technology in advance, it will try to study the arttoolkit. The Internet is full of examples about compiling arttoolkit 5. Arttoolkit 5 has not been updated for a long time, and arttoolkit x is the latest version, but it has not found a way to compile arttoolkit x ...

Posted by bpops on Wed, 04 Mar 2020 00:18:11 -0800

LNMP architecture introduction and construction (source code compilation Nginx, MYSQL, PHP)

LNMP architecture introduction and construction (source code compilation Nginx, MYSQL, PHP) 1. What is LNMP 2. Working principle of LNMP 3. Source compilation of MySQL database 4. PHP source compilation 5. Source compilation of nginx 1. What is LNMP LNMP is a set of free software acronyms common ...

Posted by chard on Sat, 29 Feb 2020 23:40:03 -0800

ubuntu 18.04 install opencv3.4.5 + opencv ﹣ contrib

ubuntu 18.04 install opencv3.4.5 + opencv ﹣ contrib 1. Installation package download Opencv and opencv contrib Download Pay attention to the consistency of versions opencv Download opencv official website Opencv? Contrib Download github 2. Install dependency package sudo apt-get update sudo ap ...

Posted by 90Nz0 on Tue, 11 Feb 2020 23:42:02 -0800

Embedded development tool -- cross compiling libmysql

Article directory Preface 1, libmysql source download 2, Unzip and configure 3, Build install 4, Program testing Preface It is too cumbersome (or lazy) to transplant mysql in the development board, so we need to migrate the required libraries to the development board for C language programs. Fin ...

Posted by thegreatdanton on Sat, 08 Feb 2020 23:50:32 -0800