micro-ROS / micro_ros_platformio

micro-ROS library for Platform.IO
Apache License 2.0
201 stars 75 forks source link

ament_cmake clone failed #111

Open torlarse opened 1 year ago

torlarse commented 1 year ago

Issue template

Steps to reproduce the issue

New Platformio project in VS Code, select Pico board, and add

lib_deps = https://github.com/micro-ROS/micro_ros_platformio

to platformio.ini. Save to start auto-build.

Expected behavior

Build

Actual behavior

Configuring pico with transport serial
Downloading micro-ROS dev dependencies
ament_cmake clone failed: 
fatal: Too many arguments.

Additional information

Same issue as the closed https://github.com/micro-ROS/micro_ros_platformio/issues/60

Platformio.ini:

[env:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps = https://github.com/micro-ROS/micro_ros_platformio
lib_ldf_mode = chain+
upload_protocol = cmsis-dap
vlacorre commented 5 months ago

Hello,

I had the same error message "ament_cmake clone failed: fatal: Too many arguments.". The issue for me was that the name of my project directory contains spaces: "My Project". I switched to "my-project" and the error does not appear anymore.

Hope it solves the issue for other people.