SmartThingsCommunity / st-device-sdk-c-ref

SmartThings SDK Reference for Direct Connected Devices for C
Apache License 2.0
119 stars 172 forks source link

st_dev.h cannot be found #84

Closed alienatorZ closed 3 years ago

alienatorZ commented 3 years ago

When I create a new project on the ESP 8266 and after following the instructions on https://smartthings.developer.samsung.com/docs/devices/direct-connected-devices/device-app.html I get the error: fatal error: st_dev.h: No such file or directory.

My Makefile looks like: PROJECT_NAME := hello-world EXTRA_COMPONENT_DIRS := ${IDF_PATH}/../../iot-core include $(IDF_PATH)/make/project.mk

What do I need to change to find the header file?

Thanks!

alienatorZ commented 3 years ago

This was due to not enabling Smarthings core in menu config under "Component Config."

PannagSDesai commented 1 year ago

Man you saved me, seriously Thanks a lot