I try to build net-cpp in xenial and have the following problem.

libjsoncpp-dev:
  Installed: 1.7.2-1
  Candidate: 1.7.2-1
  Version table:
 *** 1.7.2-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

.....
[ 63%] Built target gmock
Scanning dependencies of target http_client_load_test
[ 66%] Building CXX object 
tests/CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o
[ 69%] Linking CXX executable http_client_load_test
CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o: In function 
`HttpClientLoadTest_async_get_request_for_existing_resource_succeeds_Test::TestBody()::{lambda(core::net::http::Response
 const&)#2}::operator()(core::net::http::Response const&) const':
http_client_load_test.cpp:(.text+0x1966): undefined reference to 
`Json::Reader::parse(std::string const&, Json::Value&, bool)'
http_client_load_test.cpp:(.text+0x1a77): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/http_client_load_test.dir/http_client_load_test.cpp.o: In function 
`HttpClientLoadTest_async_post_request_for_existing_resource_succeeds_Test::TestBody()::{lambda(core::net::http::Response
 const&)#2}::operator()(core::net::http::Response const&) const':
http_client_load_test.cpp:(.text+0x22ea): undefined reference to 
`Json::Reader::parse(std::string const&, Json::Value&, bool)'
http_client_load_test.cpp:(.text+0x23fb): undefined reference to 
`Json::Value::asString() const'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/http_client_load_test.dir/build.make:100: recipe for target 
'tests/http_client_load_test' failed

However rebuilding libjsoncpp from source solves this problem.
Please have a check.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libjsoncpp in Ubuntu.
https://bugs.launchpad.net/bugs/1349834

Title:
  [MIR] flask-script and libjsoncpp (b-d's for net-cpp)

Status in flask-script package in Ubuntu:
  Incomplete
Status in libjsoncpp package in Ubuntu:
  Incomplete

Bug description:
  [MIR] flask-script and libjsoncpp (b-d's for net-cpp)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flask-script/+bug/1349834/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to