Thank you, yes have a few of my own components that are needing cJSON. Your suggestions worked.
For anyone else needing assistance, here's the contents of the cv_server CMakeLists.txt, noting the addition of requiring json.
Code: Select all
idf_component_register(SRCS "cv_server.c"
INCLUDE_DIRS "include"
REQUIRES esp_http_server cv_mqtt cv_ota json
EMBED_TXTFILES
WebsiteFiles/settings.html
WebsiteFiles/httpDocBegin.html
WebsiteFiles/httpDocConclude.html
WebsiteFiles/subtitle.html
WebsiteFiles/title.html
WebsiteFiles/wifiSettings.html
WebsiteFiles/test.html
WebsiteFiles/menuBar.html
WebsiteFiles/menuBarTest.html
)
Here's the abbreviated folder structure. I bolded the files that are changed to use json.
ryan@ryan-Precision-5820-Tower:~/Development/personal/cv/clearview_interface_public/src/cvesp32$ tree -L 4
.
├── CMakeLists.txt
├── components
│ ├── cv_server
│ │ ├──
CMakeLists.txt
│ │ ├──
cv_server.c
│ │ ├── include
│ │ │ └── cv_server.h
│ │ └── WebsiteFiles
│ │ ├── menuBar.html
│ │ ├── settings.html
├── main
│ ├── CMakeLists.txt
│ ├── Kconfig.projbuild
│ └── main.c
├── sdkconfig
├── sdkconfig.defaults
└── version.txt
I was under the impression that any of the components in ESPIDF did not need to be required, but I was wrong.
Thanks!