Already answered on github. This error is due to an issue in Boost 1.49 with GCC 4.7 which is fixed in 1.50. Either update your boost (1.50 is available on Ubuntu 12.10) or follow the instructions @ https://svn.boost.org/trac/boost/ticket/6785 to manually fix the headers.
Also I have been working on a new branch of NOX which I will make publicly available in a month or two. Amin On Sat, Feb 2, 2013 at 6:37 PM, Liu Wenmao <[email protected]> wrote: > hi: > > I am trying to build nox on ubuntu 12.10, but the "make -j" process fails > and the output is: > > ../../src/builtin/component.cc:414:1: required from here > /usr/include/boost/property_tree/detail/json_parser_read.hpp:105:17: error: > no matching function for call to > ‘boost::property_tree::basic_ptreestd::basic_string<char, std::basic_string >>::push_back(std::pairstd::basic_string<char, std::basic_string >)’ > /usr/include/boost/property_tree/detail/json_parser_read.hpp:105:17: note: > candidate is: > In file included from /usr/include/boost/property_tree/ptree.hpp:516:0, > from ../../src/include/component.hh:35, > from ../../src/builtin/component.cc:18: > /usr/include/boost/property_tree/detail/ptree_implementation.hpp:362:9: > note: boost::property_tree::basic_ptree::iterator > boost::property_tree::basic_ptree::push_back(const value_type&) [with Key = > std::basic_string; Data = std::basic_string; KeyCompare = > std::lessstd::basic_string<char >; > boost::property_tree::basic_ptree::value_type = std::pair, > boost::property_tree::basic_ptreestd::basic_string<char, std::basic_string > >>] > /usr/include/boost/property_tree/detail/ptree_implementation.hpp:362:9: > note: no known conversion for argument 1 from > ‘std::pairstd::basic_string<char, std::basic_string >’ to ‘const value_type& > {aka const std::pair, > boost::property_tree::basic_ptreestd::basic_string<char, std::basic_string > >>&}’ > make[4]: *** [nox_core-component.o] Error 1 > make[4]: Leaving directory /home/nsfocus/nox/build/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory/home/nsfocus/nox/build/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory /home/nsfocus/nox/build/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory/home/nsfocus/nox/build' > make: *** [all] Error 2 > > I am not familiar with C++, so can someone fix this issue, please. > > P.S. I find that the project(https://github.com/noxrepo/nox) is not updated > for months, is this the newest version of Nox?
