Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By alexsmd
#50232 Hi there!
Yesterday i installed esp-open-sdk on my macbook and i want to work in Eclipse developing and building it like on windows with UDK (Unofficial Development Kit) with make goals. Take an advice, how to create new project in Eclipse on macOS.

Sorry for English :shock:
User avatar
By alexsmd
#50242 Trying to compile blinky from https://github.com/esp8266/source-code-examples, with some retrifications, this get an error:
Code: Select all16:52:11 **** Build of configuration Release for project blinky ****
make all
Building file: ../user/user_main.c
Invoking: Cross GCC Compiler
gcc -I/Volumes/espdisk/esp-open-sdk/esp_iot_sdk_v1.5.2/include -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"user/user_main.d" -MT"user/user_main.o" -o "user/user_main.o" "../user/user_main.c"
In file included from ../user/user_main.c:2:
In file included from /Volumes/espdisk/esp-open-sdk/esp_iot_sdk_v1.5.2/include/osapi.h:8:
In file included from /usr/include/string.h:64:
/usr/include/sys/_types/_size_t.h:30:32: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int')
typedef __darwin_size_t        size_t;
                               ^
/Volumes/espdisk/esp-open-sdk/esp_iot_sdk_v1.5.2/include/c_types.h:49:29: note: previous definition is here
typedef unsigned int        size_t;
                            ^
In file included from ../user/user_main.c:2:
/Volumes/espdisk/esp-open-sdk/esp_iot_sdk_v1.5.2/include/osapi.h:9:10: fatal error: 'user_config.h' file not found
#include "user_config.h"
         ^
2 errors generated.
make: *** [user/user_main.o] Error 1

16:52:11 Build Finished (took 72ms)
You do not have the required permissions to view the files attached to this post.