Host compile error (missing header) running lxdialog/check-lxdialog.sh

llewellyn
Posts: 33
Joined: Fri May 05, 2017 8:22 am

Host compile error (missing header) running lxdialog/check-lxdialog.sh

Postby llewellyn » Fri Sep 29, 2017 5:55 am

Hey, Guys,

This is not relevant to the IDF but I am getting the following error when I try compiling my code on my MAC

lxdialog/check-lxdialog.sh -check cc -DCURSES_LOC="<ncurses.h>" -DKBUILD_NO_NLS -Wno-format-security -DLOCALE -MD -lncurses
make[1]: *** No rule to make target `/Library/Developer/CommandLineTools/usr/bin/../lib/clang/8.1.0/include/stdint.h', needed by `lxdialog/checklist.o'. Stop.
make: *** No rule to make target `/Users/llewellyn/eclipse-workspace/nu-m2-firmware/build/include/config/auto.conf', needed by `/Users/llewellyn/eclipse-workspace/nu-m2-firmware/build/bootloader/bootloader.bin'. Stop.

Anyone come across this before?

Regards

llewellyn
Posts: 33
Joined: Fri May 05, 2017 8:22 am

Re: ESP32 Compile Error

Postby llewellyn » Wed Oct 04, 2017 10:48 am

clag 9.0 is installed but it still looks for 8.1.0

find /Applications/Xcode.app -name stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/4.2.1/tr1/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/c++/4.2.1/tr1/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/2.0/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1/tr1/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/stdint.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdint.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stdint.h
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/stdint.h

Angus
Espressif staff
Espressif staff
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP32 Compile Error

Postby Angus » Wed Oct 04, 2017 11:21 pm

Hi llewyln,

I think this is a related version of this bug where some dependency files are left for kconfig after the host toolchain updates:
https://esp32.com/viewtopic.php?f=13&t=3098#p14487

Please try the suggestions mentioned there. Since commit c4e65d6a95c508545e3d030c2fbbf6b9186a8472 on the master branch (pre-V3.0), the "make clean" command should also fix this.

llewellyn
Posts: 33
Joined: Fri May 05, 2017 8:22 am

Re: Host compile error (missing header) running lxdialog/check-lxdialog.sh

Postby llewellyn » Thu Oct 05, 2017 12:35 pm

Hi ESP_Angus,

Running make clean was showing the same error as above.

The following command solved the problem

rm ${IDF_PATH}/tools/kconfig/lxdialog/*.d

Regards

Who is online

Users browsing this forum: PerplexityBot and 1 guest