Git Product home page Git Product logo

Comments (6)

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

you found the command that you added yourself :) yeah. You do not need it

from esp32-arduino-lib-builder.

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

pull the latest changes in the branch and start again (deleting components/rainmaker folder first). It will set the RainMaker to particular commit that will not cause the error you see

from esp32-arduino-lib-builder.

HamzaHajeir avatar HamzaHajeir commented on July 26, 2024

Thanks @me-no-dev, I've followed the provided steps and progressed, but received another error repeatedly:

-- Building ESP-IDF components for target esp32h2
Processing 7 dependencies:
[1/7] chmorgan/esp-libhelix-mp3 (1.0.3)
[2/7] espressif/esp-dsp (1.4.7)
[3/7] espressif/esp-nn (1.0.1)
[4/7] espressif/esp_secure_cert_mgr (2.3.1)
[5/7] espressif/mdns (1.2.1)
[6/7] espressif/qrcode (0.1.0)
[7/7] idf (5.1.1)
CMake Error at esp-idf/tools/cmake/component.cmake:250 (message):
ERROR: Cannot process component requirements. Multiple candidates to
satisfy project requirements:

requirement: "qrcode" candidates: "qrcode, espressif__qrcode"

Call Stack (most recent call first):
esp-idf/tools/cmake/build.cmake:574 (__component_get_requirements)
esp-idf/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:12 (project)

-- Configuring incomplete, errors occurred!
See also "/home/hamza/arduino/esp32-arduino-lib-builder/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the /home/hamza/arduino/esp32-arduino-lib-builder/build/log/idf_py_stderr_output_43167 and /home/hamza/arduino/esp32-arduino-lib-builder/build/log/idf_py_stdout_output_43167

from esp32-arduino-lib-builder.

lancas17 avatar lancas17 commented on July 26, 2024

I was able to get it to build by using an older commit from rainmaker (from the last date I used the lib builder), editing update-components.sh:

#
# CLONE/UPDATE ESP-RAINMAKER
#
echo "Updating ESP-RainMaker..."
if [ ! -d "$AR_COMPS/esp-rainmaker" ]; then
    git clone $RMAKER_REPO_URL "$AR_COMPS/esp-rainmaker" && \
	git -C "$AR_COMPS/esp-rainmaker" checkout 0414a8530ec1ac8714269302503c71c238b68836 # added this line
    git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
else
	git -C "$AR_COMPS/esp-rainmaker" fetch && \
	git -C "$AR_COMPS/esp-rainmaker" pull --ff-only && \
    git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
fi
if [ $? -ne 0 ]; then exit 1; fi

from esp32-arduino-lib-builder.

HamzaHajeir avatar HamzaHajeir commented on July 26, 2024

I was able to get it to build by using an older commit from rainmaker (from the last date I used the lib builder), editing update-components.sh:

#
# CLONE/UPDATE ESP-RAINMAKER
#
echo "Updating ESP-RainMaker..."
if [ ! -d "$AR_COMPS/esp-rainmaker" ]; then
    git clone $RMAKER_REPO_URL "$AR_COMPS/esp-rainmaker" && \
	git -C "$AR_COMPS/esp-rainmaker" checkout 0414a8530ec1ac8714269302503c71c238b68836 # added this line
    git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
else
	git -C "$AR_COMPS/esp-rainmaker" fetch && \
	git -C "$AR_COMPS/esp-rainmaker" pull --ff-only && \
    git -C "$AR_COMPS/esp-rainmaker" submodule update --init --recursive
fi
if [ $? -ne 0 ]; then exit 1; fi

Unfortunately, this didn't help. Still getting the same error descibed in my last comment.

from esp32-arduino-lib-builder.

HamzaHajeir avatar HamzaHajeir commented on July 26, 2024

I had to revert the following command, found it in a file and just deleted it, now I've bypassed this error.

python3 [IDF-PATH]/idf.py add-dependency "espressif/qrcode^0.1.0"

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.