Skip to content

Error when building the package using Colcon (mixin) #15

Answered by gavanderhoorn
axelssons asked this question in Q&A
Discussion options

You must be logged in to vote

The error is: colcon: error: Mixin 'release' is not available for 'build'

it looks like you don't have colcon_mixin installed.

The ROS 2 Docker images (ie: ros:humble, etc) come with that installed by default, which is perhaps why our tests didn't show that as missing.

Why do I get this [..]? When running just colcon build it works fine. Will it work this way or do I have to build it with the --mixin and --packages-up-to flags?

The main difference would be:

  • all packages in your workspace get built, instead of just motoros2_client_interface_dependencies and its dependencies, and
  • your packages are built with Debug build type, instead of the Release build type, meaning no compiler optim…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gavanderhoorn
Comment options

@axelssons
Comment options

Answer selected by axelssons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14 on June 11, 2024 11:47.