Python:sip Compilation and Use

1. Compile sip source code Unzip the sip source and run PythonConfigure.py-p win32-g++ (win32-g++ means using the mingw32 compiler). Modify generatedSipconfig.pyFile.When Python is installed in the C:\Program Files (x86) directory, place _Pkg_Program Files (x86) in config was replaced with Progra~2, as follows: _pkg_config = { 'arch': ...

Posted on Mon, 25 May 2020 12:21:04 -0400 by endersix

Writing an operating system kernel based on mykernel 2.0

Resource download: https://github.com/mengning/mykernel Experiment content: 1. Configure the experimental environment and complete the Linux kernel compilation. 2. Modify the source code of the system, and implement a simple operating system kernel based on mykernel 2.0. 3. This paper briefly analyzes the core functions and operation mechanism ...

Posted on Wed, 13 May 2020 01:02:14 -0400 by jack5100nv

freecplus framework - string operation

1, Source code description Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code. This article introduces the string operation functions and classes of freecplus framework. The declaration file for functions and classes is freecplus / 6512 ...

Posted on Tue, 21 Apr 2020 06:17:38 -0400 by phui_99

mysql Slow Query Analysis Tool Comparison and Practice

Original: mysql Slow Query Analysis Tool Comparison and Practice 00 Preface When optimizing mysql performance, the first thing to think about is looking at slow sql. But are there any good tools for analyzing slow sql? Two tools, mysqldumpslow and pt-query-digest, are recommended. mysqlslowdump is a simple, common command: #Get the 2 ...

Posted on Fri, 10 Apr 2020 20:57:11 -0400 by CSB

TPC-H generate test data set Ubuntu

Using TPC-H can automatically generate a large number of data, the following describes the use of ubuntu. 1. Download the generation tool of TPC-H http://www.tpc.org/tpch/ Link up 2. Extract the original file 3. Modify the makefile file Enter dbgen directory cd dbgen Copy makefile.suite to makefile cp makefi ...

Posted on Sun, 05 Apr 2020 08:39:58 -0400 by saloon12yrd

Add a local service to Android source code to collect boot information

BootInfo a. Create the folder BootInfo in the vendor/gree/common / directory b. Create the file bootinfo.cpp in this folder, and add the program code: #include <stdio.h> #include <string.h> #include <time.h> #define LOG_NDEBUG 0 #define LOG_TAG "bootinfo" #include <cutils/log.h> float get_uptime(vo ...

Posted on Sun, 05 Apr 2020 01:33:01 -0400 by C_Calav

The compilation and installation of Caffe GPU under linux

Server environment Ubuntu18.04, python3.6 CUDA 10.0, cuDNN 7.6.3 opencv3.4.6 View cuda and cudnn versions nvcc -V cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2 Basically, they are installed in the directory of common users (caffe). CUDA10 and CUDNN in the server have been inst ...

Posted on Tue, 10 Mar 2020 03:20:51 -0400 by verN

Training, testing and encapsulation of YOLOv3 under Linux+OpenCV3.4.0

In winter vacation, because the project needs to use yolov3, I found a lot of linux configuration tutorials on the Internet. Many bloggers have talked about it in detail in their blogs. I will focus on the encapsulation of yolov3 under linux. Because it is impossible to provide source code for others to ...

Posted on Sat, 07 Mar 2020 04:31:38 -0500 by FangerZero

Cross compilation uses ALSA Audio Tools alsa-lib-1.2.2 and alsa-utils-1.2.2 under test Linux

Article directory Official website Compiling alsa-lib-1.2.2 Compiling alsa-utils-1.2.2 Compiling ncurses-6.2 Use Reference link Official website Advanced Linux Sound Architecture (ALSA) project homepage The latest version is:alsa-lib-1.2.2.tar.bz2alsa-utils-1.2.2.tar.bz2 Compiling alsa-lib-1.2 ...

Posted on Mon, 02 Mar 2020 21:08:11 -0500 by Scottmandoo

lua5.3 cross compile to Android

lua5.3 cross compile to Android Tip: if you just want to use Lua on the terminal, you can try termux, or only want to get the executable file of lua, or you can install termux. You can find the executable file of lua directly in ~ /.. / usr/bin directory (provided you have installed it) start Pref ...

Posted on Sun, 01 Mar 2020 23:11:46 -0500 by evo4ever