<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: boys noheart</title>
    <description>The latest articles on DEV Community by boys noheart (@huming516520).</description>
    <link>https://dev.to/huming516520</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3972624%2Ff97d102c-8c51-493f-aebe-3760e774e60b.png</url>
      <title>DEV Community: boys noheart</title>
      <link>https://dev.to/huming516520</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/huming516520"/>
    <language>en</language>
    <item>
      <title>Build ROS2 Apps on Windows Without the Toolchain — Plus a Standalone RViz2</title>
      <dc:creator>boys noheart</dc:creator>
      <pubDate>Sun, 07 Jun 2026 14:28:26 +0000</pubDate>
      <link>https://dev.to/huming516520/build-ros2-apps-on-windows-without-the-toolchain-plus-a-standalone-rviz2-17eb</link>
      <guid>https://dev.to/huming516520/build-ros2-apps-on-windows-without-the-toolchain-plus-a-standalone-rviz2-17eb</guid>
      <description>&lt;h2&gt;
  
  
  Build ROS2 Apps on Windows Without the Toolchain
&lt;/h2&gt;

&lt;p&gt;If you've ever tried compiling ROS2 on Windows, you know the pain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install Visual Studio, Python, CMake&lt;/li&gt;
&lt;li&gt;Configure environment variables&lt;/li&gt;
&lt;li&gt;Fight with &lt;code&gt;rosdep&lt;/code&gt;, &lt;code&gt;colcon&lt;/code&gt;, and missing dependencies&lt;/li&gt;
&lt;li&gt;Give up and use WSL2 instead&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After going through all of that, I compiled a complete ROS2 Humble SDK for Windows and open-sourced it. Now you can build ROS2 applications with &lt;strong&gt;standard CMake&lt;/strong&gt; — no ROS2 toolchain required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ros2Simple — Pre-built ROS2 Humble Windows SDK
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/huming516520/Ros2Simple" rel="noopener noreferrer"&gt;https://github.com/huming516520/Ros2Simple&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A pre-compiled ROS2 Humble SDK for Windows x64. No &lt;code&gt;colcon&lt;/code&gt;, no &lt;code&gt;rosdep&lt;/code&gt;, no complex setup.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to use
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;demo
&lt;span class="nb"&gt;mkdir &lt;/span&gt;build &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;build
cmake ..
cmake &lt;span class="nt"&gt;--build&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--config&lt;/span&gt; Debug
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the publisher:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;demo_pubsub.exe pub
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the subscriber (in another terminal):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;demo_pubsub.exe sub
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. A working ROS2 publisher/subscriber on Windows, built with plain CMake.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cross-platform support
&lt;/h3&gt;

&lt;p&gt;Currently provides Windows x64 Debug build. The SDK can also be cross-compiled to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linux x64&lt;/strong&gt; — for servers and desktops&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ARM-Linux&lt;/strong&gt; — for embedded devices and industrial controllers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes it practical for industrial deployment: develop on Windows, deploy on Linux/ARM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rviz2Windows — Double-click RViz2
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/huming516520/Rviz2Windows" rel="noopener noreferrer"&gt;https://github.com/huming516520/Rviz2Windows&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A standalone RViz2 that runs on Windows by &lt;strong&gt;double-clicking &lt;code&gt;rviz2.exe&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;No ROS2 installation. No environment variables. No dependencies to install. Just download, extract, and double-click.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Traditional ROS2 on Windows&lt;/th&gt;
&lt;th&gt;This approach&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Toolchain&lt;/td&gt;
&lt;td&gt;rosdep, colcon, Python deps&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build system&lt;/td&gt;
&lt;td&gt;colcon build&lt;/td&gt;
&lt;td&gt;cmake&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Environment setup&lt;/td&gt;
&lt;td&gt;Complex&lt;/td&gt;
&lt;td&gt;Point to SDK path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RViz2&lt;/td&gt;
&lt;td&gt;Build from source or use WSL&lt;/td&gt;
&lt;td&gt;Double-click to run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time to first run&lt;/td&gt;
&lt;td&gt;Hours to days&lt;/td&gt;
&lt;td&gt;Minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Who is this for?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ROS2 developers on Windows&lt;/strong&gt; who are tired of environment issues&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Industrial engineers&lt;/strong&gt; who need ROS2 on Windows-based industrial PCs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Students and researchers&lt;/strong&gt; who want to start learning ROS2 quickly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Teams&lt;/strong&gt; who need to deploy across Windows / Linux / ARM&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;Both projects are compiled from ROS2 Humble source code and comply with the original ROS2 licenses (Apache License 2.0 / BSD License). All third-party libraries retain their original licenses. Free to use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ros2Simple:&lt;/strong&gt; &lt;a href="https://github.com/huming516520/Ros2Simple" rel="noopener noreferrer"&gt;https://github.com/huming516520/Ros2Simple&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rviz2Windows:&lt;/strong&gt; &lt;a href="https://github.com/huming516520/Rviz2Windows" rel="noopener noreferrer"&gt;https://github.com/huming516520/Rviz2Windows&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feedback, issues, and suggestions are welcome!&lt;/p&gt;

&lt;p&gt;If you have commercial needs (custom builds, consulting, industrial deployment), contact: &lt;a href="mailto:huming516520@gmail.com"&gt;huming516520@gmail.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ros2</category>
      <category>windows</category>
      <category>cmake</category>
      <category>robotics</category>
    </item>
  </channel>
</rss>
