-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colcon build make params -j4 doesn't work #507
Comments
You can pass additional colcon, CMake and Make arguments via the respective options in the |
Does the generated command line |
I run the command out of Qt, and it doesn't work for me.
|
If this also occurs without using the plugin, then this can hardly be caused by it. It looks like you are mixing your workspace with a "base" virtual environment. Check your Python environment and report colcon errors to the colcon project if you can reproduce them without the Qt Creator plugin. |
What I mean is that if colcon produces an error outside of the plugin, then this is an error caused by colcon and not the plugin. However, simply testing with |
I am assume it was a copy paste, but not a 100% sure. |
I do not that it does not exist with colcon and I believe you have to use environment variables if you want to pass make options. |
I am using Qt creator 13.1, ros_qtc_plugin 13. Ubuntu22. ROS2 humble.
When I run Build ROS2 project, my ubuntu 22 always stuck, my cpu has 24 kernel, I checked ROS log, it used -j24 -L24, I want to reduce number of thread then Build ROS2 using colcon build.
In Qt creator - Build & Run - Colcon detail, I can find Colcon Build / CMake / Make parameterinput. I added "--parallel-workers=1" in Colcon Build params input, it has no error. But when I add "-j 4" in Make parameter, and Build in Qt Creator, it fails, "can not find -j in CMake....."
The text was updated successfully, but these errors were encountered: