Cross-Platform Dynamic and Static Library Generation with CMake

On Windows, function symbols are not exported by default from dynamic libraries. You must explicitly annotate the functions: Use __declspec(dllexport) for functions to be exported when building the library. Use __declspec(dllimport) for functions to be imported when consuming the library. A common approach is to use a macro that switches betw ...

Posted on Tue, 16 Jun 2026 17:09:36 +0000 by jek1134

Installing MySQL 5.6 from Source on Linux: A Complete Configuration Guide

System Preparation and Configuration Building MySQL 5.6 from source requires careful system tuning to ensure optimal database performance. This guide covers the essential configuration steps needed before installation. Storage Configuration For production environments, RAID 10 provides the best balance between read performance, write performanc ...

Posted on Sat, 13 Jun 2026 16:47:42 +0000 by jmandas

CMake Fundamentals for C++ Projects

CMake is a cross-platform build system generator that simplifies the compilation of complex software projects written in multiple languages. It uses configuration files named CMakeLists.txt to generate native build environments such as Makefiles or Visual Studio projects. A minimal example starts with a source file main.cpp: #include <iostre ...

Posted on Tue, 26 May 2026 22:23:10 +0000 by TRI0N

POCO C++ Library: Installation and XML Processing Guide

Global Installation The POCO C++ Libraries are powerful cross-platform libraries designed for building network and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems. By default, the installation location is /usr/local/ on Linux and macOS, and C:\Program Files (x64)\ on Windows. You can override this by ...

Posted on Tue, 26 May 2026 00:14:26 +0000 by keyurshah

Installing PSOPT on Ubuntu 22.04 for Optimal Control Applications

PSOPT is an open-source toolbox designed for solving optimal control problems within the MATLAB environment, commonly used in aerospace trajectory optimization, robotic motion planning, and automated system design. This guide walks through the complete installation process on Ubuntu 22.04, ensuring seamless integration with MATLAB. Prerequisite ...

Posted on Tue, 19 May 2026 22:32:59 +0000 by ghettopixel

Setting Up OpenCV 4.5.0 with MinGW-w64, CMake, and VSCode on Windows 10

1. Prepare the C++ Development Environment with VSCode and MinGW-w64 Download MinGW-w64 from SourceForge. Add the bin folder (e.g., C:\Programs\mingw-w64\bin) to the system PATH. 2. Install CMake Get CMake from the official site. Add the bin directory (e.g., D:\tools\cmake-3.19.1-win64-x64\bin) to PATH. 3. Download OpenCV Sources Fetch the sour ...

Posted on Mon, 18 May 2026 10:02:31 +0000 by quercus

Building and Testing the Bustub Database System

Repository Setup Begin by creating a private repository on GitHub named bustub-private. Follow these steps to mirror the original public repository: # Clone the original repository as bare git clone --bare https://github.com/cmu-db/bustub.git bustub-original # Mirror to your private repository cd bustub-original git push https://github.com/stu ...

Posted on Wed, 13 May 2026 06:20:18 +0000 by vino4all

Compiling librime, librime-lua, and ibus-rime from Source on Debian-Based Systems

Distribution-provided packages for ibus-rime frequently lag behind upstream releases, shipping with outdated versions of the core librime engine. This version mismatch prevents access to recent algorithmic improvements and breaks compatibility with modern Lua-based extensions used in contemporary Rime configurations. Compiling the stack from so ...

Posted on Tue, 12 May 2026 23:23:34 +0000 by ollmorris

Deploying Visual SLAM Frameworks with ROS on Linux Edge Platforms

Operating System and Runtime Baseline Target environments typically utilize Ubuntu LTS distributions paired with ROS Melodic. For ARM-based edge devices, hardware acceleration libraries (CUDA, cuDNN) may impose constraints on supported Python versions, often limiting machine learning backends to Python 3.6. Since ROS 1 relies heavily on Python ...

Posted on Sun, 10 May 2026 07:02:13 +0000 by patrick87