I'm trying to build a test project in rust, but, I can't

Hi there! I'm trying to build this project for esp.
I create the project with the IDF template and i'm trying to compile the standard project, without changes. This is my first Embedded project in Rust.
this is the error that i'm talking about:

Compiling esp-idf-sys v0.33.5
error: failed to run custom build command for `esp-idf-sys v0.33.5`

Caused by:
  process didn't exit successfully: `/home/nash/Documents/My Projects/Rust/esp-dht/target/debug/build/esp-idf-sys-7246256a127ef92f/build-script-build` (exit status: 1)
  --- stderr
  Error: Output directory contains spaces: `/home/nash/Documents/My Projects/Rust/esp-dht/target/xtensa-esp32-espidf/debug/build/esp-idf-sys-e12ae79e22a07197/out`.

  Stack backtrace:
     0: <unknown>
     1: <unknown>
     2: <unknown>
     3: <unknown>
     4: <unknown>
     5: <unknown>
     6: <unknown>
     7: <unknown>
     8: <unknown>
     9: <unknown>
    10: <unknown>
    11: <unknown>
    12: __libc_start_call_main
               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    13: __libc_start_main_impl
               at ./csu/../csu/libc-start.c:392:3
    14: <unknown>

linux ubuntu 22.04
espup 0.7.0
rustc 1.73.0-nightly

Did you read the error message?

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.