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

CLion Tutorial – CMakeLists.txt in CLion

CLion Tutorial - CMakeLists.txt in CLion

CMakeLists.txt file contains a set of instructions and descriptions that define the source files and targets (executable files, libraries, or both) of a project. When you create a new project, CLion automatically generates a CMakeLists.txt file and places it in the project root directory. To open the project, you can point CLion to the top-level … Read more

CLion Tutorial – CMake Performance Analysis

CLion Tutorial - CMake Performance Analysis

Through CMake performance analysis, you can identify the most time-consuming operations when reloading projects and optimize your CMake scripts when necessary. Performance analysis is applicable to CMake version 3.18 and above. CMake stores results in Google’s tracing event format. CLion’s integrated features can help you run traces and visualize the results. Performance analysis is not … Read more

CMake Configuration Files in CLion

CMake Configuration Files in CLion

The settings required to build a CMake project are consolidated into a CMake configuration file. It includes the toolchain and build type, as well as CMake options such as generators and environment variables. You can configure multiple configuration files for a project to build targets with different compilers or different settings. To set up a … Read more

Using Local Source for Remote Programming in CLion

Using Local Source for Remote Programming in CLion

Local Client Operating System: macOS / Linux / Windows Remote Host Operating System: Linux Source File Location: Local, automatically synchronized to remote host Required Tools on Remote Host: macOS/Linux/Windows client needs rsync, Windows client needs tar Project Model: CMake/Makefile Required Plugins (pre-installed and enabled by default): FTP/SFTP/WebDAV connection This remote mode allows you to use … Read more

Setting Up IAR Toolchain in CLion

Setting Up IAR Toolchain in CLion

Operating System: Windows (MinGW) / Linux Project Format: CMake When setting up a toolchain for your embedded project, you can use the IAR compiler. CLion recognizes it as a C/C++ compiler and collects compiler information. You can also open projects that use the IAR toolchain, which should load successfully. Currently, only CMake-based projects are supported. … Read more

CLion Tutorial – Device Tree Files

CLion Tutorial - Device Tree Files

Device tree is a hierarchical data structure primarily used to describe hardware. CLion recognizes .dts/.dtsi files and provides code assistance and code analysis features. Configure Development Board (Zephyr) If you are using Zephyr, make sure to select the development board you are using in the settings: Go to Settings | Languages & Frameworks | Device … Read more

CLion Tutorial – Embedded Development

CLion Tutorial - Embedded Development

This page provides an overview of how to use CLion as your embedded development IDE. For detailed feature descriptions and setup instructions, please refer to the dedicated articles in this section. Hardware TypeCLion supports embedded development for any hardware compatible with the GCC or IAR toolchain. Some examples include: ARM-based microcontrollers, such as the STM32 … Read more

CLion Tutorial: Multithreading RTOS Debugging

CLion Tutorial: Multithreading RTOS Debugging

When debugging with RTOS, CLion provides views for FreeRTOS, Azure RTOS, and Zephyr tasks (threads). For FreeRTOS, you can also explore objects and the heap. Some gdb servers have built-in support for different RTOS. To ensure proper integration with CLion, make sure to disable built-in support on the gdb server side. To enable the RTOS … Read more