Skip to content

Building examples/qrcode for esp32 #128

@lll000111

Description

@lll000111

Build platform: Linux

esp-idf installed in ~/esp (and a symlink ~/esp32 => ~/esp because when I installed to ~/esp as instructed by esp-idf installation instructions it could not find it, and when I moved it to ~/esp32 it turned out that during different build steps both paths ~/esp as well as ~/esp32 were used)

Only copying the last lines of output:

App "xs_esp32" version: dc94381c
Building component project variables list /home/mha/Projects/moddable/build/tmp/esp32/debug/idf/app_update/component_project_vars.mk
including /home/mha/esp32/esp-idf/components/app_update/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/bootloader/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/bootloader_support/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/coap/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/esp32/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/esptool_py/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/mbedtls/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/nghttp/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/partition_table/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/ulp/Makefile.projbuild...
including /home/mha/esp32/esp-idf/components/unity/Makefile.projbuild...
# cc xsHost.c (strings in flash)
In file included from /home/mha/Projects/moddable/xs/sources/xsCommon.h:41:0,
                 from /home/mha/Projects/moddable/xs/sources/xsAll.h:41,
                 from /home/mha/Projects/moddable/xs/platforms/esp/xsHost.c:38:
/home/mha/Projects/moddable/xs/platforms/esp/xsPlatform.h:102:24: fatal error: lwip/netdb.h: No such file or directory
compilation terminated.
/home/mha/Projects/moddable/build/tmp/esp32/debug/qrcode/makefile:444: recipe for target '/home/mha/Projects/moddable/build/tmp/esp32/debug/lib/xsHost.c.o' failed
make: *** [/home/mha/Projects/moddable/build/tmp/esp32/debug/lib/xsHost.c.o] Error 1

There indeed is no file lwip/netdb.h. There would be one available as part of esp-idf though: ~/esp32/esp-idf/components/lwip/lwip/src/include/lwip/netdb.h but that's not the location that gets used. There is no such file in ..../build/tmp/esp32/debug/idf/include/config/lwip/

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