-
Notifications
You must be signed in to change notification settings - Fork 35
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
Problem compiling an example (Basic_Serial) on Linux (x86_64) #139
Comments
Today I tried compiling Basic_rBoot sample and I also get this error:
This is very strange sinc eI know I compiled this succesfully before. |
For me I needed to change main.cpp to this:
notice: extern "C" uint32 ICACHE_FLASH_ATTR |
@zhivko : |
@hreintke what about the errno.h thing? Or am I doing something wrong? And also, was the method I used the correct method to fetch the required RTOS SDK? |
@hreintke ok will do that, but how Basic_rBoot sample works for you with upper error - sorry maybe missing a point here. |
@hreintke it will be hard for me to create pull request since my SmingRTOS includes some additional features. |
Hi,
Before reading further, please keep in mind that I'm really new at this.
What is the correct procedure (starting from scratch) to compile a sample application? Let's say I'm interested in the Basic_Serial.
Steps that I have followed:
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
make STANDALONE=n
git clone https://github.com/espressif/ESP8266_RTOS_SDK.git --branch 1.3.x --single-branch
git clone https://github.com/SmingHub/SmingRTOS.git
cd $SMING_HOME && make
Problem 1: JsonVariant.cpp is referring to errno.h that no longer exists, uncommenting line 13 and commenting line 12 seems to fix it
cd $SMING_HOME/../samples/Basic_Serial/ && make
:What did I miss? Am I using incorrect RTOS SDK version? Adding code from here to user_main.cpp seems to fix the build issue, is this the correct way of solving this? If so, why hasn't this been submitted to the repo?
My apologies if the formatting is less-than-ideal - this is my first message on GitHub ever!
Karolis
The text was updated successfully, but these errors were encountered: