[bug] Catkin build tasks not working
See original GitHub issuegeneral information Ubuntu 18.04; using catkin tools, vscode 1.37.1.
what is the bug
When running Configure Default Build Task
and then selecting catkin: make
, a new entry is added to tasks.json:
{
"type": "catkin",
"problemMatcher": [
"$catkin-gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
For the type, vscode complains about “Value is not accepted”. For "problemMatcher: “Incorrect type. Expected object”.
expected behavior The creation of a valid and working catkin build task
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Build Packages — catkin_tools 0.0.0 documentation
If a workspace is not yet initialized, build can initialize it with the default configuration, but only if it is called from the...
Read more >ubuntu 16.04 - Issues with Catkin Build - Stack Overflow
the root Folder of build, install, log, devel and src space should be your catkin root where you can call to catkin build...
Read more >Error with catkin build - Ros melodic
I have an error while catkin build I never had before, ... exc_tb) File "/usr/local/lib/python2.7/dist-packages/trollius/tasks.py", ...
Read more >A universal build tool - ROS 2 Design
catkin_make_isolated is provided by the ROS package catkin which contains the build system for ROS 1. It was developed after catkin_make to address...
Read more >catkin_tools command man page - ManKier
Most problems users will encounter when migrating from catkin_make to catkin build are due to hidden bugs in packages which previously relied on ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
With VSCode 1.52.1 and vscode-ros v0.6.5, this is still an issue.
When creating a build task for a catkin tools workspace using the plugin (
CTRL+SHIFT+P
→Tasks: Configure Default Build Task
), thistasks.json
is created:As a result triggering a build fails:
Clearly, it should have called
catkin build
. These changes intasks.json
fix the problem (and nicely set the working directory, to support stuff likecatkin build --this --no-deps
as mentioned by @beetleskin ):Alright. With the original plugin, I’ve been using those:
Do you mean those type of tasks? Or how do I compile with the plugin?