Coder Social home page Coder Social logo

jsoncpp's Introduction

jsoncpp's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gfrolov mnive93

jsoncpp's Issues

‘scoped_ptr’ in namespace ‘std’ does not name a template type

Hello,

I'm trying to "make" the project, I have done this:
$ mkdir -p build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ..
$ make

And now I have this error:
/home/xobtah/OSVR/jsoncpp/src/lib_json/json_reader.cpp:47:14: error: ‘scoped_ptr’ in namespace ‘std’ does not name a template type typedef std::scoped_ptr<CharReader> const CharReaderPtr; ^~~~~~~~~~ /home/xobtah/OSVR/jsoncpp/src/lib_json/json_reader.cpp: In function ‘bool Json::parseFromStream(const Json::CharReader::Factory&, std::istream&, Json::Value*, std::__cxx11::string*)’: /home/xobtah/OSVR/jsoncpp/src/lib_json/json_reader.cpp:1822:3: error: ‘CharReaderPtr’ was not declared in this scope CharReaderPtr const reader(fact.newCharReader()); ^~~~~~~~~~~~~ /home/xobtah/OSVR/jsoncpp/src/lib_json/json_reader.cpp:1823:10: error: ‘reader’ was not declared in this scope return reader->parse(begin, end, root, errs); ^~~~~~ /home/xobtah/OSVR/jsoncpp/src/lib_json/json_reader.cpp:1813:32: error: unused parameter ‘fact’ [-Werror=unused-parameter] CharReader::Factory const& fact, std::istream& sin, ^~~~ cc1plus: all warnings being treated as errors src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:62: recipe for target 'src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o' failed make[2]: *** [src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Error 1 CMakeFiles/Makefile2:109: recipe for target 'src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all' failed make[1]: *** [src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2

I'm running Debian Stretch.

Thank you for your time, have a nice day!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.