Salamo Alikom
when i try a simple program that require headers from /usr/local/include i get error MSGS from compiler :
the source is here .
output of :
is :
when i try a simple program that require headers from /usr/local/include i get error MSGS from compiler :
Code:
curl.c:13:23: error: curl/curl.h: No such file or directory
curl.c:14:24: error: curl/types.h: No such file or directory
curl.c:15:23: error: curl/easy.h: No such file or directory
curl.c: In function 'main':
curl.c:44: error: 'CURL' undeclared (first use in this function)
curl.c:44: error: (Each undeclared identifier is reported only once
curl.c:44: error: for each function it appears in.)
curl.c:44: error: 'curl' undeclared (first use in this function)
curl.c:45: error: 'CURLcode' undeclared (first use in this function)
curl.c:45: error: expected ';' before 'res'
curl.c:51: error: 'CURL_GLOBAL_DEFAULT' undeclared (first use in this function)
curl.c:60: error: 'CURLOPT_URL' undeclared (first use in this function)
curl.c:63: error: 'CURLOPT_WRITEFUNCTION' undeclared (first use in this function)
curl.c:65: error: 'CURLOPT_WRITEDATA' undeclared (first use in this function)
curl.c:68: error: 'CURLOPT_VERBOSE' undeclared (first use in this function)
curl.c:70: error: 'res' undeclared (first use in this function)
curl.c:75: error: 'CURLE_OK' undeclared (first use in this function)
output of :
Code:
ls /usr/local/include/curl | grep curl
Code:
curl.h
curlbuild.h
curlrules.h
curlver.h