Open Source Platform
for interconnected virtual worlds

Talk:Building Naali from source trunk

From Rex community wiki

I got some error building from source code


david@david-laptop:~/realx-client$ sudo make preinstall [ 0%] Built target Core [ 1%] Built target SceneManager [ 2%] Built target Interfaces [ 5%] Built target Foundation [ 6%] Built target RexCommon [ 6%] Built target HttpUtilities [ 7%] Building CXX object RpcUtilities/CMakeFiles/RpcUtilities.dir/XmlRpcCall.o In file included from /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:4: /home/david/realx-client/RpcUtilities/XmlRpcCall.h:28: error: ‘XMLRPC_REQUEST’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:33: error: ‘XMLRPC_VALUE’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:48: error: ‘XMLRPC_REQUEST’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:60: error: ‘XMLRPC_REQUEST’ has not been declared /home/david/realx-client/RpcUtilities/XmlRpcCall.h:77: error: ‘XMLRPC_REQUEST’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:78: error: ‘XMLRPC_VALUE’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:79: error: ‘XMLRPC_REQUEST’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:80: error: ‘STRUCT_XMLRPC_REQUEST_OUTPUT_OPTIONS’ does not name a type /home/david/realx-client/RpcUtilities/XmlRpcCall.h:81: error: ‘XMLRPC_VALUE’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.h:81: error: template argument 2 is invalid /home/david/realx-client/RpcUtilities/XmlRpcCall.h:81: error: template argument 4 is invalid /home/david/realx-client/RpcUtilities/XmlRpcCall.h: In member function ‘void XmlRpcCall::SetCallMethod(const std::string&)’: /home/david/realx-client/RpcUtilities/XmlRpcCall.h:54: error: ‘request_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.h:54: error: ‘XMLRPC_RequestSetMethodName’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.h: In member function ‘void XmlRpcCall::SetReply(int)’: /home/david/realx-client/RpcUtilities/XmlRpcCall.h:60: error: ‘reply_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp: In constructor ‘XmlRpcCall::XmlRpcCall()’: /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:7: error: class ‘XmlRpcCall’ does not have any field named ‘request_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:7: error: class ‘XmlRpcCall’ does not have any field named ‘paramList_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:7: error: class ‘XmlRpcCall’ does not have any field named ‘reply_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:9: error: ‘output_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp: In constructor ‘XmlRpcCall::XmlRpcCall(const std::string&)’: /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:13: error: class ‘XmlRpcCall’ does not have any field named ‘request_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:13: error: class ‘XmlRpcCall’ does not have any field named ‘paramList_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:13: error: class ‘XmlRpcCall’ does not have any field named ‘reply_’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:15: error: ‘output_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp: In destructor ‘XmlRpcCall::~XmlRpcCall()’: /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:22: error: ‘request_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:22: error: ‘XMLRPC_RequestFree’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:24: error: ‘reply_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:26: error: ‘paramList_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp: In member function ‘void XmlRpcCall::Initialize(const std::string&)’: /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:36: error: ‘request_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:36: error: ‘XMLRPC_RequestNew’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:44: error: ‘XMLRPC_RequestSetMethodName’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:45: error: ‘xmlrpc_request_call’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:45: error: ‘XMLRPC_RequestSetRequestType’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:47: error: ‘output_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:50: error: ‘xmlrpc_version_1_0’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:58: error: ‘XMLRPC_RequestSetOutputOptions’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:62: error: ‘paramList_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:62: error: ‘xmlrpc_vector_struct’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:62: error: ‘XMLRPC_CreateVector’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:64: error: ‘XMLRPC_RequestSetData’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp: In member function ‘void XmlRpcCall::AddStringToArray(const std::string&, const char*)’: /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:72: error: ‘XMLRPC_VALUE’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:72: error: template argument 2 is invalid /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:72: error: template argument 4 is invalid /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:72: error: expected initializer before ‘iter’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:74: error: ‘iter’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:74: error: request for member ‘end’ in ‘((XmlRpcCall*)this)->XmlRpcCall::mapArrays_’, which is of non-class type ‘int’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:77: error: ‘XMLRPC_VectorAppendString’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:82: error: no match for ‘operator[]’ in ‘((XmlRpcCall*)this)->XmlRpcCall::mapArrays_[name]’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:82: error: ‘xmlrpc_vector_array’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:82: error: ‘XMLRPC_CreateVector’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:85: error: ‘paramList_’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:85: error: no match for ‘operator[]’ in ‘((XmlRpcCall*)this)->XmlRpcCall::mapArrays_[name]’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:85: error: ‘XMLRPC_AddValueToVector’ was not declared in this scope /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:88: error: no match for ‘operator[]’ in ‘((XmlRpcCall*)this)->XmlRpcCall::mapArrays_[name]’ /home/david/realx-client/RpcUtilities/XmlRpcCall.cpp:88: error: ‘XMLRPC_VectorAppendString’ was not declared in this scope make[2]: *** [RpcUtilities/CMakeFiles/RpcUtilities.dir/XmlRpcCall.o] Error 1 make[1]: *** [RpcUtilities/CMakeFiles/RpcUtilities.dir/all] Error 2 make: *** [all] Error 2 david@david-laptop:~/realx-client$


What should I do next?

-- sudo apt-get install libxmlrpc-c3-dev libxmlrpc-core-c3-dev libxmlrpc-epi-dev