-->
Page 1 of 1

Eclipse + macOS workflow, creating new project

PostPosted: Tue Jul 05, 2016 7:02 am
by alexsmd
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:

Re: Eclipse + macOS workflow, creating new project

PostPosted: Tue Jul 05, 2016 8:56 am
by alexsmd
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)

Re: Eclipse + macOS workflow, creating new project

PostPosted: Tue Jul 05, 2016 9:05 am
by alexsmd
No one works with Eclipse on macOS? :(