[C++] Non-type template parameters | array container | template specialization | why templates cannot be compiled separately

Table of Contents 1. Non-type template parameters 2. array container 3. Template specialization Why specialize templates? Function template specialization Add a question Class template specialization Full specialization and partial specialization Fully specialized partial specialization 4. Why templates cannot be compiled separately Why what to do 5. Summarize the advantages and disadvantages of templates 1. Non-type […]

When installing Bitcoin in Ubuntu, a make compilation error occurs or there is no such file when running ./configure –with-incompatible-bdb.

If you install Bitcoin by installing dependencies and get a make compilation error or run ./configure –with-incompatible-bdb and it shows that there is no such file, you can try my method. Reference: http://t.csdnimg.cn/bMdRc If you install this document, you will not be able to verify the path of the Bitcoin file, so you need to […]

Compiled version problem androidx.appcompat:appcompat-resources reference error

According to the content of the error message, it can be seen that this error is caused by the androidx.appcompat:appcompat-resources version in your project’s dependent library being incompatible with your compileSdkVersion. The error message shows that the minimum compilation version (minCompileSdk) specified in the AAR metadata file of the dependent library androidx.appcompat:appcompat-resources is 33, and […]

Feiteng ARM UOS compiles Qt 5.15.2 source code and Qt Creator

Background Under the ARM architecture, the UOS system requires the use of the Qt 5.15.2 version environment, so the Qt environment can only be deployed through source code compilation. Software and hardware related information: Processor: Phytium FT-2000 4 core Manufacturer: Phytium Architecture: aarch 64 Family: ARMv8 System: UOS V 20 1060 Kernel: 4.19.0-arm 64-desktop Download […]

UT code is compiled into the build folder (RoboCup3D)

University of Texas at Austin Code: Code FileAccording to many methods on the Internet, it is directly**cmake .****make**The following content will appear:However, this is a bit messy. All the compiled Makefiles and other data files will be stored under utaustinvilla3d-master, which is quite messy. According to our compilation habits, I created a separate buid folder, […]

[Compilation Principle] LR(1) Analysis Method: C/C++ Implementation

Personal homepage:Sarapines Programmer Series of columns: “Adventures in Compilation Principles”The fragrance of ink sent a clear message: The wind is blowing in the empty valley, and the crane and the moon are bright in the dream. The passion remains after thousands of years, and the determination to soar in the wind remains unwavering. Directory structure […]

Offline compilation of OpenCL kernel source code

Offline Compilation of OpenCL Kernel Sources Offline compilation of OpenCL kernel source code Aside from online compilation during application execution, OpenCL kernel sources can be compiled offline into binaries that can be loaded into the drivers using special API calls (e.g. clCreateProgramWithBinary or clCreateProgramWithIL). In addition to online compilation during application execution, the OpenCL kernel […]

Compile and deploy the arm64 version of Mongodb5.0.18

Compile and deploy the arm64 version of Mongodb5.0.18 MongoDB source code compilation Prepare installation package https://github.com/mongodb/mongo/releases/tag/r5.0.18 Upload: /opt/package Unzip: tar -zxvf /opt/package/mongo-r5.0.18.tar.gz -C /opt/package View the build documentation, which contains detailed instructions and requires the server to meet the conditions. cat /opt/package/mongo-r5.0.18/docs/building.md Install gcc Download address: http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-9.5.0/gcc-9.5.0.tar.gz Upload: /opt/package Unzip: gcc-9.5.0.tar.gz tar -zxvf /opt/package/gcc-9.5.0.tar.gz -C […]