언어 설정

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?
답변 바로가기

Responses

2 댓글
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.