grepmaster Posted March 3, 2011 Report Share Posted March 3, 2011 (edited) when i ran make CONFIG=Release -j3, below messages appears and i could not find test binary in 0ad/binaries/system//snippedIn file included from ../../../source/ps/UserReport.cpp:24:../../../source/lib/external_libraries/curl.h:50:23: warning: curl/curl.h: No such file or directoryCCmpDecay.cpp../../../source/ps/UserReport.cpp:478: error: ISO C++ forbids declaration of ‘CURL’ with no type../../../source/ps/UserReport.cpp:478: error: expected ‘;’ before ‘*’ token../../../source/ps/UserReport.cpp:479: error: ISO C++ forbids declaration of ‘curl_slist’ with no type../../../source/ps/UserReport.cpp:479: error: expected ‘;’ before ‘*’ token../../../source/ps/UserReport.cpp:486: error: ‘CURL_ERROR_SIZE’ was not declared in this scope../../../source/ps/UserReport.cpp: In constructor ‘CUserReporterWorker::CUserReporterWorker(const std::string&, const std::string&)’:../../../source/ps/UserReport.cpp:91: error: ‘m_Curl’ was not declared in this scope../../../source/ps/UserReport.cpp:91: error: ‘curl_easy_init’ was not declared in this scope../../../source/ps/UserReport.cpp:99: error: ‘CURLOPT_ERRORBUFFER’ was not declared in this scope../../../source/ps/UserReport.cpp:99: error: ‘m_ErrorBuffer’ was not declared in this scope../../../source/ps/UserReport.cpp:99: error: ‘curl_easy_setopt’ was not declared in this scope../../../source/ps/UserReport.cpp:102: error: ‘CURLOPT_NOSIGNAL’ was not declared in this scope../../../source/ps/UserReport.cpp:105: error: ‘CURLOPT_FOLLOWLOCATION’ was not declared in this scope../../../source/ps/UserReport.cpp:108: error: ‘CURLOPT_WRITEFUNCTION’ was not declared in this scope../../../source/ps/UserReport.cpp:109: error: ‘CURLOPT_WRITEDATA’ was not declared in this scope../../../source/ps/UserReport.cpp:110: error: ‘CURLOPT_READFUNCTION’ was not declared in this scope../../../source/ps/UserReport.cpp:111: error: ‘CURLOPT_READDATA’ was not declared in this scope../../../source/ps/UserReport.cpp:114: error: ‘CURLOPT_URL’ was not declared in this scope../../../source/ps/UserReport.cpp:115: error: ‘CURLOPT_POST’ was not declared in this scope../../../source/ps/UserReport.cpp:118: error: ‘m_Headers’ was not declared in this scope../../../source/ps/UserReport.cpp:121: error: ‘curl_version’ was not declared in this scope../../../source/ps/UserReport.cpp:123: error: ‘curl_slist_append’ was not declared in this scope../../../source/ps/UserReport.cpp:128: error: ‘CURLOPT_HTTPHEADER’ was not declared in this scope../../../source/ps/UserReport.cpp: In destructor ‘CUserReporterWorker::~CUserReporterWorker()’:../../../source/ps/UserReport.cpp:147: error: ‘m_Headers’ was not declared in this scope../../../source/ps/UserReport.cpp:147: error: ‘curl_slist_free_all’ was not declared in this scope../../../source/ps/UserReport.cpp:148: error: ‘m_Curl’ was not declared in this scope../../../source/ps/UserReport.cpp:148: error: ‘curl_easy_cleanup’ was not declared in this scope../../../source/ps/UserReport.cpp: In member function ‘void CUserReporterWorker::Run()’:../../../source/ps/UserReport.cpp:246: error: ‘m_Curl’ was not declared in this scope../../../source/ps/UserReport.cpp:246: error: ‘CURLOPT_PROXY’ was not declared in this scope../../../source/ps/UserReport.cpp:246: error: ‘curl_easy_setopt’ was not declared in this scope../../../source/ps/UserReport.cpp: In member function ‘bool CUserReporterWorker::ProcessReport()’:../../../source/ps/UserReport.cpp:333: error: ‘m_Curl’ was not declared in this scope../../../source/ps/UserReport.cpp:333: error: ‘CURLOPT_POSTFIELDSIZE_LARGE’ was not declared in this scope../../../source/ps/UserReport.cpp:333: error: ‘curl_off_t’ was not declared in this scope../../../source/ps/UserReport.cpp:333: error: ‘curl_easy_setopt’ was not declared in this scope../../../source/ps/UserReport.cpp:341: error: ‘CURLcode’ was not declared in this scope../../../source/ps/UserReport.cpp:341: error: expected ‘;’ before ‘err’../../../source/ps/UserReport.cpp:347: error: ‘err’ was not declared in this scope../../../source/ps/UserReport.cpp:347: error: ‘CURLE_OK’ was not declared in this scope../../../source/ps/UserReport.cpp:350: error: ‘CURLINFO_RESPONSE_CODE’ was not declared in this scope../../../source/ps/UserReport.cpp:350: error: ‘curl_easy_getinfo’ was not declared in this scope../../../source/ps/UserReport.cpp:369: error: ‘m_ErrorBuffer’ was not declared in this scope../../../source/ps/UserReport.cpp: In member function ‘void CUserReporterWorker::AppendEscaped(std::string&, const std::string&)’:../../../source/ps/UserReport.cpp:420: error: ‘m_Curl’ was not declared in this scope../../../source/ps/UserReport.cpp:420: error: ‘curl_easy_escape’ was not declared in this scope../../../source/ps/UserReport.cpp:422: error: ‘curl_free’ was not declared in this scope../../../source/ps/UserReport.cpp: In static member function ‘static size_t CUserReporterWorker::SendCallback(char*, size_t, size_t, void*)’:../../../source/ps/UserReport.cpp:442: error: ‘CURL_READFUNC_ABORT’ was not declared in this scope../../../source/ps/UserReport.cpp: In member function ‘void CUserReporter::Initialize()’:../../../source/ps/UserReport.cpp:569: error: ‘CURL_GLOBAL_ALL’ was not declared in this scope../../../source/ps/UserReport.cpp:569: error: ‘CURL_GLOBAL_WIN32’ was not declared in this scope../../../source/ps/UserReport.cpp:569: error: ‘curl_global_init’ was not declared in this scope../../../source/ps/UserReport.cpp: In member function ‘void CUserReporter::Deinitialize()’:../../../source/ps/UserReport.cpp:586: error: ‘curl_global_cleanup’ was not declared in this scopemake[1]: *** [obj/engine_Release/UserReport.o] Error 1make: *** [engine] Error 2make: *** Waiting for unfinished jobs....//snippedWaterManager.cppLinking graphicswas building on debian 6 64-bit Edited March 3, 2011 by grepmaster Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted March 3, 2011 Report Share Posted March 3, 2011 You need to install libcurl (probably package libcurl4-openssl-dev on Debian, or something like that). Quote Link to comment Share on other sites More sharing options...
grepmaster Posted March 3, 2011 Author Report Share Posted March 3, 2011 You need to install libcurl (probably package libcurl4-openssl-dev on Debian, or something like that).thanks. With this i can finally play 0ad Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.