id summary reporter owner description type status milestone component version severity resolution keywords cc 7331 nsphere extension does not compile joe@… Barend Gehrels "Two problems: First, a header path is screwed up. $ svn diff Index: extensions/nsphere/core/replace_point_type.hpp =================================================================== --- extensions/nsphere/core/replace_point_type.hpp (revision 80406) +++ extensions/nsphere/core/replace_point_type.hpp (working copy) @@ -16,7 +16,7 @@ #define BOOST_GEOMETRY_EXTENSIONS_NSPHERE_CORE_REPLACE_POINT_TYPE_HPP -#include +#include #include #include With that fixed there are various template argument errors just compiling the nsphere.hpp file. In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:17:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/core/access.hpp:33:62: error: wrong number of template arguments (4, should be 5) In file included from thirdparty/boost/geometry/extensions/nsphere/core/access.hpp:19:0, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:17, from src/test.cpp:3: thirdparty/boost/geometry/core/access.hpp:143:8: error: provided for ‘template struct boost::geometry::core_dispatch::access’ In file included from thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:22:0, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp: In constructor ‘boost::geometry::model::nsphere::nsphere()’: thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp:60:9: error: ‘assign_value’ is not a member of ‘boost::geometry::detail::assign’ thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp:60:9: note: suggested alternative: In file included from thirdparty/boost/geometry/algorithms/convert.hpp:24:0, from thirdparty/boost/geometry/geometries/box.hpp:21, from thirdparty/boost/geometry/extensions/util/replace_point_type.hpp:34, from thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:19, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20, from src/test.cpp:3: thirdparty/boost/geometry/arithmetic/arithmetic.hpp:253:13: note: ‘boost::geometry::assign_value’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:30:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp: At global scope: thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp:70:44: error: wrong number of template arguments (3, should be 2) In file included from thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp:19:0, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:30, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/area.hpp:133:8: error: provided for ‘template struct boost::geometry::dispatch::area’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:33:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/envelope.hpp:67:5: error: wrong number of template arguments (6, should be 2) In file included from thirdparty/boost/geometry/extensions/nsphere/algorithms/envelope.hpp:18:0, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:33, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/envelope.hpp:90:8: error: provided for ‘template struct boost::geometry::dispatch::envelope’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:33:47: error: wrong number of template arguments (3, should be 2) In file included from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17:0, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/num_points.hpp:102:8: error: provided for ‘template struct boost::geometry::dispatch::num_points’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:149:58: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:158:58: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:167:72: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:176:60: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:185:66: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0, from src/test.cpp:3: thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:194:61: error: wrong number of template arguments (5, should be 4) In file included from thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0, from thirdparty/boost/geometry/algorithms/num_points.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34, from src/test.cpp:3: thirdparty/boost/geometry/algorithms/within.hpp:173:8: error: provided for ‘template struct boost::geometry::dispatch::within’ In file included from thirdparty/boost/geometry/geometries/point.hpp:26:0, from thirdparty/boost/geometry/extensions/util/replace_point_type.hpp:29, from thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:19, from thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20, from src/test.cpp:3: thirdparty/boost/geometry/util/math.hpp:176:14: error: ‘boost::geometry::math::r2d’ defined but not used [-Werror=unused-variable] cc1plus: all warnings being treated as errors make[1]: *** [obj/Debug/test.o] Error 1 make: *** [test] Error 2" Bugs closed Boost 1.55.0 geometry Boost Development Trunk Problem fixed