Hi Bruce,
It seems the command you wrote above won’t compile for Mac. Seems some libs are missing.
undefined symbols for architecture x86_64:
"_curl_easy_cleanup", referenced from:
UrlEncode(char*) in json.o
JSONOpenCode(char*) in json.o
"_curl_easy_escape", referenced from:
UrlEncode(char*) in json.o
"_curl_easy_getinfo", referenced from:
JSONOpenCode(char*) in json.o
"_curl_easy_init", referenced from:
UrlEncode(char*) in json.o
JSONOpenCode(char*) in json.o
"_curl_easy_perform", referenced from:
JSONOpenCode(char*) in json.o
"_curl_easy_setopt", referenced from:
JSONOpenCode(char*) in json.o
"_curl_free", referenced from:
UrlEncode(char*) in json.o
"_curl_global_cleanup", referenced from:
CurlShutdown() in json.o
"_curl_global_init", referenced from:
InitCurl() in json.o
"_curl_slist_append", referenced from:
JSONOpenCode(char*) in json.o
"_curl_slist_free_all", referenced from:
JSONOpenCode(char*) in json.o
ld: symbol(s) not found for architecture x86_64