OSVR / OSVR-Core

The core libraries, applications, and plugins of the OSVR software platform.
Apache License 2.0
329 stars 124 forks source link

Umm... I don't know too much C++. Does anyone have any idea what these error messages mean when compiling? #510

Open happysmash27 opened 7 years ago

happysmash27 commented 7 years ago

Log:

[ 18%] Building CXX object src/osvr/Server/CMakeFiles/osvrServer.dir/ConfigureServer.cpp.o
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘osvr::server::ServerPtr osvr::server::ConfigureServer::constructServer()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:144:23: error: no match for ‘operator=’ (operand types are ‘std::string {aka std::basic_string<char>}’ and ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’)
                 iface = jsonInterface.asString();
                       ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:144:23: note: candidates are:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/string:52:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/array:38,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tuple:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/functional:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:79,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Util/SharedPtr.h:63,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ServerPtr.h:29,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ConfigureServer.h:30,
                 from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:554:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(const basic_string& __str) 
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:554:7: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const std::basic_string<char>&’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:562:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(const _CharT* __s) 
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:562:7: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const char*’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:573:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(_CharT __c) 
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:573:7: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘char’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:589:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(basic_string&& __str)
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:589:7: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘std::basic_string<char>&&’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:601:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(initializer_list<_CharT> __l)
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/basic_string.h:601:7: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘std::initializer_list<char>’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::loadPlugins()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:201:78: error: no matching function for call to ‘std::vector<std::pair<std::basic_string<char>, std::basic_string<char> > >::push_back(std::pair<std::basic_string<char>, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> > >)’
                     "Plugin name not string: " + plugins[i].toStyledString()));
                                                                              ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:201:78: note: candidates are:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/vector:64:0,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ConfigureServer.h:39,
                 from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:913:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::basic_string<char>, std::basic_string<char> >; _Alloc = std::allocator<std::pair<std::basic_string<char>, std::basic_string<char> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::basic_string<char>, std::basic_string<char> >]
       push_back(const value_type& __x)
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:913:7: note:   no known conversion for argument 1 from ‘std::pair<std::basic_string<char>, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> > >’ to ‘const value_type& {aka const std::pair<std::basic_string<char>, std::basic_string<char> >&}’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:931:7: note:   no known conversion for argument 1 from ‘std::pair<std::basic_string<char>, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> > >’ to ‘std::vector<std::pair<std::basic_string<char>, std::basic_string<char> > >::value_type&& {aka std::pair<std::basic_string<char>, std::basic_string<char> >&&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:206:60: error: conversion from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to non-scalar type ‘const string {aka const std::basic_string<char>}’ requested
             const std::string plugin = plugins[i].asString();
                                                            ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::instantiateDrivers()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:252:69: error: no matching function for call to ‘std::vector<std::pair<std::basic_string<char>, std::basic_string<char> > >::push_back(std::pair<std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >, const char*>)’
                                    "name but lacking a plugin name"));
                                                                     ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:252:69: note: candidates are:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/vector:64:0,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ConfigureServer.h:39,
                 from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:913:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::basic_string<char>, std::basic_string<char> >; _Alloc = std::allocator<std::pair<std::basic_string<char>, std::basic_string<char> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::basic_string<char>, std::basic_string<char> >]
       push_back(const value_type& __x)
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:913:7: note:   no known conversion for argument 1 from ‘std::pair<std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >, const char*>’ to ‘const value_type& {aka const std::pair<std::basic_string<char>, std::basic_string<char> >&}’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:931:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<std::basic_string<char>, std::basic_string<char> >; _Alloc = std::allocator<std::pair<std::basic_string<char>, std::basic_string<char> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::basic_string<char>, std::basic_string<char> >]
       push_back(value_type&& __x)
       ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_vector.h:931:7: note:   no known conversion for argument 1 from ‘std::pair<std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >, const char*>’ to ‘std::vector<std::pair<std::basic_string<char>, std::basic_string<char> > >::value_type&& {aka std::pair<std::basic_string<char>, std::basic_string<char> >&&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:257:72: error: conversion from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to non-scalar type ‘const string {aka const std::basic_string<char>}’ requested
             const std::string plugin = thisDriver[PLUGIN_KEY].asString();
                                                                        ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:268:72: error: conversion from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to non-scalar type ‘const string {aka const std::basic_string<char>}’ requested
             const std::string driver = thisDriver[DRIVER_KEY].asString();
                                                                        ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:272:76: error: no matching function for call to ‘osvr::server::Server::instantiateDriver(const string&, const string&, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                     plugin, driver, thisDriver[PARAMS_KEY].toStyledString());
                                                                            ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:272:76: note: candidate is:
In file included from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:27:0:
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:174:9: note: void osvr::server::Server::instantiateDriver(const string&, const string&, const string&)
         instantiateDriver(std::string const &plugin, std::string const &driver,
         ^
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:174:9: note:   no known conversion for argument 3 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::processRoutes()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:303:58: error: no matching function for call to ‘osvr::server::Server::addRoute(std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
             m_server->addRoute(thisRoute.toStyledString());
                                                          ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:303:58: note: candidate is:
In file included from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:27:0:
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:197:33: note: bool osvr::server::Server::addRoute(const string&)
         OSVR_SERVER_EXPORT bool addRoute(std::string const &routingDirective);
                                 ^
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:197:33: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::processExternalDevices()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:356:68: error: no matching function for call to ‘osvr::server::Server::addExternalDevice(const std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >&, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >, std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                                         descriptor.toStyledString());
                                                                    ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:356:68: note: candidate is:
In file included from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:27:0:
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:234:33: note: void osvr::server::Server::addExternalDevice(const string&, const string&, const string&, const string&)
         OSVR_SERVER_EXPORT void addExternalDevice(
                                 ^
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:234:33: note:   no known conversion for argument 1 from ‘const std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::processDisplay()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:386:72: error: no matching function for call to ‘osvr::server::Server::addString(const char [9], std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                                       refReturn.result.toStyledString());
                                                                        ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:386:72: note: candidate is:
In file included from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:27:0:
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:215:33: note: bool osvr::server::Server::addString(const string&, const string&)
         OSVR_SERVER_EXPORT bool addString(std::string const &path,
                                 ^
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:215:33: note:   no known conversion for argument 2 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In member function ‘bool osvr::server::ConfigureServer::processRenderManagerParameters()’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:415:72: error: no matching function for call to ‘osvr::server::Server::addString(const char [21], std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                                       refReturn.result.toStyledString());
                                                                        ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:415:72: note: candidate is:
In file included from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:27:0:
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:215:33: note: bool osvr::server::Server::addString(const string&, const string&)
         OSVR_SERVER_EXPORT bool addString(std::string const &path,
                                 ^
/home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/Server.h:215:33: note:   no known conversion for argument 2 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In instantiation of ‘void osvr::server::ConfigureServerData::parse(T&) [with T = const std::basic_string<char>]’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:112:27:   required from here
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:95:76: error: no matching function for call to ‘std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                                          reader.getFormattedErrorMessages());
                                                                            ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:95:76: note: candidates are:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/array:38:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tuple:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/functional:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:79,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Util/SharedPtr.h:63,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ServerPtr.h:29,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ConfigureServer.h:30,
                 from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:119:5: note: std::runtime_error::runtime_error(const string&)
     runtime_error(const string& __arg);
     ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:119:5: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:112:9: note: std::runtime_error::runtime_error(const std::runtime_error&)
   class runtime_error : public exception 
         ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:112:9: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const std::runtime_error&’
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp: In instantiation of ‘void osvr::server::ConfigureServerData::parse(T&) [with T = std::basic_istream<char>]’:
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:116:27:   required from here
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:95:76: error: no matching function for call to ‘std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >)’
                                          reader.getFormattedErrorMessages());
                                                                            ^
/home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:95:76: note: candidates are:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/array:38:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tuple:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/functional:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:79,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Util/SharedPtr.h:63,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ServerPtr.h:29,
                 from /home/happysmash27/OSVR/OSVR-Core/inc/osvr/Server/ConfigureServer.h:30,
                 from /home/happysmash27/OSVR/OSVR-Core/src/osvr/Server/ConfigureServer.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:119:5: note: std::runtime_error::runtime_error(const string&)
     runtime_error(const string& __arg);
     ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:119:5: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const string& {aka const std::basic_string<char>&}’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:112:9: note: std::runtime_error::runtime_error(const std::runtime_error&)
   class runtime_error : public exception 
         ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/stdexcept:112:9: note:   no known conversion for argument 1 from ‘std::basic_string<char, std::char_traits<char>, Json::SecureAllocator<char> >’ to ‘const std::runtime_error&’
src/osvr/Server/CMakeFiles/osvrServer.dir/build.make:66: recipe for target 'src/osvr/Server/CMakeFiles/osvrServer.dir/ConfigureServer.cpp.o' failed
make[2]: *** [src/osvr/Server/CMakeFiles/osvrServer.dir/ConfigureServer.cpp.o] Error 1
CMakeFiles/Makefile2:2044: recipe for target 'src/osvr/Server/CMakeFiles/osvrServer.dir/all' failed
make[1]: *** [src/osvr/Server/CMakeFiles/osvrServer.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
0x1100 commented 7 years ago

Apparently, it doesn't compile because, when using a version of JsonCPP configured with JSONCPP_USE_SECURE_MEMORY, OSVR-Core mixes two instantiations of std::basic_string with different allocators (std::string and JSONCPP_STRING).

This JsonCPP feature seems disabled by default so I expect it to work with the library from your package manager. If it doesn't, or if you want to compile the library yourself, ensure this feature is disabled and configure with -DJSONCPP_USE_SECURE_MEMORY=0 if it isn't.