You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux nuaa 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python Version: python --version
Python 3.8.10
Version of catkin_tools: catkin --version OR Git revision
catkin_tools 0.9.2 (C) 2014-2024 Open Source Robotics Foundation
catkin_tools is released under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
Using Python 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0]
I am working on a ROS package and have encountered an issue where modifications made in the CMakeLists.txt file do not seem to affect the output of catkin build. Specifically, I added the following lines to my CMakeLists.txt:
After adding these, I expected to see the status message regarding CMAKE_CXX_FLAGS during the build process and a compile_commands.json file to be generated in the build directory. Unfortunately, neither of these outcomes occurs.
Here are the steps I've taken:
Added the above lines to CMakeLists.txt.
Ran catkin clean to clear any existing build data.
Ran catkin build to rebuild the package.
Despite these steps, the expected message does not appear in the build output, and the compile_commands.json file is not found.
However, when using catkin_make, both the message is displayed, and the compile_commands.json file is generated as expected.
The text was updated successfully, but these errors were encountered:
System Info
Operating System:
uname -a
Linux nuaa 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python Version:
python --version
Python 3.8.10
Version of catkin_tools:
catkin --version
OR Git revisioncatkin_tools 0.9.2 (C) 2014-2024 Open Source Robotics Foundation
catkin_tools is released under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
Using Python 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0]
echo $ROS_DISTRO
noetic
Build / Run Issue
catkin_make
catkin_make_isolated --merge
catkin build
catkin build -p1
read this
Expected Behavior
Actual Behavior
CLI output in Gists: https://gist.github.com/talking-toaster/986e9987b000f62a5a6cc99191ea1527
Steps to Reproduce the Issue
I am working on a ROS package and have encountered an issue where modifications made in the CMakeLists.txt file do not seem to affect the output of catkin build. Specifically, I added the following lines to my CMakeLists.txt:
After adding these, I expected to see the status message regarding CMAKE_CXX_FLAGS during the build process and a compile_commands.json file to be generated in the build directory. Unfortunately, neither of these outcomes occurs.
Here are the steps I've taken:
Added the above lines to CMakeLists.txt.
Ran catkin clean to clear any existing build data.
Ran catkin build to rebuild the package.
Despite these steps, the expected message does not appear in the build output, and the compile_commands.json file is not found.
However, when using catkin_make, both the message is displayed, and the compile_commands.json file is generated as expected.
The text was updated successfully, but these errors were encountered: