Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: components/driver/include/driver/i2s_types.h: No such file or directory #54

Closed
tradeJmark opened this issue Sep 4, 2022 · 2 comments
Assignees

Comments

@tradeJmark
Copy link

tradeJmark commented Sep 4, 2022

This is the result I get when I try to do a cargo build, and I haven't been able to find anyone else who had the same issue. As far as I know, I've exactly followed the setup instructions. I can build with PIO, if it helps for diagnostic purposes, I'd just rather not need to, I'd like to get it figured out natively. More output for context:

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

Caused by:
  process didn't exit successfully: `/home/tim/tmp/rst/hello-world/hello-world/target/debug/build/esp-idf-sys-052a90a0c1dd4292/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=ESP_IDF_TOOLS_INSTALL_DIR
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG
  cargo:rerun-if-env-changed=ESP_IDF_SDKCONFIG_DEFAULTS
  cargo:rerun-if-env-changed=MCU
  cargo:rerun-if-env-changed=ESP_IDF_SYS_ROOT_CRATE
  cargo:rerun-if-env-changed=ESP_IDF_VERSION
  cargo:rerun-if-env-changed=ESP_IDF_REPOSITORY
  cargo:rerun-if-env-changed=ESP_IDF_CMAKE_GENERATOR
  cargo:rerun-if-env-changed=IDF_PATH
  cargo:rerun-if-env-changed=ESP_IDF_COMPONENTS

  --- stderr
  Build configuration: BuildConfig {
      esp_idf_tools_install_dir: None,
      esp_idf_sdkconfig: None,
      esp_idf_sdkconfig_defaults: None,
      mcu: None,
      native: NativeConfig {
          esp_idf_version: Some(
              Branch(
                  "release/v4.4",
              ),
          ),
          esp_idf_repository: None,
          esp_idf_cmake_generator: None,
          idf_path: Some(
              "/home/tim/.espressif/frameworks/esp-idf-v4.4",
          ),
          extra_components: [],
          esp_idf_components: None,
      },
      esp_idf_sys_root_crate: None,
  }
  Using activated esp-idf v4.4.0 environment at '/home/tim/.espressif/frameworks/esp-idf-v4.4'
  error: components/driver/include/driver/i2s_types.h: No such file or directory
  error: components/driver/include/driver/i2s_types.h: No such file or directory
  Error: command '"git" "--git-dir" "/home/tim/.espressif/frameworks/esp-idf-v4.4/.git" "--work-tree" "/home/tim/.espressif/frameworks/esp-idf-v4.4" "apply" "/home/tim/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.8/patches/i2s_types_master.diff"' exited with non-zero status code 1
@N3xed
Copy link
Collaborator

N3xed commented Sep 7, 2022

Yup, this is definitely a bug in esp-idf-sys. I'll fix it shortly.

@N3xed N3xed self-assigned this Sep 7, 2022
@N3xed N3xed added the bug label Sep 7, 2022
@N3xed
Copy link
Collaborator

N3xed commented Sep 19, 2022

This was indirectly fixed by esp-rs/esp-idf-sys@55e11cd (so works on the latest release) and is now directly fixed by esp-rs/esp-idf-sys@527f7fc.

@N3xed N3xed closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants