请教各位大佬一个问题
编程吧
全部回复
仅看楼主
level 1
喵帕斯酱- 楼主
我想编译一个小东西,并且在电脑上成功编译和使用,然后我想把它编译到arm平台上使用,但是出现了下面的错误,请问,该怎么解决
final.cpp:29:22: error: curl/curl.h: No such file or directory
final.cpp:53: error: variable or field 'set_curl_local_port' declared void
final.cpp:53: error: 'CURL' was not declared in this scope
final.cpp:53: error: 'curl' was not declared in this scope
final.cpp: In function 'int cheackInert(char*)':
final.cpp:62: error: 'CURLcode' was not declared in this scope
final.cpp:62: error: expected ';' before 'ret'
final.cpp:64: error: 'CURL' was not declared in this scope
final.cpp:64: error: 'curl' was not declared in this scope
final.cpp:65: error: 'curl_easy_init' was not declared in this scope
final.cpp:66: error: 'CURLOPT_URL' was not declared in this scope
final.cpp:66: error: 'curl_easy_setopt' was not declared in this scope
final.cpp:67: error: 'CURLOPT_WRITEDATA' was not declared in this scope
final.cpp:68: error: 'ret' was not declared in this scope
final.cpp:68: error: 'curl_easy_perform' was not declared in this scope
final.cpp:70: error: 'CURLE_OK' was not declared in this scope
final.cpp:72: error: 'curl_easy_strerror' was not declared in this scope
final.cpp:74: error: 'curl_easy_cleanup' was not declared in this scope
final.cpp:78: error: 'curl_easy_cleanup' was not declared in this scope
final.cpp: At global scope:
final.cpp:81: error: 'CURL' was not declared in this scope
final.cpp:81: error: 'curl' was not declared in this scope
final.cpp:82: error: expected ',' or ';' before '{' token
这个curl啥的已经安装过了,还是这个问题,
2018年08月16日 04点08分 1
1