Use cmake to teach the use of install
Here we mainly introduce the operations of install ing using cmake:
The content that can be installed through cmake can include target binary, dynamic library, static library, files, directories, scripts, etc., which are briefly described below:
For details, please refer to the official website. Here is a brief description
1. Installation of ...
Posted by buckit on Thu, 02 Dec 2021 18:40:13 -0800
xmake v2.5.9 release, improves C++20 modules, and supports Nim, Keil MDK, and Unity Build
xmake Lua-based lightweight cross-platform construction tool, built with xmake.lua maintenance project, has a simpler and more intuitive configuration syntax than makefile/CMakeLists.txt, is very friendly to novices, can get started quickly in a short time, and enables users to focus more on the actual project development.In this release, we ha ...
Posted by levidyllan on Sun, 31 Oct 2021 12:54:13 -0700
MySQL 5.5 Source Installation - Cmake (Multiple Instances)
1. Environment
OS environment: Linux db01 2.6.32-431.el6.i686
MySQL version: mysql-5.5.44
MySQL installation path: /usr/local/mysql
MySQL data path: /data
MySQL port: 3506 3507
2. Preparations
1. Dependent Package Installation
yum install ncurses-devel libaio-devel gcc gcc-c++ bison -y
2. Install compiler ...
Posted by m4rw3r on Sun, 21 Jun 2020 09:59:11 -0700
The second step is to use CLion normally
1.CLion editor
1) JetBrains
JetBrains is a Czech software development company, which is located in Prague, Czech Republic, and has offices in St. Petersburg, Russia and Boston, Massachusetts, USA. its most well-known product is the integrated development environment used for Java programming languag ...
Posted by chronomantic on Thu, 18 Jun 2020 22:53:48 -0700
cmake basic introduction (1)
cmake basic introduction (1)
Official help documents
CMake is a cross platform make.
CMakeLists.txt The brief introduction is as follows:
# Auto CMakeLists.txt: frame with cppunit use for lintcode/leetcode
# minimum cmake version
cmake_minimum_required(VERSION 3.7) # cmake minimum version ...
Posted by Cyberspace on Sun, 07 Jun 2020 00:39:06 -0700
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