hello, i learn the mqtt but find the error in "make flash monitor":
C:/msys32/home/Administrator/esp/esp-idf-release-v3.3/esp-idf-release-v3.3/examples/protocols/mqtt/ssl/main/app_main.c:21:25: fatal error: mqtt_client.h: No such file or directory
compilation terminated.
make[1]: *** [/home/Administrator/esp/esp-idf/make/component_wrapper.mk:286: app_main.o] Error 1
make: *** [C:\msys32\home\Administrator\esp\esp-idf/make/project.mk:467: component-main-build] Error 2
So where i can find the "mqtt_client.h"
Thanks!
mqtt:fatal error: mqtt_client.h: No such file or directory
Re: mqtt:fatal error: mqtt_client.h: No such file or directory
I'm guessing it should be right here..
C:/msys32/home/Administrator/esp/esp-idf/components/mqtt/esp-mqtt/include
But I'm wondering why the IDF path to the project.mk is different than the one it's looking for that file. That is likely the clue to your problem. It may be that you are compiling a IDF v3.3 example with another version of the IDF.
You'll probably find it in....
C:/msys32/home/Administrator/esp/esp-idf-release-v3.3/esp-idf-release-v3.3/components/mqtt/esp-mqtt/include
But that might not be the version of the IDF in your IDF_PATH,
John A
C:/msys32/home/Administrator/esp/esp-idf/components/mqtt/esp-mqtt/include
But I'm wondering why the IDF path to the project.mk is different than the one it's looking for that file. That is likely the clue to your problem. It may be that you are compiling a IDF v3.3 example with another version of the IDF.
You'll probably find it in....
C:/msys32/home/Administrator/esp/esp-idf-release-v3.3/esp-idf-release-v3.3/components/mqtt/esp-mqtt/include
But that might not be the version of the IDF in your IDF_PATH,
John A
Re: mqtt:fatal error: mqtt_client.h: No such file or directory
Tkanks .
Yep, I cant find the file in that path, But can find in github. .
have a few bugs..
let me see.
Yep, I cant find the file in that path, But can find in github. .
have a few bugs..
let me see.
Who is online
Users browsing this forum: No registered users and 92 guests