Skip to content

webrtc_ros failing to compile on Ubuntu 22.04, ROS 2 HumbleΒ #71

@GTeref

Description

@GTeref

Description
Hello,
I am trying to compile this package with ROS2 and I get the following error:

CMake Error at CMakeLists.txt:41 (message):
  cannot fetch GN build tool
  • Library Version: develop-ros2
  • ROS Version: ROS 2 Humble
  • Platform / OS: Ubuntu 22.04

Steps To Reproduce

  1. Clone the repo
  2. Run colcon build
  3. Wait 0.8 seconds
  4. CMake Error appears regarding "cannot fetch GN build tool"

Expected Behavior
Builds successfully

Actual Behavior
CMake error

Starting >>> webrtc  
Starting >>> webrtc_ros_msgs
--- stderr: webrtc                                                                    
build/get_gn: line 17: cd: /home/gteref/webrtc_ros/webrtc/build/webrtc/src: No such file or directory
CMake Error at CMakeLists.txt:41 (message):
  cannot fetch GN build tool


---
Failed   <<< webrtc [1.76s, exited with code 1]
Aborted  <<< webrtc_ros_msgs [4.28s]                           

Summary: 0 packages finished [4.59s]
  1 package failed: webrtc
  1 package aborted: webrtc_ros_msgs
  1 package had stderr output: webrtc
  1 package not processed

Note
I have tried updating the commit hashes to the latest commits in the build/webrtc folder, in get_gn and get_webrtc_ros, but that didn't work. From past issues/pull requests, it seems that updating to a newer version of WebRTC is not as trivial as this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions