Title Returns the relevant time information of the specified process, such as the process creation time, the running time of the process in user mode and kernel mode, the running time of all descendant processes of the process in user mode and the running time in kernel mode, etc. Call prototype 1.copy_to_user() 2.find_get_pid() Parameter meaning:*pid_t […]
Tag: mpi
The SpringBoot project keeps jumping to the default Please sign in
1 Questions and screenshots Projects that are normally logged in suddenly keep jumping to the Please sign in page 2 When the code is started, the console below outputs a line Using generated security password: ec9fdd88-21cc-42b2-8fa1-62e1b810e7b5 At this point security is integrated into the project 3 Solution Just add annotations to the startup annotations so […]
Duo cv1800b first time builds C compilation and remote gdb environment
Reference link: https://community.milkv.io/t/duo-cv1800b-first-time-c-gdb/56ss?s Author: tinnu Environment setup apt installs necessary components sudo apt install dialog python3-dev make git bc gcc flex bison ninja-build libssl-dev rsync pkg-config device-tree-compiler squashfs-tools parted dosfstools Download a higher version of cmake Releases · Kitware/CMake · GitHub 2 https://github.com/Kitware/CMake/releases/download/v3.19.3/cmake-3.19.3-Linux-x86_64.tar.gz 2 Pull repo Note that github must add a public key; if […]
Audio decoding using ffmpeg in ExoPlayer (compile and use)
This article table of contents 1 Compile ffmpeg in Ubuntu environment 1.1 Environment preparation 1.1.1 Ubuntu system 1.1.2 Exoplayer source code 1.1.3 JAVA 1.1.4 NDK 1.2 Compile ffmpeg source code 1.2.1 Configure the ffmpeg module path FFMPEG_MODULE_PATH 1.2.2 Configure the NDK environment variable NDK_PATH 1.2.3 Set host platform variables 1.2.4 Set ffmpeg path FFMPEG_PATH 1.2.5 […]
Cross-compiler: taking freetype as an example
1 Some basic knowledge of program operation 1.1 Where to find header files when compiling a program? System directory: It is an include directory in the cross-compilation tool chain; you can also specify it yourself: use it when compiling “-I dir ” option specified. 1.2 Where to find library files when linking? System directory: It […]
This error originates from a subprocess Termux matplotlib pandas compilation error and jupyter installation issues
Article directory Notice Problem Description ~~Question complaints~~ Solution 3 steps version record 1 Clear pip cache 2 Successful installation of matplotlib matplotlib completes dependent commands 3 Successful installation of pandas Supplementary question 1: `pip install jupyter` error: solution Supplementary question 3: There is a conflict between openblas and libopenblas, causing libopenblas to fail to be […]
Write your own compiler: Create a syntax parser compiled from C language
In the previous chapter, we completed an input system designed in C language. In this section we will look at how to complete a lexical parser designed and compiled in C language based on the previous section. The basic design idea of the entire parser is: 1. The input system we designed in the previous […]
Compilation Principles – SLR (1) Analysis
Name: Use SLR (1) analysis technology to perform sentence analysis on input strings Input: SLR (1) analysis table (saved as text.txt file), analyzed sentence patterns File example: The implementation code is as follows: (The functionality of each function is commented in the code) #include<stdio.h> #include<string.h> typedef struct any_W //save grammar { char unset; char wenFA[8]; […]
win10 + vs2017 + cmake3.17 compile OSG-3.4.1
There are many bugs in it, and I have already solved them. This blog is only for my own notes, the writing is not very standardized and is for your reference only. Reference tutorial: https://blog.csdn.net/bailang_zhizun/article/details/120992244 Note: 1. Uncheck BUILD_OSG_EXAMPLE and BUILD_MFC_EXAMPLE. CMakeLists.txt can build these examples normally, but it is not configured to install these […]
Error when compiling Spark source code locally in idea
Report the error content first [INFO] Scanning for projects… [INFO] ————————————————– ————————– [INFO] Detecting the operating system and CPU architecture [INFO] ————————————————– ————————– [INFO] os.detected.name: osx [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 10.15 [INFO] os.detected.version.major: 10 [INFO] os.detected.version.minor: 15 [INFO] os.detected.classifier: osx-x86_64 [INFO] ————————————————– ————————– [INFO] Reactor Build Order: [INFO] [INFO] Spark Project Parent POM [pom] […]