-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX Quick Start Guide Produce Error: 'SC_TYPE_ESPTOUCH_AIRKISS' was not declared in this scope #481
Comments
Sming requires SDK v1.4.0/v1.5.0. It appears these instructions and binaries are out of date. @kireevco is the mac person in the team so perhaps he can update these... |
@anusoft hey, can you try https://bintray.com/artifact/download/kireevco/generic/esp-alt-sdk-1.4.0-macos-x86_64.zip and https://bintray.com/artifact/download/kireevco/generic/esp-alt-sdk-1.5.0-macos-x86_64.zip ? I've been working lately on a nice cross-platform package that helps all platforms |
Both works but you'll need to symlink xtensa:
for the build would works with ESP_HOME=/opt/esp-open-sdk setting. and to build Basic_Blink you'll need to chage ESP_HOME = /opt or you'll get an error if it set to default ESP_HOME = /opt/esp-open-sdk
|
@anusoft what if you set ESP_HOME=/opt/esp-alt-sdk ? |
Same error only /opt works. I found some odds in xtensa-lx106-elf path which has duplicate contents in xtensa-lx106-elf and xtensa-lx106-elf/xtensa-lx106-elf |
I can confirm the exact same behaviour with invalid ld include path on Linux, both prebuilt esp-open-sdk 1.4.0 and esp-alt-sdk 1.5.0. I think the most kosher solution to that would be adding |
spiffy binary also doesn't build with this Make file
|
Go into "spiffy" folder and use "make" command and then build app's or if you don't want SPIFFS, then set "export DISABLE_SPIFFS=1", make clean and then make |
@itsjustvenky I knew but just to point out this issue since it should produce no error in example project. Making Basic_Blink output spiffs path but none binary produce some of Spiff path but no the binary:
But manually make spiffy from /opt/Sming/Sming/spiffy does
|
@anusoft I think that's expected, since Nevertheless, I think adding |
@Informatic Some examples will unable to use without Spiff, sure some projects might benefits to disable Spiff, but still need to fix spiff building in "make all" anyway. |
|
@raburton I mean only example projects that need spiffy should build spiffy with "make all", not in every projects, sorry for misunderstanding. My point is every examples should be able to build without problem. |
I've tried setting up Sming on my MacBook, but the compilation has failed with this error: Thanks |
@matoushybl : |
I see, it wasn't mentioned in the OSX quickstart guide, so I've missed it. Shall I add it to the wiki with updated SDK as well? |
@matoushybl : Although I am not 100% sure that that doesn't require additional access rights. |
wiki appears to have been updated, thanks |
I'm following https://github.com/SmingHub/Sming/wiki/MacOS-Quickstart and got this error:
The prebuilt package https://bintray.com/artifact/download/kireevco/generic/esp-open-sdk-1.3.0-macos-x86_64.tar.gz missing some declares. You'll have to replace smartconfig.h with this typedef and add this line:
typedef enum {
SC_TYPE_ESPTOUCH = 0,
SC_TYPE_AIRKISS,
+++ SC_TYPE_ESPTOUCH_AIRKISS,
} sc_type;
+++bool smartconfig_set_type(sc_type type);
The text was updated successfully, but these errors were encountered: