Skip to content

Clean checkout none of the examples build (AEGHB-1176) #199

@tpitman

Description

@tpitman

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Build Properly without errors

Actual behavior (suspected bug)

Doesn't build

Error logs or terminal output

tpitman@Tonys-MacBook-Pro-3 chatgpt_demo % idf.py build            
Executing action: all (aliases: build)
Running cmake in directory /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/Users/tpitman/.espressif/python_env/idf5.5_py3.12_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo"...
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Found Git: /opt/homebrew/bin/git (found version "2.47.1")
-- Minimal build - OFF
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/tpitman/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/tpitman/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/tpitman/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
NOTICE: Dependencies lock doesn't exist, solving dependencies.
................HINT: Failed to solve dependencies. Here are some possible reasons:
Component "espressif/esp-box-lite" (requires in /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo/main/idf_component.yml) has suitable versions for other targets:
- 2.1.0~2: esp32s3
Is your current target esp32 set correctly?
Component "espressif/esp-box" (requires in /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/components/bsp/idf_component.yml) has suitable versions for other targets:
- 3.0.0: esp32s3
- 3.0.1: esp32s3
- 3.0.2: esp32s3
- 3.0.3~1: esp32s3
- 3.0.4: esp32s3
- 3.0.5: esp32s3
Is your current target esp32 set correctly?
Component "espressif/esp-box-3" (requires in /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/components/bsp/idf_component.yml) has suitable versions for other targets:
- 1.1.0: esp32s3
- 1.1.1~1: esp32s3
- 1.1.2: esp32s3
- 1.1.3: esp32s3
Is your current target esp32 set correctly?
Component "espressif/esp-box-lite" (requires in /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/components/bsp/idf_component.yml, /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo/main/idf_component.yml) has suitable versions for other targets:
- 2.0.0: esp32s3
- 2.0.1: esp32s3
- 2.0.2~1: esp32s3
- 2.0.3: esp32s3
- 2.0.4: esp32s3
Is your current target esp32 set correctly?
HINT: Please check manifest file of the following component(s): main
CMake Error at /Users/tpitman/esp/v5.5/esp-idf/tools/cmake/build.cmake:629 (message):
  ERROR: Because project depends on both espressif/esp-box-lite (^2.1.0~2)
  and espressif/esp-box-lite (2.0.*), version solving failed.

Call Stack (most recent call first):
  /Users/tpitman/esp/v5.5/esp-idf/tools/cmake/project.cmake:740 (idf_build_process)
  CMakeLists.txt:12 (project)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo/build/log/idf_py_stderr_output_62211 and /Users/tpitman/Projects/Holley/RAI11/esp32-s3-box-3/examples/chatgpt_demo/build/log/idf_py_stdout_output_62211
tpitman@Tonys-MacBook-Pro-3 chatgpt_demo %

Steps to reproduce the behavior

  1. Set up the environment in vscode using the extension
  2. Install the latest esp-idf version 5.5.0
  3. git clone the esp-box repo
  4. Open any of the examples in vscode
  5. Open a edf-idf terminal
  6. Type idf.py build or idf.py menuconfig
  7. Note the errors

Project release version

latest master

System architecture

ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)

Operating system

MacOS

Operating system version

15.6

Shell

ZSH

Additional context

i installed the latest esp-idf 5.5. I also tried 5.1. It seems to be missing the esp32-s3-box-lite stuff, but I want to target the esp32-s3-box-3. I can't figure out how to set it to that board, however, because the instructions say to run idf.py menuconfig, but I get the same error when I try to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions