Building OpenCV 4.8 from Source on Ubuntu Systems

Downloading OpenCV 4.8 Source Execute the following commands in a terminal to download and extract the source code: wget -O opencv-4.8.zip https://github.com/opencv/opencv/archive/4.8.0.zip unzip opencv-4.8.zip -d opencv-4.8 Installing Build Dependencies Install required compliers and libraries using apt: sudo apt update sudo apt install -y bu ...

Posted on Fri, 31 Jul 2026 16:01:36 +0000 by Rithiur

Integrating Native Libraries in Android Projects

Integrating Native Libraries in Android Projects Modern Android applications often require native code for performance-critical operations or to leverage existing C/C++ libraries. This guide covers the process of biulding and bundling native shared libraries (.so files) into an Android project. Setting Up Native Code Create a native source file ...

Posted on Wed, 22 Jul 2026 16:21:52 +0000 by dila125

Configuring Visual Studio Code for Professional C++ Development

This setup focuses on enhancing code intelligence, static analysis, and debugging capabilities within VSCode using the Clang toolchain. Key improvements over default configurations include granular syntax highlighting, precise navigation features, and automated static checks via Clang-Tidy. Core Toolchain Setup Ensure the following prerequisite ...

Posted on Mon, 20 Jul 2026 16:25:25 +0000 by Herk

Setting Up OpenGL with GLFW, GLAD, and CMake

Integrating GLFW with CMake To incorporate GLFW into your project: Download the GLFW source code and place it in a third_party directory. Add the following configuration to your main CMakeLists.txt file, adapted from GLFW's official documentation: cmake_minimum_required(VERSION 3.14) project(opengl_project) find_package(OpenGL REQUIRED) ...

Posted on Fri, 10 Jul 2026 17:01:16 +0000 by cunoodle2

Practical CMake Configuration Techniques

Configuring RPATH in CMake First, disable the automatic addition of build-time paths to RPATH at the beginning of your CMake configuration: set(CMAKE_SKIP_RPATH TRUE) After declaring a library with add_library but before linking with target_link_libraries, set these properties to enable dependency lookup in relative ../lib or ./lib directories ...

Posted on Mon, 06 Jul 2026 16:04:05 +0000 by songwind

Manually Installing the IPP Acceleration Library for OpenCV

Problem Description During the OpenCV build process using CMake, the script attempts to download the Intel Integrated Performance Primitives (IPP) library file (e.g., ippicv_2019_lnx_intel64_general_20180723.tgz). Network restrictions often cause this download to fail, halting the configuration. Solution: Manual Download and Local Configuration ...

Posted on Mon, 29 Jun 2026 16:13:53 +0000 by wisewood

Integrating the QXlsx Library for Excel Operations in Qt6 Projects

For Excel data manipulation in Qt, while QAxObject is a common choice, its performance is often sluggish for large dataests. The QXlsx library provides a more efficient, cross-platform altrenative compatible with both Qt5 and Qt6. This guide demonstrates how to integrate the QXlsx source into your project environment using both qmake and CMake ...

Posted on Thu, 25 Jun 2026 17:18:56 +0000 by SJR_34

Building and Integrating QtMQTT on Kylin Linux for IoT Applications

QtMQTT is a Qt-based client library that enables MQTT protocol communication with brokers, commonly used in embedded and IoT scenarios. Kylin Linux—a domestic Chinese OS derived from Ubuntu—is widely deployed in secure industrial and edge environments. This guide walks through building, testing, and system-integrating QtMQTT on Kylin Linux (v10 ...

Posted on Fri, 19 Jun 2026 16:27:29 +0000 by DimeDropper

CMake Fundamentals for Building C++ Projects

CMake is a cross-platform build system generator that simplifies the compilation process for multi-language projects. It generates native build scripts (Makefiles, Visual Studio projects, etc.) from platform-independent configuration files. Installation Most Linux distributions include CMake in their package repositories. For Windows or systems ...

Posted on Thu, 18 Jun 2026 17:02:48 +0000 by gamefreak13

Configuring VSCode and CMake for MindMotion MM32F5330 Development

Toolchain Installation and Setup To establish a robust development environment for the MM32F5330 microcontroller using Visual Studio Code, several core components must be installed sequentially. Begin by installing the VSCode editor itself. Following this, install the MinGW environment to provide necessary Unix-like tools on Windows. CMake is r ...

Posted on Tue, 16 Jun 2026 17:20:41 +0000 by misteryoji