Advertisement
Guest User

Untitled

a guest
Apr 29th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | None | 0 0
  1. [ 20%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/evaluation/CrossValidationSplitting.cpp.o
  2. In file included from /Users/wiking/shogun/src/shogun/evaluation/CrossValidation.cpp:9:
  3. In file included from /Users/wiking/shogun/src/shogun/base/Parameter.h:14:
  4. In file included from /Users/wiking/shogun/src/shogun/base/DynArray.h:15:
  5. In file included from /Users/wiking/shogun/src/shogun/mathematics/Math.h:18:
  6. In file included from /Users/wiking/shogun/src/shogun/mathematics/Random.h:13:
  7. In file included from /Users/wiking/shogun/src/shogun/base/SGObject.h:14:
  8. In file included from /Users/wiking/shogun/src/shogun/base/AnyParameter.h:11:
  9. /Users/wiking/shogun/src/shogun/lib/any.h:324:11: error: no matching function for call to 'clone'
  10. return clone(existing);
  11. ^~~~~
  12. /Users/wiking/shogun/src/shogun/lib/any.h:686:16: note: in instantiation of function template specialization 'shogun::any_detail::clone<shogun::CrossValidationStorage>' requested here
  13. any_detail::clone(storage, value_of(typed_pointer<T>(from)));
  14. ^
  15. /Users/wiking/shogun/src/shogun/lib/any.h:744:17: note: in instantiation of member function 'shogun::NonOwningAnyPolicy<std::__1::shared_ptr<shogun::CrossValidationStorage> >::clone' requested here
  16. static Policy policy;
  17. ^
  18. /Users/wiking/shogun/src/shogun/lib/any.h:1033:14: note: in instantiation of function template specialization 'shogun::non_owning_policy<std::__1::shared_ptr<shogun::CrossValidationStorage> >' requested here
  19. return Any(non_owning_policy<T>(), v);
  20. ^
  21. /Users/wiking/shogun/src/shogun/base/SGObject.h:741:38: note: in instantiation of function template specialization 'shogun::make_any_ref<std::__1::shared_ptr<shogun::CrossValidationStorage> >' requested here
  22. create_parameter(tag, AnyParameter(make_any_ref(value), properties));
  23. ^
  24. /Users/wiking/shogun/src/shogun/lib/parameter_observers/ObservedValueTemplated.h:36:10: note: in instantiation of function template specialization 'shogun::CSGObject::watch_param<std::__1::shared_ptr<shogun::CrossValidationStorage> >' requested here
  25. this->watch_param(
  26. ^
  27. /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:2153:9: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  28. : __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
  29. ^
  30. /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:3668:16: note: in instantiation of function template specialization 'std::__1::__compressed_pair<std::__1::allocator<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> > >, shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> > >::__compressed_pair<std::__1::allocator<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> > > &, long long &, std::__1::basic_string<char> &, std::__1::basic_string<char> &, std::__1::shared_ptr<shogun::CrossValidationStorage> &>' requested here
  31. : __data_(piecewise_construct, _VSTD::forward_as_tuple(__a),
  32. ^
  33. /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4327:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> >, std::__1::allocator<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> > > >::__shared_ptr_emplace<long long &, std::__1::basic_string<char> &, std::__1::basic_string<char> &, std::__1::shared_ptr<shogun::CrossValidationStorage> &>' requested here
  34. ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
  35. ^
  36. /Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4706:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> > >::make_shared<long long &, std::__1::basic_string<char> &, std::__1::basic_string<char> &, std::__1::shared_ptr<shogun::CrossValidationStorage> &>' requested here
  37. return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
  38. ^
  39. /Users/wiking/shogun/src/shogun/lib/parameter_observers/ObservedValue.h:61:16: note: in instantiation of function template specialization 'std::__1::make_shared<shogun::ObservedValueTemplated<std::__1::shared_ptr<shogun::CrossValidationStorage> >, long long &, std::__1::basic_string<char> &, std::__1::basic_string<char> &, std::__1::shared_ptr<shogun::CrossValidationStorage> &>' requested here
  40. return std::make_shared<ObservedValueTemplated<T>>(step, name, description, value);
  41. ^
  42. /Users/wiking/shogun/src/shogun/evaluation/CrossValidation.cpp:115:22: note: in instantiation of function template specialization 'shogun::ObservedValue::make_observation<std::__1::shared_ptr<shogun::CrossValidationStorage> >' requested here
  43. ObservedValue::make_observation<std::shared_ptr<CrossValidationStorage>>(
  44. ^
  45. /Users/wiking/shogun/src/shogun/lib/any.h:312:15: note: candidate function template not viable: requires 2 arguments, but 1 was provided
  46. inline auto clone(void** storage, T& value)
  47. ^
  48. /Users/wiking/shogun/src/shogun/lib/any.h:321:15: note: candidate function template not viable: requires 2 arguments, but 1 was provided
  49. inline auto clone(void** storage, const std::shared_ptr<T>& value)
  50. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement