Git Product home page Git Product logo

Comments (4)

jcwren avatar jcwren commented on July 2, 2024 1

OK, installed gawk, builds correctly now. I'd advocate documenting that, and aborting the script on any errors.

from esp32-arduino-lib-builder.

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

you probably got some errors during build, like bad arguments for sed. Installing gsed and using that can help. What OS are you on?

from esp32-arduino-lib-builder.

jcwren avatar jcwren commented on July 2, 2024

Building on a Mac, using Homebrew. gsed is installed. It appears that it's choking on something about awk. I'd tell you what version it is, but there's no -v or --version option for it. It's in /usr/bin, so I suspect it's the Mac OS version. gawk is not installed.

IDF_TARGET: esp32s3, MEMCONF: qio_qspi, PWD: /Users/jcw/Projects/esp32-arduino-lib-builder, OUT: /Users/jcw/Projects/esp32-arduino-lib-builder/out/tools/sdk/esp32s3
Renaming 'mbedtls' to 'mbedtls_2': /Users/jcw/Projects/esp32-arduino-lib-builder/build/esp-idf/mbedtls/mbedtls/library/libmbedtls.a
awk: syntax error at source line 1
 context is
   >>> /ASFLAGS=\[/{n++}{print>n"pio_start.txt" <<<
awk: illegal statement at source line 1
awk: syntax error at source line 1
 context is
   >>> /"ARDUINO_ARCH_ESP32"/{n++}{print>n"pio_end.txt" <<<
awk: illegal statement at source line 1
cat: pio_start.txt: No such file or directory
rm: pio_end.txt: No such file or directory
rm: 1pio_start.txt: No such file or directory
rm: pio_start.txt: No such file or directory
cat: 1pio_end.txt: No such file or directory
rm: 1pio_end.txt: No such file or directory
awk: syntax error at source line 1
 context is
   >>> /compiler.cpreprocessor.flags.esp32s3=/{n++}{print>n"platform_start.txt" <<<
awk: illegal statement at source line 1
gsed: can't read 1platform_start.txt: No such file or directory
awk: syntax error at source line 1
 context is
   >>> /compiler.ar.flags.esp32s3=/{n++}{print>n"platform_mid.txt" <<<
awk: illegal statement at source line 1
cat: platform_start.txt: No such file or directory
cat: 1platform_mid.txt: No such file or directory

from esp32-arduino-lib-builder.

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

you need gawk also. I guess this needs to be checked and added to the scripts and docs :)

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.