Languages

Menu
Sites
Language
Failed to include curl.h
I'm developing a native watch face and am now attempting to use CURL. But when trying to include curl.h, I'm getting an error about it not being found. Also I've noticed that in the compiler settings there is no -I/use/include/curl The library is there (I'm using 3.0), and many other include flags are being passed to the compiler, but not curl. Same when creating a new blank project. Does anyone have a clue?
View Selected Answer

Responses

2 Replies
Mark as answer
K Johnson

Please try using 

#include <curl/curl.h>

instead of  

#include <curl.h>

Hope it'll work.

Gregory Shtrasberg

Thanks! This worked.