Closed chrislope closed 3 years ago
Hi @chrislope , Thanks for submitting issue. I think you're using Make (Not CMake) for your testing. So I tried clean build with just "make" command with commit "4367e87 Merge pull request #93 from SmartThingsCommunity/master_rel_1_6_2" But the build error isn't reproduce at my side.
As you can see in the Makefile. That is related with STDK_IOT_CORE_EASYSETUP_HTTP_USE_SOCKET_API
ifneq ($(findstring STDK_IOT_CORE_EASYSETUP_HTTP_USE_SOCKET_API, $(STDK_CONFIGS)),)
HTTP_DIR = src/port/http/socket
endif
Please check your stdkconfig file has STDK_IOT_CORE_EASYSETUP_HTTP_USE_SOCKET_API
like below? https://github.com/SmartThingsCommunity/st-device-sdk-c/blob/4367e87df5538aa46bf2cd5505abb30df80fbe91/stdkconfig#L9
Hi, @Kwang-Hui! Thank you for looking into this issue. Apparently the Makefile that I was using was modified and was missing the section you pasted above. Please go ahead and close out this issue as a "dummy at the keyboard" error, haha. I appreciate your help and apologize for any inconvenience!
I got the following error when building the core SDK:
**In file included from src/easysetup/http/tcp/iot_easysetup_httpd.c:23: src/include/http/iot_easysetup_http.h:22:10: fatal error: iot_easysetup_http_impl.h: No such file or directory
include "iot_easysetup_http_impl.h"**
I was able to work around it by updating the path in iot_easysetup_http.h to '''/src/port/http/socket/iot_easysetup_http_impl.h'''