I have been trying to make this XMLRPC example work for a day now: https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/xml-rpc-communication-16326/
There must be some kind of linking error because of the Makefile because I alsways get the error message:
cc -g -Wall -o xmlrpc_camera utilities.o server.o XMLRPCConverters.o -lxmlrpc_server++ -lxmlrpc++ -lxmlrpc_server -lxmlrpc -lxmlrpc_server_pstream++ -lxmlrpc_packetsocket -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lxmlrpc_client++ -lxmlrpc_client -lcurl
/usr/bin/ld: server.o: undefined reference to symbol ‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc@@GLIBCXX_3.4.21’
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:16: recipe for target ‘xmlrpc_camera’ failed
make: *** [xmlrpc_camera] Error 1
Please if you had the same issue tell me what you did to fix it because internet has been no help and I really need this example to work.
ps: I use Ubuntu 16.04.2
You are properly using the wrong compiler.
Try using g++ as stated in the documentation by running:
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.