Cmake Learning Notes

Write CMakeLists.txt   # Create a new build directory in the current directory, and then cd build; cmake.. # The advantage is that the content generated by cmake can be separated from the source file.   # Setting Compile Result Publishing Path set( CMAKE_INSTALL_PREFIX ./_install) # Configuring a header file allows some cmake set ...

Posted by jervo on Sat, 11 May 2019 12:55:16 -0700

02. Using fmod to achieve QQ sound change effect

introduce fmod is a very excellent c + + open source framework, this time through this framework to achieve QQ-like sound effects, sound effects of six kinds, normal, Laurie, uncle, thriller, funny, empty. As for more effects, I am interested in exploring them again. The routine is roughly the same. Project Effect Diagram a ...

Posted by FUEL on Thu, 09 May 2019 23:54:39 -0700

Using OpenCV in Android Studio NDK

Catalog I. Preface Introduction to OpenCV Introduction of OpenCV Module IV. Operating Environment V. Preparations 6. so for compilation VII. Problems and Solutions VIII. EFFECT CHARACTERISTICS I. Preface In order to transplant c++ code to Android and use opencv in c++, it is necessary to call opencv through the bottom layer in An ...

Posted by [-razer-]Blade on Tue, 07 May 2019 04:55:39 -0700

Android jni development-2 (add jni that supports cmake compilation to old projects)

In the previous article, I introduced how to build a new project with ndk. What if I add jni to the old project? 1. Create a new CPP folder under the app/main folder and a new. cpp file in the CPP folder: 2. Create a new tool class: public class JniUtil { static { System.loadLibrary("jni_lib"); } public native String ...

Posted by voltrader on Sat, 09 Feb 2019 04:51:17 -0800

Install MySQL 5.5.61, Apache 2.2.34, PHP 5.6.37 - LAMP Architecture (1) - MySQL under CentOS 6.9

This article 1. Install and configure MySQL 5.5 1) Installation Download dependency: yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fspro ...

Posted by dwnz on Mon, 04 Feb 2019 03:18:16 -0800

Compiling libyuv of Android Platform in Windows

1. description As for libyuv [1] The use is not to be overlooked. Following is an official note Scale YUV to prepare content for compression, with point, bilinear or box filter. Convert to YUV from webcam formats for compression. Convert to RGB formats for rendering/effects. Rotate by 90/180/270 degrees to adjust for mobile device ...

Posted by river001 on Sat, 02 Feb 2019 15:06:15 -0800

Construction of NDK Development Environment for Android Studio 3.x under Mac

Catalog Preface CMake Adding C/C++ code to existing AS projects with CMake ndk-build Last Preface It's really easy to install software on mac. android studio can be installed next step along the way. Here's an article. Install and configure Android Studio 2.x and 3.x under Old Text-Mac and configure using adb For reference.The main purpose ...

Posted by johnbest on Sat, 02 Feb 2019 08:18:17 -0800

JNI NDK (Android Studio+CMake) Implements Java Call C++ Code Flow

JNI/NDK Java Call C/C++ Preface _Through the first article, we learned about Android Studio+CMake environment for JNI/NDK development, and the second article explained the process of generating a simple so library file. So in the actual development process, we often have to make calls between two layers, such as C/C++ calling the Java layer, ...

Posted by wilzy on Thu, 10 Jan 2019 09:21:10 -0800

iOS Camera Stream Face Recognition (II) - Key Point Detection (Dlib)

image.png Last article Face Frame Detection It has been introduced that if we detect the information of face location from video stream, based on these contents, we continue to expand downward to get the information of 68 key points of face. The reason why we want to get the information of face location is to prepare for the ...

Posted by gregmiller on Sun, 06 Jan 2019 17:00:09 -0800

Android Studio+NDK+Cmake Porting FFmpeg-4.0.2 Command Line Tool

First, compile Refer to Dashen's post and test the compilation successfully: https://blog.csdn.net/bobcat_kay/article/details/80889398 In view of previous experience in documentation, here is the time for writing examples: 22 July 2018. I use ubantu. Notes: 1. The path here, home/ndk is wrong, the real path is home/computer name/ndk, specif ...

Posted by MrCool on Thu, 03 Jan 2019 16:21:10 -0800