08-07-2018 03:35 PM
Hello everyone,
What tools do you use for your C/C++ development for Linux RT targets? NI has historically provided GCC and Eclipse installers, but we’d like to check in with the community to see if those toolchains are still preferred or if there are more popular tools that we could provide.
Please feel free to weigh in!
08-07-2018 03:48 PM
I'd like a linux cross-compile solution to do my C/C++ development for NI Linux RT. My preferred scenario would be development tools on Ubuntu x86 that allow me to cross compile to ARM. Eclipse is ok. Please consider Visual Studio Code. It's also cross-platform. Having a CMake based solution (example) is also desired.
11-15-2018 03:16 PM
eclipse is absolutely not preferred .. as it's quite archaic in how it manages projects
Visual Studio Code is a much more preferred IDE.. and help from NI to get cmake scripts for cross compiling to ARM and x64
06-21-2019 11:38 PM
01-25-2022 05:25 PM
We are investigating a project to pull some of the ROS 2 libraries ( over to a CRIO 9045 running LV 20.0). The preferred method is cmake). We had a question of how to setup the right settings to cross compile. Has any used cmake before with success?
01-26-2022 10:40 AM
Hey nibuddy1777,
I'd suggest making a new thread next time you have questions like this. That being said, check out the NI Linux Real-Time Cross Compiling: Using the NI Linux Real-Time Cross Compile Toolchain with Visual... tutorial. It uses Visual Studio Code and CMake to cross compile.
Note that there are a few errors and outdated things in that tutorial so you might have to work through them but it should be doable if you're already familiar with CMake and cross compiling.