Skip to content

Component example #1316

Answered by DejinChen
wmarchewka asked this question in Q&A
Discussion options

You must be logged in to vote

Could you try add the property idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-DCHIP_HAVE_CONFIG_H" APPEND) in the project's CmakeLists? And use extern "C" void app_main() in main.cpp.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by chshu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants