Installation and use of CMake and cross tool compilation chain

1. Principle Cmake is a cross platform compilation tool, which is more advanced than make and is much more convenient to use. Cmake mainly writes CMakeLists.txt file, then uses cmake command to convert CMakeLists.txt file into makefile file required by make, and finally uses make command to compile source code to generate executable program or ...

Posted on Sun, 05 Dec 2021 13:33:22 -0500 by earl_dc10

Technology sharing | interworking between Sip and WebRTC - explanation of SRProxy open source library

SRProxy introduction At present, the interworking scenarios of WebRTC protocol and SIP protocol are mainly used in enterprise call center, enterprise internal communication, conference call (PSTN), intelligent access control and other scenarios. In order to interworking between WebRTC and sip, two levels of problems should be solved: signaling ...

Posted on Tue, 30 Nov 2021 05:24:48 -0500 by wacook

cmake practice summarizes the construction process and basic instructions of cmake

Basic grammar rules 0.1 variable The     variable is valued in ${VALUENAME}, but the variable name is directly used in the IF control statement. CMAKE_BINARY_DIR or PROJECT_BINARY_DIR or < ProjectName >_ BINARY_ Dir: all represent the compilation directory. If it is built internally, it refers to the top-level directory o ...

Posted on Tue, 14 Sep 2021 21:09:32 -0400 by CodeToad

VSCode configuration C/C + +: VSCode + Clang + Clangd + LLDB + CMake + Git

-1 - Preface ① Purpose         I started learning CS in April this year. I have been using VSCode + GCC + GDB + Git for learning a few months ago. When I read Mr. Han Jun's authoritative guide to Visual Studio Code, I found that he recommended a plug-in named "vscode Cland" in the C + + column (renamed Cland) ...

Posted on Mon, 06 Sep 2021 23:53:54 -0400 by jimmyp3016

Day1 notes of high tech small training (C + +)

preface IDE tools VSCode Syntax detection: include header file + compile built-in syntax Add header file detection: Ctrl + Shift + P - > C + + configuration editing, add the directory where the header file is located; Control terminal command environment variable PATH: echo %PATH% set i ...

Posted on Thu, 25 Jun 2020 04:00:29 -0400 by jaimitoc30

Add jni -------- static registration to the latest as project in 2020

Step 1: import static code block into so Library static { System.loadLibrary("native-lib"); } Step 2: write external functions public native String getString(); //native stands for c\c + + implementation Step 3: generate function header with javah Enter the src/main/java directory of the pr ...

Posted on Mon, 15 Jun 2020 00:41:14 -0400 by TropicalBeach

Build barcode scanner with raspberry pie 4, OLED, USB camera

Recently, at 618 discounts, I bought Raspberry Pie 4 to use as a computer for my baby.After that, I played it by myself and made a simple scanner. Raspberry Pie 4 related hardware procurement 4GB version of Raspberry Pie 4.Officially priced at $65, Jingdong 300 is reduced from 40 to 389. Micro HDMI to HDMI cable.Raspberry Pie 4 replaced the po ...

Posted on Wed, 10 Jun 2020 20:57:03 -0400 by evdawg80

NDK used in AS

1 use of NDK 1.1 compile. so with Android.mk step 1: create AS project MyDNK, create a new JNIS class and write the native method helloJNI(), AS shown in the figure: step 2: enter the java folder and use the command "javah com.lzp.myndk.JNIS" to generate the header file: step 3: write the test.c file to ...

Posted on Sat, 02 May 2020 22:10:08 -0400 by c_coder

Compiling mysql 5.7 source code with centos7

First, you need to execute according to the compiled documents of mysql. mysql document What do you need? cmake Official website Compilation and installation script of cmake wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5.tar.gz tar zxvf cmake-3.16.5.tar.gz cd cmake-3.16.5 ./bootstrap --prefix=/usr/local ...

Posted on Thu, 19 Mar 2020 10:13:06 -0400 by Angerslave

Ubuntu 18.4 running on GPU with dnn

In order to use the dnn module of OpenCV for model reasoning of deep learning, we need to install opencv ﹣ contrib. This paper records how to install opencv and opencv ﹣ contrib on Ubuntu 18.4, generate opencv that can be called by python and C + +, and run it on GPU. Environmental Science ubuntu18 ...

Posted on Thu, 12 Mar 2020 04:50:33 -0400 by timolein