Getting Started with CMake Build Tool

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool Hello everyone, today I want to share with you a very practical tool – CMake. As a programmer, I understand the importance of managing and building code when developing large projects. CMake is like a project management assistant that helps us handle complex issues such as code compilation and … Read more

CMake Learning Summary (Part 1)

CMake Learning Summary (Part 1)

Good evening everyone, and I wish you all a happy Dragon Boat Festival. Today, I would like to share with you the project management tool CMake. There is no prior introduction to the Makefile project management tool (to be honest, these two are quite similar; CMake ultimately generates a Makefile, but the syntax of CMake … Read more

Introduction to CMake Basics

Introduction to CMake Basics

This article mainly refers to this link. 1. CMake Compilation Principles CMake is a cross-platform build tool that is more advanced than make and much easier to use. CMake primarily involves writing a CMakeLists.txt file and then using the cmake command to convert it into a makefile required by make. Finally, the make command compiles … Read more

Compile OpenCV in Linux and Generate opencv_java.so File

Compile OpenCV in Linux and Generate opencv_java.so File

1. Introduction In a Java project using OpenCV, in addition to needing to introduce the relevant POM dependencies, you also need to load the library files: * On Windows, it is opencv_java451.dll * On Linux, it is opencv_java451.so This article mainly introduces how to compile OpenCV to obtain the relevant library files; 2. Environment Description … Read more

CLion Tutorial – Boost.Test

CLion Tutorial - Boost.Test

Boost unit testing framework (Boost.Test) is part of the Boost library. It is a fully-featured and extensible framework with various assertion macros, XML output, and more. Boost.Test itself does not include mocking capabilities but can be used in conjunction with standalone mocking frameworks (like gmock). If you are not familiar with Boost.Test, here is a … Read more

CLion Tutorial – Remote GDB Server Configuration

CLion Tutorial - Remote GDB Server Configuration

Local Operating System: macOS / Linux / Windows Remote Operating System: Any system that supports gdbserver, SSH, and SFTP Required Tools: gdbserver on the target machine Binary File Synchronization: Automatic Client Debugger: Bundled GDB / GDB from Toolchain / Custom GDB Build Targets: CMake / Makefile / Custom Build Targets Configuring the Remote GDB server … Read more

Detailed Compilation Tutorial for Windows 10 Carla Source Code

Detailed Compilation Tutorial for Windows 10 Carla Source Code

Author | Automotive Enthusiast Editor | Heart of Autonomous Driving 1. Preparation Work 1.1 Hardware Environment Requirements 1) Windows 64-bit operating system. The simulator should run on any 64-bit Windows system. 2) 165GB of disk space. CARLA itself will occupy about 32GB, and related major software installations (including Unreal Engine) will take about 133GB. 3) … Read more

CLion Tutorial: Code Coverage

CLion Tutorial: Code Coverage

Operating System: Linux / macOS / Windows Project Format: CMake Management Suite: Run | Manage Coverage Reports Ctrl+Alt+F6 Coverage Settings: Settings Ctrl+Alt+S | Build, Execution, Deployment | Coverage In CLion, you can run CMake applications and tests with code coverage measurement. The code coverage results provide the percentage of code lines executed during runtime and … Read more

Using CMake for Android NDK Development

Using CMake for Android NDK Development

Today’s Tech News Yesterday, Toshiba Corporation announced the development of a new generation of lithium batteries specifically for electric vehicles, which can be quickly charged in just 6 minutes. Traditional electric vehicle lithium batteries take 30 minutes to charge to about 80%, while the new generation lithium battery can charge to 90% in just 6 … Read more

PCL Point Cloud Library Tutorial (Part 2): IDE Selection and CMake Usage

PCL Point Cloud Library Tutorial (Part 2): IDE Selection and CMake Usage

Introduction Last Issue Review: [PCL Point Cloud Library Tutorial (Part 1)] Installation and Prerequisites You can switch the target files we need to compile. Click the “hammer” icon to compile, and click the “triangle” icon to compile and run. Computer Environment Ubuntu 20.04 PCL-1.10 VS Code Reasons for Recommendation Lightweight, many plugins, stronger customization. Many … Read more