Git Product home page Git Product logo

Comments (9)

me-no-dev avatar me-no-dev commented on July 20, 2024 1

This is actually an issue with package manager. I think you can update it somehow, but not sure what was the command to do so. Maybe delete espressif's home folder ~/.espressif and then run $IDF_PATH/install.sh && . $IDF_PATH/export.sh

from esp32-arduino-lib-builder.

chegewara avatar chegewara commented on July 20, 2024 1

Looks like it was some issue i cant even explain. Now seems to build fine.

from esp32-arduino-lib-builder.

tiborrr avatar tiborrr commented on July 20, 2024

experiencing the same issue here.

from esp32-arduino-lib-builder.

SinglWolf avatar SinglWolf commented on July 20, 2024

When executing the command ./build.sh -c /home/alex/.platformio/packages/framework-arduinoespressif32/ I get this:

[1352/1398] Building C object esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_process_sdkconfig.c.obj
FAILED: esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_process_sdkconfig.c.obj 
/home/alex/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc  -I/home/alex/esp/esp32-arduino-lib-builder/build/config -I/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/esp-tts/esp_tts_chinese/include -I/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/include/esp32 -I/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/newlib/platform_include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/freertos/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/freertos/include/esp_additions/freertos -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/freertos/port/xtensa/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/freertos/include/esp_additions -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/include/soc/esp32s2 -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/port/esp32s2/. -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/port/esp32s2/private_include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/heap/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/log/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/lwip/include/apps -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/lwip/port/esp32/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/lwip/port/esp32/include/arch -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/soc/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/soc/esp32s2/. -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/soc/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/hal/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/hal/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/hal/platform_port/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_rom/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_rom/include/esp32s2 -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_rom/esp32s2 -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_common/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_system/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/soc -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_system/port/public_compat -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/xtensa/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/xtensa/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/driver/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/driver/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_pm/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_ringbuf/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/efuse/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/efuse/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/vfs/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_wifi/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_event/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_netif/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_eth/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/tcpip_adapter/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_phy/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_phy/esp32s2/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_ipc/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/app_trace/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/esp_timer/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/json/cJSON -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/spiffs/include -I/home/alex/esp/esp32-arduino-lib-builder/esp-idf/components/spi_flash/include -mlongcalls  -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -Wwrite-strings -fstack-protector -fmacro-prefix-map=/home/alex/esp/esp32-arduino-lib-builder=. -fmacro-prefix-map=/home/alex/esp/esp32-arduino-lib-builder/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.2-186-gb059440b83\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_process_sdkconfig.c.obj -MF esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_process_sdkconfig.c.obj.d -o esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_process_sdkconfig.c.obj -c /home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_process_sdkconfig.c
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_process_sdkconfig.c:9:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 static char *TAG = "SR_SYS";
                    ^~~~~~~~
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_process_sdkconfig.c: In function 'esp_mn_commands_update_from_sdkconfig':
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_process_sdkconfig.c:884:42: error: 'esp_mn_iface_t' {aka 'const struct <anonymous>'} has no member named 'get_language'; did you mean 'get_samp_rate'?
     if (strcmp(ESP_MN_CHINESE, multinet->get_language(model_data)) == 0) {
                                          ^~~~~~~~~~~~
                                          get_samp_rate
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_process_sdkconfig.c:886:49: error: 'esp_mn_iface_t' {aka 'const struct <anonymous>'} has no member named 'get_language'; did you mean 'get_samp_rate'?
     } else if (strcmp(ESP_MN_ENGLISH, multinet->get_language(model_data)) == 0) {
                                                 ^~~~~~~~~~~~
                                                 get_samp_rate
[1353/1398] Building C object esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/esp_mn_speech_commands.c.obj
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/esp_mn_speech_commands.c:8:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 static char *TAG = "MN_COMMAND";
                    ^~~~~~~~~~~~
[1355/1398] Building C object esp-idf/esp-sr/CMakeFiles/__idf_esp-sr.dir/src/model_path.c.obj
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/model_path.c:16:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 static char *TAG = "MODEL_LOADER";
                    ^~~~~~~~~~~~~~
/home/alex/esp/esp32-arduino-lib-builder/components/esp-sr/src/model_path.c:17:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 static char *SRMODE_BASE_PATH = "/srmodel";
                                 ^~~~~~~~~~
[1357/1398] Building CXX object esp-idf/esp-dsp/CMakeFiles/__idf_esp-dsp.dir/modules/kalman/ekf/common/ekf.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

from esp32-arduino-lib-builder.

me-no-dev avatar me-no-dev commented on July 20, 2024

which ESP-IDF is this? We currently support only 4.4.x

from esp32-arduino-lib-builder.

SinglWolf avatar SinglWolf commented on July 20, 2024

which ESP-IDF is this? We currently support only 4.4.x

Sorry, I made a mistake. Opened a new issue.

from esp32-arduino-lib-builder.

chegewara avatar chegewara commented on July 20, 2024

Hi @me-no-dev
with fresh clone of this builder repo:

$ ./build.sh -b menuconfig -t esp32
* Installing/Updating ESP-IDF and all components...
Current Branch: master
warning: redirecting to https://github.com/espressif/arduino-esp32.git/
Already on 'idf-release/v4.4'
Your branch is up to date with 'origin/idf-release/v4.4'.
warning: redirecting to https://github.com/espressif/arduino-esp32.git/
warning: redirecting to https://github.com/espressif/arduino-esp32.git/
Already up to date.
Already up to date.
Already up to date.
Already up to date.
Already up to date.
Already up to date.
Already up to date.
Already up to date.
Detecting the Python interpreter
Checking "python" ...
Python 3.8.10
"python" has been detected
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool openocd-esp32 found in PATH: unknown.
Using Python interpreter in /home/chegewara/.espressif/python_env/idf4.4_py3.8_env/bin/python
Checking if Python packages are up to date...
Python requirements from /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/requirements.txt are satisfied.
Added the following directories to PATH:
  /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/components/esptool_py/esptool
  /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/components/espcoredump
  /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/components/partition_table
  /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/components/app_update
  /home/chegewara/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin
  /home/chegewara/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin
  /home/chegewara/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin
  /home/chegewara/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin
  /home/chegewara/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
  /home/chegewara/.espressif/tools/openocd-esp32/v0.11.0-esp32-20220706/openocd-esp32/bin
  /home/chegewara/.espressif/python_env/idf4.4_py3.8_env/bin
  /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/esp-idf/tools
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

idf.py -DIDF_TARGET="esp32" -DSDKCONFIG_DEFAULTS="configs/defconfig.common;configs/defconfig.esp32;configs/defconfig.qio_ram" menuconfig
Executing action: menuconfig
Running cmake in directory /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DSDKCONFIG_DEFAULTS=configs/defconfig.common;configs/defconfig.esp32;configs/defconfig.qio_ram -DCCACHE_ENABLE=0 /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder"...
-- Found Git: /usr/bin/git (found version "2.25.1") 
-- Component directory /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/components/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/components/esp-rainmaker does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/chegewara/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/chegewara/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-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: /home/chegewara/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
4 problems were found in the manifest file /media/chegewara/upwork/arduino-builder/esp32-arduino-lib-builder/components/esp-rainmaker/components/esp_rainmaker/idf_component.yml:
Invalid manifest format
Invalid dependency format
Dependency version spec format is invalid
Unknown keys in dependency details: rules
CMake Error at esp-idf/tools/cmake/build.cmake:452 (message):
Call Stack (most recent call first):
  esp-idf/tools/cmake/project.cmake:384 (idf_build_process)
  CMakeLists.txt:8 (project)

Removing that file fixed issue, so im not sure if its good place to report it:

esp-rainmaker/components/esp_rainmaker/idf_component.yml

from esp32-arduino-lib-builder.

chegewara avatar chegewara commented on July 20, 2024

This time esp_rainmaker is missing CMakeLists.txt.

from esp32-arduino-lib-builder.

me-no-dev avatar me-no-dev commented on July 20, 2024

@chegewara huh? seems to build fine on my end. Was it temporary?

from esp32-arduino-lib-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.