1> test_env.cpp 1> e:\test\include\boost\geometry\strategies\distance.hpp(97): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::default_strategy>,boost::geometry::model::point>,boost::geometry::geographic_tag,boost::geometry::geographic_tag,void>::NOT_IMPLEMENTED_FOR_THIS_POINT_TYPE_COMBINATION::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1> with 1> [ 1> Point1=boost::geometry::model::point>, 1> Point2=boost::geometry::model::point>, 1> CsTag1=boost::geometry::geographic_tag, 1> CsTag2=boost::geometry::geographic_tag 1> ] 1> e:\test\include\boost\geometry\strategies\distance.hpp(101): note: No constructor could take the source type, or constructor overload resolution was ambiguous 1> e:\test\include\boost\geometry\algorithms\detail\distance\default_strategies.hpp(100): note: see reference to class template instantiation 'boost::geometry::strategy::distance::services::default_strategy>,boost::geometry::model::point>,boost::geometry::geographic_tag,boost::geometry::geographic_tag,void>' being compiled 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(52): note: see reference to class template instantiation 'boost::geometry::detail::distance::default_strategy' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(77): note: see reference to class template instantiation 'boost::geometry::resolve_strategy::comparable_distance_result' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box, 1> Strategy=boost::geometry::default_strategy 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(185): note: see reference to class template instantiation 'boost::geometry::resolve_variant::comparable_distance_result' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box, 1> Strategy=boost::geometry::default_strategy 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(190): note: see reference to class template instantiation 'boost::geometry::comparable_distance_result' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\strategies\default_comparable_distance_result.hpp(37): note: see reference to class template instantiation 'boost::geometry::comparable_distance_result' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): note: see reference to class template instantiation 'boost::geometry::default_comparable_distance_result>,Indexable>' being compiled 1> with 1> [ 1> Indexable=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(118): note: see reference to class template instantiation 'boost::geometry::index::detail::calculate_distance,boost::geometry::model::box,boost::geometry::index::detail::value_tag>' being compiled 1> e:\test\include\boost\geometry\index\rtree.hpp(1688): note: see reference to class template instantiation 'boost::geometry::index::detail::rtree::visitors::distance_query,boost::geometry::index::detail::rtree::options,boost::geometry::index::detail::rtree::insert_default_tag,boost::geometry::index::detail::rtree::choose_by_content_diff_tag,boost::geometry::index::detail::rtree::split_default_tag,boost::geometry::index::detail::rtree::quadratic_tag,boost::geometry::index::detail::rtree::node_variant_static_tag>,boost::geometry::index::detail::translator,boost::geometry::model::box,boost::geometry::index::detail::rtree::allocators,Value,boost::geometry::index::quadratic<16,4>,boost::geometry::model::box,boost::geometry::index::detail::rtree::node_variant_static_tag>,Predicates,0,OutIter>' being compiled 1> with 1> [ 1> IndexableGetter=boost::geometry::index::indexable, 1> EqualTo=boost::geometry::index::equal_to, 1> Value=value, 1> Predicates=boost::geometry::index::detail::predicates::nearest, 1> OutIter=std::back_insert_iterator>> 1> ] 1> e:\test\include\boost\geometry\index\rtree.hpp(837): note: see reference to function template instantiation 'unsigned __int64 boost::geometry::index::rtree,boost::geometry::index::indexable,boost::geometry::index::equal_to,std::allocator>::query_dispatch(const Predicates &,OutIter,const boost::mpl::bool_ &) const' being compiled 1> with 1> [ 1> Value=value, 1> Predicates=boost::geometry::index::detail::predicates::nearest, 1> OutIter=std::back_insert_iterator>> 1> ] 1> e:\test\include\boost\geometry\index\rtree.hpp(837): note: see reference to function template instantiation 'unsigned __int64 boost::geometry::index::rtree,boost::geometry::index::indexable,boost::geometry::index::equal_to,std::allocator>::query_dispatch(const Predicates &,OutIter,const boost::mpl::bool_ &) const' being compiled 1> with 1> [ 1> Value=value, 1> Predicates=boost::geometry::index::detail::predicates::nearest, 1> OutIter=std::back_insert_iterator>> 1> ] 1> e:\test\test_env.cpp(32): note: see reference to function template instantiation 'unsigned __int64 boost::geometry::index::rtree,boost::geometry::index::indexable,boost::geometry::index::equal_to,std::allocator>::query,std::back_insert_iterator>>>(const Predicates &,OutIter) const' being compiled 1> with 1> [ 1> Value=value,u 1> Predicates=boost::geometry::index::detail::predicates::nearest, 1> OutIter=std::back_insert_iterator>> 1> ] 1> e:\test\test_env.cpp(32): note: see reference to function template instantiation 'unsigned __int64 boost::geometry::index::rtree,boost::geometry::index::indexable,boost::geometry::index::equal_to,std::allocator>::query,std::back_insert_iterator>>>(const Predicates &,OutIter) const' being compiled 1> with 1> [ 1> Value=value, 1> Predicates=boost::geometry::index::detail::predicates::nearest, 1> OutIter=std::back_insert_iterator>> 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(59): error C2039: 'type': is not a member of 'boost::geometry::detail::distance::default_strategy' 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(56): note: see declaration of 'boost::geometry::detail::distance::default_strategy' 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(52): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'Strategy', expected a real type 1> e:\test\include\boost\geometry\strategies\distance.hpp(51): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::comparable_type::NOT_IMPLEMENTED_FOR_THIS_STRATEGY::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1> with 1> [ 1> Strategy=int 1> ] 1> e:\test\include\boost\geometry\strategies\distance.hpp(54): note: No constructor could take the source type, or constructor overload resolution was ambiguous 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(39): note: see reference to class template instantiation 'boost::geometry::strategy::distance::services::comparable_type' being compiled 1> with 1> [ 1> Strategy=int 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(61): note: see reference to class template instantiation 'boost::geometry::resolve_strategy::comparable_distance_result' being compiled 1> with 1> [ 1> Geometry1=boost::geometry::model::point>, 1> Geometry2=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(44): error C2039: 'type': is not a member of 'boost::geometry::strategy::distance::services::comparable_type' 1> with 1> [ 1> Strategy=int 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(41): note: see declaration of 'boost::geometry::strategy::distance::services::comparable_type' 1> with 1> [ 1> Strategy=int 1> ] 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(39): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'Strategy', expected a real type 1> e:\test\include\boost\geometry\strategies\distance.hpp(42): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::return_type>,boost::geometry::model::point>>::NOT_IMPLEMENTED_FOR_THIS_STRATEGY::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1> with 1> [ 1> Strategy=int, 1> P1=boost::geometry::model::point>, 1> P2=boost::geometry::model::point> 1> ] 1> e:\test\include\boost\geometry\strategies\distance.hpp(45): note: No constructor could take the source type, or constructor overload resolution was ambiguous 1> e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(48): note: see reference to class template instantiation 'boost::geometry::strategy::distance::services::return_type>,boost::geometry::model::point>>' being compiled 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): error C2039: 'type': is not a member of 'boost::geometry::default_comparable_distance_result>,Indexable>' 1> with 1> [ 1> Indexable=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): note: see declaration of 'boost::geometry::default_comparable_distance_result>,Indexable>' 1> with 1> [ 1> Indexable=boost::geometry::model::box 1> ] 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(113): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(114): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(118): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(119): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(250): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter '_Ty1', expected a real type 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(251): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter '_Ty1', expected a real type 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(264): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(265): error C2955: 'boost::type': use of class template requires template argument list 1> e:\test\include\boost\type.hpp(14): note: see declaration of 'boost::type' 1> e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(278): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'DistanceType', expected a real type 1>Done building target "ClCompile" in project "test.vcxproj" -- FAILED. 1> 1>Done building project "test.vcxproj" -- FAILED. 1> 1>Build FAILED. 1> 1>e:\test\include\boost\geometry\strategies\distance.hpp(97): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::default_strategy>,boost::geometry::model::point>,boost::geometry::geographic_tag,boost::geometry::geographic_tag,void>::NOT_IMPLEMENTED_FOR_THIS_POINT_TYPE_COMBINATION::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1>e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(59): error C2039: 'type': is not a member of 'boost::geometry::detail::distance::default_strategy' 1>e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(52): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'Strategy', expected a real type 1>e:\test\include\boost\geometry\strategies\distance.hpp(51): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::comparable_type::NOT_IMPLEMENTED_FOR_THIS_STRATEGY::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1>e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(44): error C2039: 'type': is not a member of 'boost::geometry::strategy::distance::services::comparable_type' 1>e:\test\include\boost\geometry\strategies\comparable_distance_result.hpp(39): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'Strategy', expected a real type 1>e:\test\include\boost\geometry\strategies\distance.hpp(42): error C2664: 'int boost::mpl::assertion_failed(boost::mpl::assert::type)': cannot convert argument 1 from 'boost::mpl::failed ************(__cdecl boost::geometry::strategy::distance::services::return_type>,boost::geometry::model::point>>::NOT_IMPLEMENTED_FOR_THIS_STRATEGY::* ***********)(boost::mpl::assert_::types)' to 'boost::mpl::assert::type' 1>e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): error C2039: 'type': is not a member of 'boost::geometry::default_comparable_distance_result>,Indexable>' 1>e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(111): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(113): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\distance_predicates.hpp(114): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(118): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(119): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(250): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter '_Ty1', expected a real type 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(251): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter '_Ty1', expected a real type 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(264): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(265): error C2955: 'boost::type': use of class template requires template argument list 1>e:\test\include\boost\geometry\index\detail\rtree\visitors\distance_query.hpp(278): error C3203: 'type': unspecialized class template can't be used as a template argument for template parameter 'DistanceType', expected a real type 1> 0 Warning(s) 1> 18 Error(s) 1> 1>Time Elapsed 00:00:01.59 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========