Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.28 KB | None | 0 0
  1. In file included from /usr/include/c++/5/cstdint:35:0,
  2. from /usr/local/include/mlpack/prereqs.hpp:32,
  3. from /usr/local/include/mlpack/core.hpp:253,
  4. from streamin_extractor_music.cpp:32:
  5. /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
  6. #error This file requires compiler and library support \
  7. ^
  8. In file included from /usr/local/include/mlpack/core.hpp:253:0,
  9. from streamin_extractor_music.cpp:32:
  10. /usr/local/include/mlpack/prereqs.hpp:58:1: error: expected unqualified-id before ‘using’
  11. using enable_if_t = typename enable_if<B, T>::type;
  12. ^
  13. In file included from /usr/local/include/mlpack/core/boost_backport/boost_backport_serialization.hpp:25:0,
  14. from /usr/local/include/mlpack/prereqs.hpp:82,
  15. from /usr/local/include/mlpack/core.hpp:253,
  16. from streamin_extractor_music.cpp:32:
  17. /usr/include/boost/serialization/unordered_map.hpp:98:16: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
  18. const std::unordered_map<
  19. ^
  20. /usr/include/boost/serialization/unordered_map.hpp:98:29: error: expected ‘,’ or ‘...’ before ‘<’ token
  21. const std::unordered_map<
  22. ^
  23. /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::save(Archive&, int)’:
  24. /usr/include/boost/serialization/unordered_map.hpp:105:9: error: ‘unordered_map’ is not a member of ‘std’
  25. std::unordered_map<
  26. ^
  27. /usr/include/boost/serialization/unordered_map.hpp:105:9: error: ‘unordered_map’ is not a member of ‘std’
  28. /usr/include/boost/serialization/unordered_map.hpp:103:32: error: parse error in template argument list
  29. boost::serialization::stl::save_unordered_collection<
  30. ^
  31. /usr/include/boost/serialization/unordered_map.hpp:108:11: error: ‘t’ was not declared in this scope
  32. >(ar, t);
  33. ^
  34. /usr/include/boost/serialization/unordered_map.hpp: At global scope:
  35. /usr/include/boost/serialization/unordered_map.hpp:120:10: error: ‘std::unordered_map’ has not been declared
  36. std::unordered_map<
  37. ^
  38. /usr/include/boost/serialization/unordered_map.hpp:120:23: error: expected ‘,’ or ‘...’ before ‘<’ token
  39. std::unordered_map<
  40. ^
  41. /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::load(Archive&, int)’:
  42. /usr/include/boost/serialization/unordered_map.hpp:127:9: error: ‘unordered_map’ is not a member of ‘std’
  43. std::unordered_map<
  44. ^
  45. /usr/include/boost/serialization/unordered_map.hpp:127:9: error: ‘unordered_map’ is not a member of ‘std’
  46. /usr/include/boost/serialization/unordered_map.hpp:125:32: error: parse error in template argument list
  47. boost::serialization::stl::load_unordered_collection<
  48. ^
  49. /usr/include/boost/serialization/unordered_map.hpp:132:13: error: ‘unordered_map’ is not a member of ‘std’
  50. std::unordered_map<
  51. ^
  52. /usr/include/boost/serialization/unordered_map.hpp:132:13: error: ‘unordered_map’ is not a member of ‘std’
  53. /usr/include/boost/serialization/unordered_map.hpp:134:13: error: wrong number of template arguments (5, should be 2)
  54. >
  55. ^
  56. /usr/include/boost/serialization/unordered_map.hpp:37:8: note: provided for ‘template<class Archive, class Container> struct boost::serialization::stl::archive_input_unordered_map’
  57. struct archive_input_unordered_map
  58. ^
  59. /usr/include/boost/serialization/unordered_map.hpp:136:5: error: expected primary-expression before ‘>’ token
  60. >(ar, t);
  61. ^
  62. /usr/include/boost/serialization/unordered_map.hpp:136:11: error: ‘t’ was not declared in this scope
  63. >(ar, t);
  64. ^
  65. /usr/include/boost/serialization/unordered_map.hpp: At global scope:
  66. /usr/include/boost/serialization/unordered_map.hpp:150:10: error: ‘std::unordered_map’ has not been declared
  67. std::unordered_map<
  68. ^
  69. /usr/include/boost/serialization/unordered_map.hpp:150:23: error: expected ‘,’ or ‘...’ before ‘<’ token
  70. std::unordered_map<
  71. ^
  72. /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::serialize(Archive&, int)’:
  73. /usr/include/boost/serialization/unordered_map.hpp:155:42: error: ‘t’ was not declared in this scope
  74. boost::serialization::split_free(ar, t, file_version);
  75. ^
  76. /usr/include/boost/serialization/unordered_map.hpp:155:45: error: ‘file_version’ was not declared in this scope
  77. boost::serialization::split_free(ar, t, file_version);
  78. ^
  79. /usr/include/boost/serialization/unordered_map.hpp: At global scope:
  80. /usr/include/boost/serialization/unordered_map.hpp:168:16: error: ‘unordered_multimap’ in namespace ‘std’ does not name a template type
  81. const std::unordered_multimap<
  82. ^
  83. /usr/include/boost/serialization/unordered_map.hpp:168:34: error: expected ‘,’ or ‘...’ before ‘<’ token
  84. const std::unordered_multimap<
  85. ^
  86. /usr/include/boost/serialization/unordered_map.hpp:166:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::save(Archive&, int)’
  87. inline void save(
  88. ^
  89. /usr/include/boost/serialization/unordered_map.hpp:96:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::save(Archive&, int)’ previously declared here
  90. inline void save(
  91. ^
  92. /usr/include/boost/serialization/unordered_map.hpp:190:10: error: ‘std::unordered_multimap’ has not been declared
  93. std::unordered_multimap<
  94. ^
  95. /usr/include/boost/serialization/unordered_map.hpp:190:28: error: expected ‘,’ or ‘...’ before ‘<’ token
  96. std::unordered_multimap<
  97. ^
  98. /usr/include/boost/serialization/unordered_map.hpp:188:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::load(Archive&, int)’
  99. inline void load(
  100. ^
  101. /usr/include/boost/serialization/unordered_map.hpp:118:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::load(Archive&, int)’ previously declared here
  102. inline void load(
  103. ^
  104. /usr/include/boost/serialization/unordered_map.hpp:220:10: error: ‘std::unordered_multimap’ has not been declared
  105. std::unordered_multimap<
  106. ^
  107. /usr/include/boost/serialization/unordered_map.hpp:220:28: error: expected ‘,’ or ‘...’ before ‘<’ token
  108. std::unordered_multimap<
  109. ^
  110. /usr/include/boost/serialization/unordered_map.hpp:218:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::serialize(Archive&, int)’
  111. inline void serialize(
  112. ^
  113. /usr/include/boost/serialization/unordered_map.hpp:148:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::serialize(Archive&, int)’ previously declared here
  114. inline void serialize(
  115. ^
  116. In file included from /usr/local/include/mlpack/core/data/has_serialize.hpp:16:0,
  117. from /usr/local/include/mlpack/prereqs.hpp:88,
  118. from /usr/local/include/mlpack/core.hpp:253,
  119. from streamin_extractor_music.cpp:32:
  120. /usr/local/include/mlpack/core/util/sfinae_utility.hpp:106:58: error: expected class-name before ‘{’ token
  121. template<typename U, U> struct SigCheck : std::true_type {};
  122. ^
  123. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected unqualified-id before ‘using’
  124. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  125. ^
  126. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘yes’
  127. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  128. ^
  129. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘no’
  130. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  131. ^
  132. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected unqualified-id before ‘using’
  133. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  134. ^
  135. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘EnableIfVoid’ does not name a type
  136. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  137. ^
  138. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘no’ does not name a type
  139. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  140. ^
  141. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘chk’ was not declared in this scope
  142. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  143. ^
  144. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected primary-expression before ‘>’ token
  145. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  146. ^
  147. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘yes’ was not declared in this scope
  148. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  149. ^
  150. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘type’
  151. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  152. ^
  153. /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘type’ has not been declared
  154. HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
  155. ^
  156. In file included from /usr/local/include/mlpack/prereqs.hpp:88:0,
  157. from /usr/local/include/mlpack/core.hpp:253,
  158. from streamin_extractor_music.cpp:32:
  159. /usr/local/include/mlpack/core/data/has_serialize.hpp:34:3: error: expected unqualified-id before ‘using’
  160. using NonStaticSerialize = void(C::*)(boost::archive::xml_oarchive&,
  161. ^
  162. /usr/local/include/mlpack/core/data/has_serialize.hpp:37:3: error: expected unqualified-id before ‘using’
  163. using StaticSerialize = void(*)(boost::archive::xml_oarchive&,
  164. ^
  165. /usr/local/include/mlpack/core/data/has_serialize.hpp:40:50: error: ‘NonStaticSerialize’ was not declared in this scope
  166. static const bool value = HasSerializeCheck<T, NonStaticSerialize>::value ||
  167. ^
  168. /usr/local/include/mlpack/core/data/has_serialize.hpp:40:68: error: template argument 2 is invalid
  169. static const bool value = HasSerializeCheck<T, NonStaticSerialize>::value ||
  170. ^
  171. /usr/local/include/mlpack/core/data/has_serialize.hpp:41:50: error: ‘StaticSerialize’ was not declared in this scope
  172. HasSerializeCheck<T, StaticSerialize>::value;
  173. ^
  174. /usr/local/include/mlpack/core/data/has_serialize.hpp:41:65: error: template argument 2 is invalid
  175. HasSerializeCheck<T, StaticSerialize>::value;
  176. ^
  177. /usr/local/include/mlpack/core/data/has_serialize.hpp:53:27: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  178. typename std::enable_if_t<std::is_class<U>::value>*,
  179. ^
  180. /usr/local/include/mlpack/core/data/has_serialize.hpp:53:38: error: expected template-argument before ‘<’ token
  181. typename std::enable_if_t<std::is_class<U>::value>*,
  182. ^
  183. /usr/local/include/mlpack/core/data/has_serialize.hpp:53:38: error: expected ‘>’ before ‘<’ token
  184. /usr/local/include/mlpack/core/data/has_serialize.hpp:54:71: error: wrong number of template arguments (2, should be 3)
  185. typename std::enable_if_t<HasSerializeFunction<U>::value>*>*);
  186. ^
  187. /usr/local/include/mlpack/core/data/has_serialize.hpp:50:55: note: provided for ‘template<class T> template<class U, class V, class W> struct mlpack::data::HasSerialize<T>::check’
  188. template<typename U, typename V, typename W> struct check;
  189. ^
  190. /usr/local/include/mlpack/core/data/has_serialize.hpp:54:72: error: expected ‘::’ before ‘*’ token
  191. typename std::enable_if_t<HasSerializeFunction<U>::value>*>*);
  192. ^
  193. /usr/local/include/mlpack/core/data/has_serialize.hpp:54:72: error: expected identifier before ‘*’ token
  194. In file included from /usr/local/include/mlpack/core/util/log.hpp:18:0,
  195. from /usr/local/include/mlpack/prereqs.hpp:116,
  196. from /usr/local/include/mlpack/core.hpp:253,
  197. from streamin_extractor_music.cpp:32:
  198. /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:136:17: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  199. typename std::enable_if<!arma::is_arma_type<T>::value>::type
  200. ^
  201. /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:136:26: error: expected unqualified-id before ‘<’ token
  202. typename std::enable_if<!arma::is_arma_type<T>::value>::type
  203. ^
  204. /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:150:17: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  205. typename std::enable_if<arma::is_arma_type<T>::value>::type
  206. ^
  207. /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:150:26: error: expected unqualified-id before ‘<’ token
  208. typename std::enable_if<arma::is_arma_type<T>::value>::type
  209. ^
  210. In file included from /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:174:0,
  211. from /usr/local/include/mlpack/core/util/log.hpp:18,
  212. from /usr/local/include/mlpack/prereqs.hpp:116,
  213. from /usr/local/include/mlpack/core.hpp:253,
  214. from streamin_extractor_music.cpp:32:
  215. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp: In member function ‘mlpack::util::PrefixedOutStream& mlpack::util::PrefixedOutStream::operator<<(const T&)’:
  216. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:32:3: error: ‘BaseLogic’ was not declared in this scope
  217. BaseLogic<T>(s);
  218. ^
  219. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:32:14: error: expected primary-expression before ‘>’ token
  220. BaseLogic<T>(s);
  221. ^
  222. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp: At global scope:
  223. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:38:15: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  224. typename std::enable_if<!arma::is_arma_type<T>::value>::type
  225. ^
  226. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:38:24: error: expected unqualified-id before ‘<’ token
  227. typename std::enable_if<!arma::is_arma_type<T>::value>::type
  228. ^
  229. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:146:15: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  230. typename std::enable_if<arma::is_arma_type<T>::value>::type
  231. ^
  232. /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:146:24: error: expected unqualified-id before ‘<’ token
  233. typename std::enable_if<arma::is_arma_type<T>::value>::type
  234. ^
  235. In file included from /usr/local/include/mlpack/prereqs.hpp:117:0,
  236. from /usr/local/include/mlpack/core.hpp:253,
  237. from streamin_extractor_music.cpp:32:
  238. /usr/local/include/mlpack/core/util/timers.hpp:76:15: error: ‘chrono’ in namespace ‘std’ does not name a type
  239. static std::chrono::microseconds Get(const std::string& name);
  240. ^
  241. /usr/local/include/mlpack/core/util/timers.hpp:106:25: error: ‘chrono’ is not a member of ‘std’
  242. std::map<std::string, std::chrono::microseconds> GetAllTimers();
  243. ^
  244. /usr/local/include/mlpack/core/util/timers.hpp:106:25: error: ‘chrono’ is not a member of ‘std’
  245. /usr/local/include/mlpack/core/util/timers.hpp:106:50: error: template argument 2 is invalid
  246. std::map<std::string, std::chrono::microseconds> GetAllTimers();
  247. ^
  248. /usr/local/include/mlpack/core/util/timers.hpp:106:50: error: template argument 4 is invalid
  249. /usr/local/include/mlpack/core/util/timers.hpp:120:8: error: ‘chrono’ in namespace ‘std’ does not name a type
  250. std::chrono::microseconds GetTimer(const std::string& timerName);
  251. ^
  252. /usr/local/include/mlpack/core/util/timers.hpp:140:30: error: ‘thread’ in namespace ‘std’ does not name a type
  253. const std::thread::id& threadId = std::thread::id());
  254. ^
  255. /usr/local/include/mlpack/core/util/timers.hpp:140:40: error: expected unqualified-id before ‘&’ token
  256. const std::thread::id& threadId = std::thread::id());
  257. ^
  258. /usr/local/include/mlpack/core/util/timers.hpp:140:40: error: expected ‘)’ before ‘&’ token
  259. /usr/local/include/mlpack/core/util/timers.hpp:140:38: error: expected ‘;’ at end of member declaration
  260. const std::thread::id& threadId = std::thread::id());
  261. ^
  262. /usr/local/include/mlpack/core/util/timers.hpp:140:69: error: expected ‘;’ at end of member declaration
  263. const std::thread::id& threadId = std::thread::id());
  264. ^
  265. /usr/local/include/mlpack/core/util/timers.hpp:140:70: error: expected unqualified-id before ‘)’ token
  266. const std::thread::id& threadId = std::thread::id());
  267. ^
  268. /usr/local/include/mlpack/core/util/timers.hpp:149:29: error: ‘thread’ in namespace ‘std’ does not name a type
  269. const std::thread::id& threadId = std::thread::id());
  270. ^
  271. /usr/local/include/mlpack/core/util/timers.hpp:149:39: error: expected unqualified-id before ‘&’ token
  272. const std::thread::id& threadId = std::thread::id());
  273. ^
  274. /usr/local/include/mlpack/core/util/timers.hpp:149:39: error: expected ‘)’ before ‘&’ token
  275. /usr/local/include/mlpack/core/util/timers.hpp:149:37: error: expected ‘;’ at end of member declaration
  276. const std::thread::id& threadId = std::thread::id());
  277. ^
  278. /usr/local/include/mlpack/core/util/timers.hpp:149:68: error: expected ‘;’ at end of member declaration
  279. const std::thread::id& threadId = std::thread::id());
  280. ^
  281. /usr/local/include/mlpack/core/util/timers.hpp:149:68: error: redeclaration of ‘int& mlpack::Timers::threadId’
  282. /usr/local/include/mlpack/core/util/timers.hpp:140:69: note: previous declaration ‘int& mlpack::Timers::threadId’
  283. const std::thread::id& threadId = std::thread::id());
  284. ^
  285. /usr/local/include/mlpack/core/util/timers.hpp:149:69: error: expected unqualified-id before ‘)’ token
  286. const std::thread::id& threadId = std::thread::id());
  287. ^
  288. /usr/local/include/mlpack/core/util/timers.hpp:158:28: error: ‘thread’ in namespace ‘std’ does not name a type
  289. const std::thread::id& threadId = std::thread::id());
  290. ^
  291. /usr/local/include/mlpack/core/util/timers.hpp:158:38: error: expected unqualified-id before ‘&’ token
  292. const std::thread::id& threadId = std::thread::id());
  293. ^
  294. /usr/local/include/mlpack/core/util/timers.hpp:158:38: error: expected ‘)’ before ‘&’ token
  295. /usr/local/include/mlpack/core/util/timers.hpp:158:36: error: expected ‘;’ at end of member declaration
  296. const std::thread::id& threadId = std::thread::id());
  297. ^
  298. /usr/local/include/mlpack/core/util/timers.hpp:158:67: error: expected ‘;’ at end of member declaration
  299. const std::thread::id& threadId = std::thread::id());
  300. ^
  301. /usr/local/include/mlpack/core/util/timers.hpp:158:67: error: redeclaration of ‘int& mlpack::Timers::threadId’
  302. /usr/local/include/mlpack/core/util/timers.hpp:140:69: note: previous declaration ‘int& mlpack::Timers::threadId’
  303. const std::thread::id& threadId = std::thread::id());
  304. ^
  305. /usr/local/include/mlpack/core/util/timers.hpp:158:68: error: expected unqualified-id before ‘)’ token
  306. const std::thread::id& threadId = std::thread::id());
  307. ^
  308. /usr/local/include/mlpack/core/util/timers.hpp:166:8: error: ‘atomic’ in namespace ‘std’ does not name a template type
  309. std::atomic<bool>& Enabled() { return enabled; }
  310. ^
  311. /usr/local/include/mlpack/core/util/timers.hpp:172:25: error: ‘chrono’ is not a member of ‘std’
  312. std::map<std::string, std::chrono::microseconds> timers;
  313. ^
  314. /usr/local/include/mlpack/core/util/timers.hpp:172:25: error: ‘chrono’ is not a member of ‘std’
  315. /usr/local/include/mlpack/core/util/timers.hpp:172:50: error: template argument 2 is invalid
  316. std::map<std::string, std::chrono::microseconds> timers;
  317. ^
  318. /usr/local/include/mlpack/core/util/timers.hpp:172:50: error: template argument 4 is invalid
  319. /usr/local/include/mlpack/core/util/timers.hpp:174:8: error: ‘mutex’ in namespace ‘std’ does not name a type
  320. std::mutex timersMutex;
  321. ^
  322. /usr/local/include/mlpack/core/util/timers.hpp:176:12: error: ‘thread’ is not a member of ‘std’
  323. std::map<std::thread::id, std::map<std::string,
  324. ^
  325. /usr/local/include/mlpack/core/util/timers.hpp:176:12: error: ‘thread’ is not a member of ‘std’
  326. /usr/local/include/mlpack/core/util/timers.hpp:177:56: error: wrong number of template arguments (1, should be at least 2)
  327. std::chrono::high_resolution_clock::time_point>> timerStartTime;
  328. ^
  329. In file included from /usr/include/c++/5/map:61:0,
  330. from /usr/local/include/essentia/types.h:23,
  331. from /usr/local/include/essentia/essentia.h:24,
  332. from streamin_extractor_music.cpp:24:
  333. /usr/include/c++/5/bits/stl_map.h:96:11: note: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
  334. class map
  335. ^
  336. In file included from /usr/local/include/mlpack/prereqs.hpp:117:0,
  337. from /usr/local/include/mlpack/core.hpp:253,
  338. from streamin_extractor_music.cpp:32:
  339. /usr/local/include/mlpack/core/util/timers.hpp:180:8: error: ‘atomic’ in namespace ‘std’ does not name a template type
  340. std::atomic<bool> enabled;
  341. ^
  342. /usr/local/include/mlpack/core/util/timers.hpp:140:58: error: ‘std::thread’ has not been declared
  343. const std::thread::id& threadId = std::thread::id());
  344. ^
  345. /usr/local/include/mlpack/core/util/timers.hpp:149:57: error: ‘std::thread’ has not been declared
  346. const std::thread::id& threadId = std::thread::id());
  347. ^
  348. /usr/local/include/mlpack/core/util/timers.hpp:158:56: error: ‘std::thread’ has not been declared
  349. const std::thread::id& threadId = std::thread::id());
  350. ^
  351. /usr/local/include/mlpack/core/util/timers.hpp: In constructor ‘mlpack::Timers::Timers()’:
  352. /usr/local/include/mlpack/core/util/timers.hpp:101:14: error: class ‘mlpack::Timers’ does not have any field named ‘enabled’
  353. Timers() : enabled(false) { }
  354. ^
  355. /usr/local/include/mlpack/core/util/timers.hpp: In member function ‘bool mlpack::Timers::Enabled() const’:
  356. /usr/local/include/mlpack/core/util/timers.hpp:168:33: error: ‘enabled’ was not declared in this scope
  357. bool Enabled() const { return enabled; }
  358. ^
  359. In file included from /usr/local/include/mlpack/core/util/cli.hpp:27:0,
  360. from /usr/local/include/mlpack/core.hpp:258,
  361. from streamin_extractor_music.cpp:32:
  362. /usr/local/include/mlpack/core/util/program_doc.hpp: At global scope:
  363. /usr/local/include/mlpack/core/util/program_doc.hpp:41:25: error: ‘function’ in namespace ‘std’ does not name a template type
  364. const std::function<std::string()>& documentation);
  365. ^
  366. /usr/local/include/mlpack/core/util/program_doc.hpp:41:33: error: expected ‘,’ or ‘...’ before ‘<’ token
  367. const std::function<std::string()>& documentation);
  368. ^
  369. /usr/local/include/mlpack/core/util/program_doc.hpp:46:8: error: ‘function’ in namespace ‘std’ does not name a template type
  370. std::function<std::string()> documentation;
  371. ^
  372. In file included from /usr/local/include/mlpack/core/util/cli.hpp:30:0,
  373. from /usr/local/include/mlpack/core.hpp:258,
  374. from streamin_extractor_music.cpp:32:
  375. /usr/local/include/mlpack/core/util/param_data.hpp:32:7: error: expected nested-name-specifier before ‘DatasetInfo’
  376. using DatasetInfo = DatasetMapper<IncrementPolicy, std::string>;
  377. ^
  378. In file included from /usr/local/include/mlpack/core.hpp:258:0,
  379. from streamin_extractor_music.cpp:32:
  380. /usr/local/include/mlpack/core/util/cli.hpp:175:34: error: expected ‘,’ or ‘...’ before ‘&&’ token
  381. static void Add(util::ParamData&& d);
  382. ^
  383. /usr/local/include/mlpack/core/util/cli.hpp:289:13: error: ‘*’ cannot appear in a constant-expression
  384. void (*)(const util::ParamData&, const void*, void*)>> FunctionMapType;
  385. ^
  386. /usr/local/include/mlpack/core/util/cli.hpp:289:59: error: ‘>>’ should be ‘> >’ within a nested template argument list
  387. void (*)(const util::ParamData&, const void*, void*)>> FunctionMapType;
  388. ^
  389. /usr/local/include/mlpack/core/util/cli.hpp:294:25: error: ‘tuple’ is not a member of ‘std’
  390. std::map<std::string, std::tuple<std::map<std::string, util::ParamData>,
  391. ^
  392. /usr/local/include/mlpack/core/util/cli.hpp:294:25: error: ‘tuple’ is not a member of ‘std’
  393. /usr/local/include/mlpack/core/util/cli.hpp:295:51: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
  394. std::map<char, std::string>, FunctionMapType>> storageMap;
  395. ^
  396. /usr/local/include/mlpack/core/util/cli.hpp:295:51: error: template argument 2 is invalid
  397. In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:21:0,
  398. from /usr/local/include/mlpack/core/data/load.hpp:22,
  399. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  400. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  401. from /usr/local/include/mlpack/core.hpp:258,
  402. from streamin_extractor_music.cpp:32:
  403. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:40:9: error: expected nested-name-specifier before ‘MappedType’
  404. using MappedType = size_t;
  405. ^
  406. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp: In member function ‘void mlpack::data::IncrementPolicy::MapFirstPass(const InputType&, size_t, std::vector<mlpack::data::Datatype>&)’:
  407. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:53:23: error: ‘Datatype’ is not a class or namespace
  408. if (types[dim] == Datatype::categorical)
  409. ^
  410. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:61:20: error: ‘Datatype’ is not a class or namespace
  411. types[dim] = Datatype::categorical;
  412. ^
  413. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:72:22: error: ‘Datatype’ is not a class or namespace
  414. types[dim] = Datatype::categorical;
  415. ^
  416. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp: In member function ‘T mlpack::data::IncrementPolicy::MapString(const InputType&, size_t, MapType&, std::vector<mlpack::data::Datatype>&)’:
  417. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:96:29: error: ‘Datatype’ is not a class or namespace
  418. if (types[dimension] == Datatype::numeric && !forceAllMappings)
  419. ^
  420. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:123:28: error: ‘Datatype’ is not a class or namespace
  421. types[dimension] = Datatype::categorical;
  422. ^
  423. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:45: error: ‘MappedType’ was not declared in this scope
  424. typedef typename std::pair<InputType, MappedType> PairType;
  425. ^
  426. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:55: error: template argument 2 is invalid
  427. typedef typename std::pair<InputType, MappedType> PairType;
  428. ^
  429. /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:57: error: ‘PairType’ in namespace ‘std’ does not name a type
  430. typedef typename std::pair<InputType, MappedType> PairType;
  431. ^
  432. In file included from /usr/local/include/mlpack/core/data/load.hpp:22:0,
  433. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  434. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  435. from /usr/local/include/mlpack/core.hpp:258,
  436. from streamin_extractor_music.cpp:32:
  437. /usr/local/include/mlpack/core/data/dataset_mapper.hpp: At global scope:
  438. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:158:25: error: expected ‘,’ or ‘...’ before ‘&&’ token
  439. void Policy(PolicyType&& policy);
  440. ^
  441. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:165:9: error: expected nested-name-specifier before ‘ForwardMapType’
  442. using ForwardMapType = typename std::unordered_map<InputType, typename
  443. ^
  444. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:170:9: error: expected nested-name-specifier before ‘ReverseMapType’
  445. using ReverseMapType = std::unordered_map<typename PolicyType::MappedType,
  446. ^
  447. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:176:9: error: expected nested-name-specifier before ‘MapType’
  448. using MapType = std::unordered_map<size_t, std::pair<ForwardMapType,
  449. ^
  450. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:180:3: error: ‘MapType’ does not name a type
  451. MapType maps;
  452. ^
  453. In file included from /usr/include/boost/serialization/map.hpp:26:0,
  454. from /usr/local/include/mlpack/prereqs.hpp:79,
  455. from /usr/local/include/mlpack/core.hpp:253,
  456. from streamin_extractor_music.cpp:32:
  457. /usr/local/include/mlpack/core/data/dataset_mapper.hpp: In member function ‘void mlpack::data::DatasetMapper<PolicyType, InputType>::serialize(Archive&, unsigned int)’:
  458. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:149:10: error: ‘maps’ was not declared in this scope
  459. ar & BOOST_SERIALIZATION_NVP(maps);
  460. ^
  461. In file included from /usr/local/include/mlpack/core/data/load.hpp:22:0,
  462. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  463. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  464. from /usr/local/include/mlpack/core.hpp:258,
  465. from streamin_extractor_music.cpp:32:
  466. /usr/local/include/mlpack/core/data/dataset_mapper.hpp: At global scope:
  467. /usr/local/include/mlpack/core/data/dataset_mapper.hpp:188:7: error: expected nested-name-specifier before ‘DatasetInfo’
  468. using DatasetInfo = DatasetMapper<data::IncrementPolicy>;
  469. ^
  470. In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
  471. from /usr/local/include/mlpack/core/data/load.hpp:22,
  472. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  473. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  474. from /usr/local/include/mlpack/core.hpp:258,
  475. from streamin_extractor_music.cpp:32:
  476. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In constructor ‘mlpack::data::DatasetMapper<PolicyType, InputType>::DatasetMapper(size_t)’:
  477. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:26:27: error: ‘Datatype’ is not a class or namespace
  478. types(dimensionality, Datatype::numeric)
  479. ^
  480. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In constructor ‘mlpack::data::DatasetMapper<PolicyType, InputType>::DatasetMapper(PolicyType&, size_t)’:
  481. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:34:27: error: ‘Datatype’ is not a class or namespace
  482. types(dimensionality, Datatype::numeric),
  483. ^
  484. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:35:12: error: ‘move’ is not a member of ‘std’
  485. policy(std::move(policy))
  486. ^
  487. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: At global scope:
  488. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:47:25: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  489. const typename std::enable_if<PolicyType::NeedsFirstPass>::type* = 0)
  490. ^
  491. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:47:34: error: expected ‘,’ or ‘...’ before ‘<’ token
  492. const typename std::enable_if<PolicyType::NeedsFirstPass>::type* = 0)
  493. ^
  494. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:59:25: error: ‘enable_if’ in namespace ‘std’ does not name a template type
  495. const typename std::enable_if<!PolicyType::NeedsFirstPass>::type* = 0)
  496. ^
  497. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:59:34: error: expected ‘,’ or ‘...’ before ‘<’ token
  498. const typename std::enable_if<!PolicyType::NeedsFirstPass>::type* = 0)
  499. ^
  500. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:54:6: error: redefinition of ‘template<class PolicyType, class InputType, class T> void mlpack::data::CallMapFirstPass(PolicyType&, const InputType&, size_t, std::vector<mlpack::data::Datatype>&, int)’
  501. void CallMapFirstPass(
  502. ^
  503. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:42:6: note: ‘template<class PolicyType, class InputType, class T> void mlpack::data::CallMapFirstPass(PolicyType&, const InputType&, size_t, std::vector<mlpack::data::Datatype>&, int)’ previously declared here
  504. void CallMapFirstPass(
  505. ^
  506. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘T mlpack::data::DatasetMapper<PolicyType, InputType>::MapString(const InputType&, size_t)’:
  507. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:81:36: error: ‘MapType’ was not declared in this scope
  508. return policy.template MapString<MapType, T>(input, dimension, maps, types);
  509. ^
  510. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:81:66: error: ‘maps’ was not declared in this scope
  511. return policy.template MapString<MapType, T>(input, dimension, maps, types);
  512. ^
  513. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘const InputType& mlpack::data::DatasetMapper<PolicyType, InputType>::UnmapString(T, size_t, size_t) const’:
  514. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:125:7: error: ‘nexttoward’ is not a member of ‘std’
  515. std::nexttoward(std::numeric_limits<T>::max(), T(0)) :
  516. ^
  517. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:125:7: note: suggested alternatives:
  518. In file included from /usr/include/features.h:367:0,
  519. from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
  520. from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
  521. from /usr/include/c++/5/bits/stl_algobase.h:59,
  522. from /usr/include/c++/5/bits/stl_tree.h:63,
  523. from /usr/include/c++/5/map:60,
  524. from /usr/local/include/essentia/types.h:23,
  525. from /usr/local/include/essentia/essentia.h:24,
  526. from streamin_extractor_music.cpp:24:
  527. /usr/include/x86_64-linux-gnu/bits/mathcalls.h:294:1: note: ‘nexttoward’
  528. __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
  529. ^
  530. In file included from /usr/include/armadillo:76:0,
  531. from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
  532. from /usr/local/include/mlpack/prereqs.hpp:108,
  533. from /usr/local/include/mlpack/core.hpp:253,
  534. from streamin_extractor_music.cpp:32:
  535. /usr/include/c++/5/tr1/cmath:900:5: note: ‘std::tr1::nexttoward’
  536. nexttoward(_Tp __x, long double __y)
  537. ^
  538. In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
  539. from /usr/local/include/mlpack/core/data/load.hpp:22,
  540. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  541. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  542. from /usr/local/include/mlpack/core.hpp:258,
  543. from streamin_extractor_music.cpp:32:
  544. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:129:7: error: ‘maps’ was not declared in this scope
  545. if (maps.at(dimension).second.count(usedValue) == 0)
  546. ^
  547. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:137:25: error: ‘maps’ was not declared in this scope
  548. if (unmappingIndex >= maps.at(dimension).second.at(usedValue).size())
  549. ^
  550. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:147:10: error: ‘maps’ was not declared in this scope
  551. return maps.at(dimension).second.at(usedValue)[unmappingIndex];
  552. ^
  553. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘size_t mlpack::data::DatasetMapper<PolicyType, InputType>::NumUnmappings(T, size_t) const’:
  554. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:160:24: error: ‘nexttoward’ is not a member of ‘std’
  555. const T newValue = std::nexttoward(std::numeric_limits<T>::max(), T(0));
  556. ^
  557. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:160:24: note: suggested alternatives:
  558. In file included from /usr/include/features.h:367:0,
  559. from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
  560. from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
  561. from /usr/include/c++/5/bits/stl_algobase.h:59,
  562. from /usr/include/c++/5/bits/stl_tree.h:63,
  563. from /usr/include/c++/5/map:60,
  564. from /usr/local/include/essentia/types.h:23,
  565. from /usr/local/include/essentia/essentia.h:24,
  566. from streamin_extractor_music.cpp:24:
  567. /usr/include/x86_64-linux-gnu/bits/mathcalls.h:294:1: note: ‘nexttoward’
  568. __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
  569. ^
  570. In file included from /usr/include/armadillo:76:0,
  571. from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
  572. from /usr/local/include/mlpack/prereqs.hpp:108,
  573. from /usr/local/include/mlpack/core.hpp:253,
  574. from streamin_extractor_music.cpp:32:
  575. /usr/include/c++/5/tr1/cmath:900:5: note: ‘std::tr1::nexttoward’
  576. nexttoward(_Tp __x, long double __y)
  577. ^
  578. In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
  579. from /usr/local/include/mlpack/core/data/load.hpp:22,
  580. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  581. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  582. from /usr/local/include/mlpack/core.hpp:258,
  583. from streamin_extractor_music.cpp:32:
  584. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:161:12: error: ‘maps’ was not declared in this scope
  585. return maps.at(dimension).second.at(newValue).size();
  586. ^
  587. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:164:10: error: ‘maps’ was not declared in this scope
  588. return maps.at(dimension).second.at(value).size();
  589. ^
  590. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘typename PolicyType::MappedType mlpack::data::DatasetMapper<PolicyType, InputType>::UnmapValue(const InputType&, size_t)’:
  591. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:175:7: error: ‘maps’ was not declared in this scope
  592. if (maps[dimension].first.count(input) == 0)
  593. ^
  594. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:183:10: error: ‘maps’ was not declared in this scope
  595. return maps[dimension].first.at(input);
  596. ^
  597. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘mlpack::data::Datatype& mlpack::data::DatasetMapper<PolicyType, InputType>::Type(size_t)’:
  598. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:207:33: error: ‘Datatype’ is not a class or namespace
  599. types.resize(dimension + 1, Datatype::numeric);
  600. ^
  601. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘size_t mlpack::data::DatasetMapper<PolicyType, InputType>::NumMappings(size_t) const’:
  602. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:216:11: error: ‘maps’ was not declared in this scope
  603. return (maps.count(dimension) == 0) ? 0 : maps.at(dimension).first.size();
  604. ^
  605. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: At global scope:
  606. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:238:68: error: expected ‘,’ or ‘...’ before ‘&&’ token
  607. inline void DatasetMapper<PolicyType, InputType>::Policy(PolicyType&& policy)
  608. ^
  609. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘void mlpack::data::DatasetMapper<PolicyType, InputType>::Policy(PolicyType)’:
  610. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:240:18: error: ‘forward’ is not a member of ‘std’
  611. this->policy = std::forward<PolicyType>(policy);
  612. ^
  613. /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:240:41: error: expected primary-expression before ‘>’ token
  614. this->policy = std::forward<PolicyType>(policy);
  615. ^
  616. In file included from /usr/local/include/mlpack/core/util/cli_impl.hpp:19:0,
  617. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  618. from /usr/local/include/mlpack/core.hpp:258,
  619. from streamin_extractor_music.cpp:32:
  620. /usr/local/include/mlpack/core/data/load.hpp: At global scope:
  621. /usr/local/include/mlpack/core/data/load.hpp:288:22: error: ‘format’ is not a class or namespace
  622. format f = format::autodetect);
  623. ^
  624. In file included from /usr/local/include/mlpack/core/data/load.hpp:294:0,
  625. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  626. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  627. from /usr/local/include/mlpack/core.hpp:258,
  628. from streamin_extractor_music.cpp:32:
  629. /usr/local/include/mlpack/core/data/load_model_impl.hpp: In function ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format)’:
  630. /usr/local/include/mlpack/core/data/load_model_impl.hpp:42:12: error: ‘format’ is not a class or namespace
  631. if (f == format::autodetect)
  632. ^
  633. /usr/local/include/mlpack/core/data/load_model_impl.hpp:47:11: error: ‘format’ is not a class or namespace
  634. f = format::xml;
  635. ^
  636. /usr/local/include/mlpack/core/data/load_model_impl.hpp:49:11: error: ‘format’ is not a class or namespace
  637. f = format::binary;
  638. ^
  639. /usr/local/include/mlpack/core/data/load_model_impl.hpp:51:11: error: ‘format’ is not a class or namespace
  640. f = format::text;
  641. ^
  642. /usr/local/include/mlpack/core/data/load_model_impl.hpp:73:39: error: no matching function for call to ‘std::basic_ifstream<char>::open(const string&, const openmode&)’
  643. ifs.open(filename, std::ifstream::in);
  644. ^
  645. In file included from /usr/include/armadillo:23:0,
  646. from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
  647. from /usr/local/include/mlpack/prereqs.hpp:108,
  648. from /usr/local/include/mlpack/core.hpp:253,
  649. from streamin_extractor_music.cpp:32:
  650. /usr/include/c++/5/fstream:595:7: note: candidate: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
  651. open(const char* __s, ios_base::openmode __mode = ios_base::in)
  652. ^
  653. /usr/include/c++/5/fstream:595:7: note: no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘const char*’
  654. In file included from /usr/local/include/mlpack/core/data/load.hpp:294:0,
  655. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  656. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  657. from /usr/local/include/mlpack/core.hpp:258,
  658. from streamin_extractor_music.cpp:32:
  659. /usr/local/include/mlpack/core/data/load_model_impl.hpp:90:14: error: ‘format’ is not a class or namespace
  660. if (f == format::xml)
  661. ^
  662. /usr/local/include/mlpack/core/data/load_model_impl.hpp:95:19: error: ‘format’ is not a class or namespace
  663. else if (f == format::text)
  664. ^
  665. /usr/local/include/mlpack/core/data/load_model_impl.hpp:100:19: error: ‘format’ is not a class or namespace
  666. else if (f == format::binary)
  667. ^
  668. In file included from /usr/local/include/mlpack/core/data/load.hpp:296:0,
  669. from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
  670. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  671. from /usr/local/include/mlpack/core.hpp:258,
  672. from streamin_extractor_music.cpp:32:
  673. /usr/local/include/mlpack/core/data/load_vec_impl.hpp: In function ‘bool mlpack::data::Load(const string&, arma::Col<eT>&, bool)’:
  674. /usr/local/include/mlpack/core/data/load_vec_impl.hpp:73:34: error: ‘move’ is not a member of ‘std’
  675. *((arma::Mat<eT>*) &vec) = std::move(tmp);
  676. ^
  677. /usr/local/include/mlpack/core/data/load_vec_impl.hpp:81:32: error: ‘move’ is not a member of ‘std’
  678. *((arma::Mat<eT>*) &vec) = std::move(tmp);
  679. ^
  680. /usr/local/include/mlpack/core/data/load_vec_impl.hpp: In function ‘bool mlpack::data::Load(const string&, arma::Row<eT>&, bool)’:
  681. /usr/local/include/mlpack/core/data/load_vec_impl.hpp:135:37: error: ‘move’ is not a member of ‘std’
  682. *((arma::Mat<eT>*) &rowvec) = std::move(tmp);
  683. ^
  684. /usr/local/include/mlpack/core/data/load_vec_impl.hpp:142:35: error: ‘move’ is not a member of ‘std’
  685. *((arma::Mat<eT>*) &rowvec) = std::move(tmp);
  686. ^
  687. In file included from /usr/local/include/mlpack/core/util/cli_impl.hpp:20:0,
  688. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  689. from /usr/local/include/mlpack/core.hpp:258,
  690. from streamin_extractor_music.cpp:32:
  691. /usr/local/include/mlpack/core/data/save.hpp: At global scope:
  692. /usr/local/include/mlpack/core/data/save.hpp:91:22: error: ‘format’ is not a class or namespace
  693. format f = format::autodetect);
  694. ^
  695. In file included from /usr/local/include/mlpack/core/data/save.hpp:97:0,
  696. from /usr/local/include/mlpack/core/util/cli_impl.hpp:20,
  697. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  698. from /usr/local/include/mlpack/core.hpp:258,
  699. from streamin_extractor_music.cpp:32:
  700. /usr/local/include/mlpack/core/data/save_impl.hpp: In function ‘bool mlpack::data::Save(const string&, const string&, T&, bool, mlpack::data::format)’:
  701. /usr/local/include/mlpack/core/data/save_impl.hpp:208:12: error: ‘format’ is not a class or namespace
  702. if (f == format::autodetect)
  703. ^
  704. /usr/local/include/mlpack/core/data/save_impl.hpp:213:11: error: ‘format’ is not a class or namespace
  705. f = format::xml;
  706. ^
  707. /usr/local/include/mlpack/core/data/save_impl.hpp:215:11: error: ‘format’ is not a class or namespace
  708. f = format::binary;
  709. ^
  710. /usr/local/include/mlpack/core/data/save_impl.hpp:217:11: error: ‘format’ is not a class or namespace
  711. f = format::text;
  712. ^
  713. /usr/local/include/mlpack/core/data/save_impl.hpp:240:40: error: no matching function for call to ‘std::basic_ofstream<char>::open(const string&, const openmode&)’
  714. ofs.open(filename, std::ofstream::out);
  715. ^
  716. In file included from /usr/include/armadillo:23:0,
  717. from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
  718. from /usr/local/include/mlpack/prereqs.hpp:108,
  719. from /usr/local/include/mlpack/core.hpp:253,
  720. from streamin_extractor_music.cpp:32:
  721. /usr/include/c++/5/fstream:799:7: note: candidate: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
  722. open(const char* __s,
  723. ^
  724. /usr/include/c++/5/fstream:799:7: note: no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘const char*’
  725. In file included from /usr/local/include/mlpack/core/data/save.hpp:97:0,
  726. from /usr/local/include/mlpack/core/util/cli_impl.hpp:20,
  727. from /usr/local/include/mlpack/core/util/cli.hpp:329,
  728. from /usr/local/include/mlpack/core.hpp:258,
  729. from streamin_extractor_music.cpp:32:
  730. /usr/local/include/mlpack/core/data/save_impl.hpp:257:14: error: ‘format’ is not a class or namespace
  731. if (f == format::xml)
  732. ^
  733. /usr/local/include/mlpack/core/data/save_impl.hpp:262:19: error: ‘format’ is not a class or namespace
  734. else if (f == format::text)
  735. ^
  736. /usr/local/include/mlpack/core/data/save_impl.hpp:267:19: error: ‘format’ is not a class or namespace
  737. else if (f == format::binary)
  738. ^
  739. In file included from /usr/local/include/mlpack/core.hpp:264:0,
  740. from streamin_extractor_music.cpp:32:
  741. /usr/local/include/mlpack/core/math/random.hpp: At global scope:
  742. /usr/local/include/mlpack/core/math/random.hpp:27:27: error: ‘mt19937’ in namespace ‘std’ does not name a type
  743. extern MLPACK_EXPORT std::mt19937 randGen;
  744. ^
  745. /usr/local/include/mlpack/core/math/random.hpp:29:27: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a template type
  746. extern MLPACK_EXPORT std::uniform_real_distribution<> randUniformDist;
  747. ^
  748. /usr/local/include/mlpack/core/math/random.hpp:31:27: error: ‘normal_distribution’ in namespace ‘std’ does not name a template type
  749. extern MLPACK_EXPORT std::normal_distribution<> randNormalDist;
  750. ^
  751. /usr/local/include/mlpack/core/math/random.hpp: In function ‘void mlpack::math::FixedRandomSeed()’:
  752. /usr/local/include/mlpack/core/math/random.hpp:62:3: error: ‘randGen’ was not declared in this scope
  753. randGen.seed((uint32_t) seed);
  754. ^
  755. /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random()’:
  756. /usr/local/include/mlpack/core/math/random.hpp:73:26: error: ‘randGen’ was not declared in this scope
  757. return randUniformDist(randGen);
  758. ^
  759. /usr/local/include/mlpack/core/math/random.hpp:73:33: error: ‘randUniformDist’ was not declared in this scope
  760. return randUniformDist(randGen);
  761. ^
  762. /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random(double, double)’:
  763. /usr/local/include/mlpack/core/math/random.hpp:81:43: error: ‘randGen’ was not declared in this scope
  764. return lo + (hi - lo) * randUniformDist(randGen);
  765. ^
  766. /usr/local/include/mlpack/core/math/random.hpp:81:50: error: ‘randUniformDist’ was not declared in this scope
  767. return lo + (hi - lo) * randUniformDist(randGen);
  768. ^
  769. /usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int)’:
  770. /usr/local/include/mlpack/core/math/random.hpp:89:66: error: ‘randGen’ was not declared in this scope
  771. return (int) std::floor((double) hiExclusive * randUniformDist(randGen));
  772. ^
  773. /usr/local/include/mlpack/core/math/random.hpp:89:73: error: ‘randUniformDist’ was not declared in this scope
  774. return (int) std::floor((double) hiExclusive * randUniformDist(randGen));
  775. ^
  776. /usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int, int)’:
  777. /usr/local/include/mlpack/core/math/random.hpp:98:50: error: ‘randGen’ was not declared in this scope
  778. * randUniformDist(randGen));
  779. ^
  780. /usr/local/include/mlpack/core/math/random.hpp:98:57: error: ‘randUniformDist’ was not declared in this scope
  781. * randUniformDist(randGen));
  782. ^
  783. /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal()’:
  784. /usr/local/include/mlpack/core/math/random.hpp:106:25: error: ‘randGen’ was not declared in this scope
  785. return randNormalDist(randGen);
  786. ^
  787. /usr/local/include/mlpack/core/math/random.hpp:106:32: error: ‘randNormalDist’ was not declared in this scope
  788. return randNormalDist(randGen);
  789. ^
  790. /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal(double, double)’:
  791. /usr/local/include/mlpack/core/math/random.hpp:118:36: error: ‘randGen’ was not declared in this scope
  792. return variance * randNormalDist(randGen) + mean;
  793. ^
  794. /usr/local/include/mlpack/core/math/random.hpp:118:43: error: ‘randNormalDist’ was not declared in this scope
  795. return variance * randNormalDist(randGen) + mean;
  796. ^
  797. In file included from /usr/local/include/mlpack/core.hpp:269:0,
  798. from streamin_extractor_music.cpp:32:
  799. /usr/local/include/mlpack/core/math/shuffle_data.hpp: At global scope:
  800. /usr/local/include/mlpack/core/math/shuffle_data.hpp:32:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  801. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  802. ^
  803. /usr/local/include/mlpack/core/math/shuffle_data.hpp:32:40: error: expected ‘,’ or ‘...’ before ‘<’ token
  804. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  805. ^
  806. /usr/local/include/mlpack/core/math/shuffle_data.hpp:55:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  807. const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
  808. ^
  809. /usr/local/include/mlpack/core/math/shuffle_data.hpp:55:40: error: expected ‘,’ or ‘...’ before ‘<’ token
  810. const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
  811. ^
  812. /usr/local/include/mlpack/core/math/shuffle_data.hpp:51:6: error: redefinition of ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’
  813. void ShuffleData(const MatType& inputPoints,
  814. ^
  815. /usr/local/include/mlpack/core/math/shuffle_data.hpp:28:6: note: ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’ previously declared here
  816. void ShuffleData(const MatType& inputPoints,
  817. ^
  818. /usr/local/include/mlpack/core/math/shuffle_data.hpp:107:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  819. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  820. ^
  821. /usr/local/include/mlpack/core/math/shuffle_data.hpp:107:40: error: expected ‘,’ or ‘...’ before ‘<’ token
  822. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  823. ^
  824. /usr/local/include/mlpack/core/math/shuffle_data.hpp:103:6: error: redefinition of ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’
  825. void ShuffleData(const MatType& inputPoints,
  826. ^
  827. /usr/local/include/mlpack/core/math/shuffle_data.hpp:28:6: note: ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’ previously declared here
  828. void ShuffleData(const MatType& inputPoints,
  829. ^
  830. /usr/local/include/mlpack/core/math/shuffle_data.hpp:166:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  831. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  832. ^
  833. /usr/local/include/mlpack/core/math/shuffle_data.hpp:166:40: error: expected ‘,’ or ‘...’ before ‘<’ token
  834. const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
  835. ^
  836. /usr/local/include/mlpack/core/math/shuffle_data.hpp:194:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
  837. const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
  838. ^
  839. /usr/local/include/mlpack/core/math/shuffle_data.hpp:194:40: error: expected ‘,’ or ‘...’ before ‘<’ token
  840. const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
  841. ^
  842. /usr/local/include/mlpack/core/math/shuffle_data.hpp:188:6: error: redefinition of ‘template<class MatType, class LabelsType, class WeightsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, const WeightsType&, MatType&, LabelsType&, WeightsType&, int)’
  843. void ShuffleData(const MatType& inputPoints,
  844. ^
  845. /usr/local/include/mlpack/core/math/shuffle_data.hpp:160:6: note: ‘template<class MatType, class LabelsType, class WeightsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, const WeightsType&, MatType&, LabelsType&, WeightsType&, int)’ previously declared here
  846. void ShuffleData(const MatType& inputPoints,
  847. ^
  848. In file included from /usr/local/include/mlpack/core.hpp:272:0,
  849. from streamin_extractor_music.cpp:32:
  850. /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:39:16: error: ‘constexpr’ does not name a type
  851. static const constexpr double log2pi = 1.83787706640934533908193770912475883;
  852. ^
  853. /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:39:16: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
  854. /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:143:28: error: expected ‘,’ or ‘...’ before ‘&&’ token
  855. void Covariance(arma::mat&& covariance);
  856. ^
  857. /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp: In member function ‘void mlpack::distribution::GaussianDistribution::LogProbability(const mat&, arma::vec&) const’:
  858. /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:193:33: error: ‘log2pi’ was not declared in this scope
  859. logProbabilities = -0.5 * k * log2pi - 0.5 * logDetCov + logExponents;
  860. ^
  861. In file included from /usr/local/include/mlpack/core.hpp:291:0,
  862. from streamin_extractor_music.cpp:32:
  863. /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp: In member function ‘double mlpack::kernel::SphericalKernel::Normalizer(size_t) const’:
  864. /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:91:9: error: ‘tgamma’ is not a member of ‘std’
  865. std::tgamma(dimension / 2.0 + 1.0);
  866. ^
  867. /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:91:9: note: suggested alternatives:
  868. In file included from /usr/include/features.h:367:0,
  869. from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
  870. from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
  871. from /usr/include/c++/5/bits/stl_algobase.h:59,
  872. from /usr/include/c++/5/bits/stl_tree.h:63,
  873. from /usr/include/c++/5/map:60,
  874. from /usr/local/include/essentia/types.h:23,
  875. from /usr/local/include/essentia/essentia.h:24,
  876. from streamin_extractor_music.cpp:24:
  877. /usr/include/x86_64-linux-gnu/bits/mathcalls.h:268:1: note: ‘tgamma’
  878. __MATHCALL (tgamma,, (_Mdouble_));
  879. ^
  880. In file included from /usr/include/armadillo:76:0,
  881. from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
  882. from /usr/local/include/mlpack/prereqs.hpp:108,
  883. from /usr/local/include/mlpack/core.hpp:253,
  884. from streamin_extractor_music.cpp:32:
  885. /usr/include/c++/5/tr1/cmath:1022:5: note: ‘std::tr1::tgamma’
  886. tgamma(_Tp __x)
  887. ^
  888. In file included from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13:0,
  889. from /usr/local/include/mlpack/core.hpp:291,
  890. from streamin_extractor_music.cpp:32:
  891. /usr/include/boost/math/special_functions/gamma.hpp:1854:4: note: ‘boost::math::tgamma’
  892. tgamma(T1 a, T2 z, const Policy& pol)
  893. ^
  894. /usr/include/boost/math/special_functions/gamma.hpp:1757:4: note: ‘boost::math::detail::tgamma’
  895. tgamma(T1 a, T2 z, const mpl::false_ tag)
  896. ^
  897. In file included from /usr/local/include/mlpack/methods/decision_tree/all_categorical_split.hpp:95:0,
  898. from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:19,
  899. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  900. from streamin_extractor_music.cpp:33:
  901. /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp: In static member function ‘static double mlpack::tree::AllCategoricalSplit<FitnessFunction>::SplitIfBetter(double, const VecType&, size_t, const arma::Row<long unsigned int>&, size_t, const WeightVecType&, size_t, double, arma::Col<typename VecType::elem_type>&, mlpack::tree::AllCategoricalSplit<FitnessFunction>::AuxiliarySplitInfo<typename VecType::elem_type>&)’:
  902. /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp:61:31: error: ‘>>’ should be ‘> >’ within a nested template argument list
  903. std::vector<arma::Row<size_t>> childLabels(numCategories);
  904. ^
  905. /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp:62:31: error: ‘>>’ should be ‘> >’ within a nested template argument list
  906. std::vector<arma::Row<double>> childWeights(numCategories);
  907. ^
  908. In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15:0,
  909. from streamin_extractor_music.cpp:33:
  910. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp: At global scope:
  911. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
  912. DecisionTree(MatType&& data,
  913. ^
  914. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:87:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
  915. DecisionTree(MatType&& data,
  916. ^
  917. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:87:3: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ cannot be overloaded
  918. DecisionTree(MatType&& data,
  919. ^
  920. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:3: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
  921. DecisionTree(MatType&& data,
  922. ^
  923. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
  924. DecisionTree(MatType&& data,
  925. ^
  926. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:133:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
  927. DecisionTree(MatType&& data,
  928. ^
  929. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:133:3: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ cannot be overloaded
  930. DecisionTree(MatType&& data,
  931. ^
  932. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:3: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
  933. DecisionTree(MatType&& data,
  934. ^
  935. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:165:28: error: expected ‘,’ or ‘...’ before ‘&&’ token
  936. DecisionTree(DecisionTree&& other);
  937. ^
  938. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:165:36: error: invalid constructor; you probably meant ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> (const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&)’
  939. DecisionTree(DecisionTree&& other);
  940. ^
  941. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:180:39: error: expected ‘,’ or ‘...’ before ‘&&’ token
  942. DecisionTree& operator=(DecisionTree&& other);
  943. ^
  944. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:203:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
  945. void Train(MatType&& data,
  946. ^
  947. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:224:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
  948. void Train(MatType&& data,
  949. ^
  950. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:224:8: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ cannot be overloaded
  951. void Train(MatType&& data,
  952. ^
  953. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:203:8: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
  954. void Train(MatType&& data,
  955. ^
  956. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:246:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
  957. void Train(MatType&& data,
  958. ^
  959. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:270:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
  960. void Train(MatType&& data,
  961. ^
  962. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:270:8: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ cannot be overloaded
  963. void Train(MatType&& data,
  964. ^
  965. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:246:8: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
  966. void Train(MatType&& data,
  967. ^
  968. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:409:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  969. const data::DatasetInfo& datasetInfo,
  970. ^
  971. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:449:1: error: expected unqualified-id before ‘using’
  972. using DecisionStump = DecisionTree<FitnessFunction,
  973. ^
  974. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  975. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  976. from streamin_extractor_music.cpp:33:
  977. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:31:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
  978. NoRecursion>::DecisionTree(MatType&& data,
  979. ^
  980. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In constructor ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’:
  981. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:38:9: error: expected nested-name-specifier before ‘TrueMatType’
  982. using TrueMatType = typename std::decay<MatType>::type;
  983. ^
  984. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:39:9: error: expected nested-name-specifier before ‘TrueLabelsType’
  985. using TrueLabelsType = typename std::decay<LabelsType>::type;
  986. ^
  987. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:42:3: error: ‘TrueMatType’ was not declared in this scope
  988. TrueMatType tmpData(std::forward<MatType>(data));
  989. ^
  990. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:43:3: error: ‘TrueLabelsType’ was not declared in this scope
  991. TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
  992. ^
  993. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:16: error: ‘tmpData’ was not declared in this scope
  994. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  995. ^
  996. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:44: error: ‘datasetInfo’ was not declared in this scope
  997. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  998. ^
  999. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:57: error: ‘tmpLabels’ was not declared in this scope
  1000. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1001. ^
  1002. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:68: error: ‘numClasses’ was not declared in this scope
  1003. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1004. ^
  1005. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:48:16: error: ‘minimumLeafSize’ was not declared in this scope
  1006. weights, minimumLeafSize, minimumGainSplit);
  1007. ^
  1008. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:48:33: error: ‘minimumGainSplit’ was not declared in this scope
  1009. weights, minimumLeafSize, minimumGainSplit);
  1010. ^
  1011. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
  1012. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:64:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1013. NoRecursion>::DecisionTree(MatType&& data,
  1014. ^
  1015. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:59:1: error: redefinition of ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
  1016. DecisionTree<FitnessFunction,
  1017. ^
  1018. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:26:1: note: ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ previously declared here
  1019. DecisionTree<FitnessFunction,
  1020. ^
  1021. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:96:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1022. NoRecursion>::DecisionTree(MatType&& data,
  1023. ^
  1024. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In constructor ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’:
  1025. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:108:9: error: expected nested-name-specifier before ‘TrueMatType’
  1026. using TrueMatType = typename std::decay<MatType>::type;
  1027. ^
  1028. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:109:9: error: expected nested-name-specifier before ‘TrueLabelsType’
  1029. using TrueLabelsType = typename std::decay<LabelsType>::type;
  1030. ^
  1031. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:110:9: error: expected nested-name-specifier before ‘TrueWeightsType’
  1032. using TrueWeightsType = typename std::decay<WeightsType>::type;
  1033. ^
  1034. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:113:3: error: ‘TrueMatType’ was not declared in this scope
  1035. TrueMatType tmpData(std::forward<MatType>(data));
  1036. ^
  1037. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:114:3: error: ‘TrueLabelsType’ was not declared in this scope
  1038. TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
  1039. ^
  1040. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:115:3: error: ‘TrueWeightsType’ was not declared in this scope
  1041. TrueWeightsType tmpWeights(std::forward<WeightsType>(weights));
  1042. ^
  1043. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:15: error: ‘tmpData’ was not declared in this scope
  1044. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1045. ^
  1046. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:43: error: ‘datasetInfo’ was not declared in this scope
  1047. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1048. ^
  1049. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:56: error: ‘tmpLabels’ was not declared in this scope
  1050. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1051. ^
  1052. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:67: error: ‘numClasses’ was not declared in this scope
  1053. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1054. ^
  1055. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:7: error: ‘tmpWeights’ was not declared in this scope
  1056. tmpWeights, minimumLeafSize, minimumGainSplit);
  1057. ^
  1058. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:19: error: ‘minimumLeafSize’ was not declared in this scope
  1059. tmpWeights, minimumLeafSize, minimumGainSplit);
  1060. ^
  1061. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:36: error: ‘minimumGainSplit’ was not declared in this scope
  1062. tmpWeights, minimumLeafSize, minimumGainSplit);
  1063. ^
  1064. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
  1065. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:135:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1066. NoRecursion>::DecisionTree(MatType&& data,
  1067. ^
  1068. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:130:1: error: redefinition of ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
  1069. DecisionTree<FitnessFunction,
  1070. ^
  1071. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:91:1: note: ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ previously declared here
  1072. DecisionTree<FitnessFunction,
  1073. ^
  1074. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:217:53: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1075. NoRecursion>::DecisionTree(DecisionTree&& other) :
  1076. ^
  1077. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:212:1: error: prototype for ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>)’ does not match any in class ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>’
  1078. DecisionTree<FitnessFunction,
  1079. ^
  1080. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:188:1: error: candidates are: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&)
  1081. DecisionTree<FitnessFunction,
  1082. ^
  1083. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:167:1: error: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(size_t)
  1084. DecisionTree<FitnessFunction,
  1085. ^
  1086. In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15:0,
  1087. from streamin_extractor_music.cpp:33:
  1088. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:3: error: template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)
  1089. DecisionTree(MatType&& data,
  1090. ^
  1091. /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:3: error: template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)
  1092. DecisionTree(MatType&& data,
  1093. ^
  1094. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1095. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1096. from streamin_extractor_music.cpp:33:
  1097. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:291:50: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1098. NoRecursion>::operator=(DecisionTree&& other)
  1099. ^
  1100. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>)’:
  1101. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:293:16: error: ‘other’ was not declared in this scope
  1102. if (this == &other)
  1103. ^
  1104. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:14: error: ‘move’ is not a member of ‘std’
  1105. children = std::move(other.children);
  1106. ^
  1107. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:14: note: suggested alternative:
  1108. In file included from /usr/include/boost/move/utility.hpp:28:0,
  1109. from /usr/include/boost/optional/optional.hpp:48,
  1110. from /usr/include/boost/optional.hpp:15,
  1111. from /usr/include/boost/format/internals.hpp:20,
  1112. from /usr/include/boost/format.hpp:38,
  1113. from /usr/include/boost/math/policies/error_handling.hpp:31,
  1114. from /usr/include/boost/math/special_functions/gamma.hpp:23,
  1115. from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
  1116. from /usr/local/include/mlpack/core.hpp:291,
  1117. from streamin_extractor_music.cpp:32:
  1118. /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
  1119. move(rv<T>& x) BOOST_NOEXCEPT
  1120. ^
  1121. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1122. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1123. from streamin_extractor_music.cpp:33:
  1124. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:24: error: ‘other’ was not declared in this scope
  1125. children = std::move(other.children);
  1126. ^
  1127. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:305:24: error: ‘move’ is not a member of ‘std’
  1128. classProbabilities = std::move(other.classProbabilities);
  1129. ^
  1130. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:305:24: note: suggested alternative:
  1131. In file included from /usr/include/boost/move/utility.hpp:28:0,
  1132. from /usr/include/boost/optional/optional.hpp:48,
  1133. from /usr/include/boost/optional.hpp:15,
  1134. from /usr/include/boost/format/internals.hpp:20,
  1135. from /usr/include/boost/format.hpp:38,
  1136. from /usr/include/boost/math/policies/error_handling.hpp:31,
  1137. from /usr/include/boost/math/special_functions/gamma.hpp:23,
  1138. from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
  1139. from /usr/local/include/mlpack/core.hpp:291,
  1140. from streamin_extractor_music.cpp:32:
  1141. /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
  1142. move(rv<T>& x) BOOST_NOEXCEPT
  1143. ^
  1144. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1145. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1146. from streamin_extractor_music.cpp:33:
  1147. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:311:40: error: ‘move’ is not a member of ‘std’
  1148. NumericAuxiliarySplitInfo::operator=(std::move(other));
  1149. ^
  1150. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:311:40: note: suggested alternative:
  1151. In file included from /usr/include/boost/move/utility.hpp:28:0,
  1152. from /usr/include/boost/optional/optional.hpp:48,
  1153. from /usr/include/boost/optional.hpp:15,
  1154. from /usr/include/boost/format/internals.hpp:20,
  1155. from /usr/include/boost/format.hpp:38,
  1156. from /usr/include/boost/math/policies/error_handling.hpp:31,
  1157. from /usr/include/boost/math/special_functions/gamma.hpp:23,
  1158. from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
  1159. from /usr/local/include/mlpack/core.hpp:291,
  1160. from streamin_extractor_music.cpp:32:
  1161. /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
  1162. move(rv<T>& x) BOOST_NOEXCEPT
  1163. ^
  1164. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1165. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1166. from streamin_extractor_music.cpp:33:
  1167. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:312:44: error: ‘move’ is not a member of ‘std’
  1168. CategoricalAuxiliarySplitInfo::operator=(std::move(other));
  1169. ^
  1170. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:312:44: note: suggested alternative:
  1171. In file included from /usr/include/boost/move/utility.hpp:28:0,
  1172. from /usr/include/boost/optional/optional.hpp:48,
  1173. from /usr/include/boost/optional.hpp:15,
  1174. from /usr/include/boost/format/internals.hpp:20,
  1175. from /usr/include/boost/format.hpp:38,
  1176. from /usr/include/boost/math/policies/error_handling.hpp:31,
  1177. from /usr/include/boost/math/special_functions/gamma.hpp:23,
  1178. from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
  1179. from /usr/local/include/mlpack/core.hpp:291,
  1180. from streamin_extractor_music.cpp:32:
  1181. /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
  1182. move(rv<T>& x) BOOST_NOEXCEPT
  1183. ^
  1184. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1185. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1186. from streamin_extractor_music.cpp:33:
  1187. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
  1188. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:348:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1189. NoRecursion>::Train(MatType&& data,
  1190. ^
  1191. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’:
  1192. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:356:11: error: expected primary-expression before ‘.’ token
  1193. if (data.n_cols != labels.n_elem)
  1194. ^
  1195. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:356:22: error: ‘labels’ was not declared in this scope
  1196. if (data.n_cols != labels.n_elem)
  1197. ^
  1198. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:359:63: error: expected primary-expression before ‘.’ token
  1199. oss << "DecisionTree::Train(): number of points (" << data.n_cols << ") "
  1200. ^
  1201. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:365:9: error: expected nested-name-specifier before ‘TrueMatType’
  1202. using TrueMatType = typename std::decay<MatType>::type;
  1203. ^
  1204. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:366:9: error: expected nested-name-specifier before ‘TrueLabelsType’
  1205. using TrueLabelsType = typename std::decay<LabelsType>::type;
  1206. ^
  1207. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:369:3: error: ‘TrueMatType’ was not declared in this scope
  1208. TrueMatType tmpData(std::forward<MatType>(data));
  1209. ^
  1210. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:370:3: error: ‘TrueLabelsType’ was not declared in this scope
  1211. TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
  1212. ^
  1213. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:16: error: ‘tmpData’ was not declared in this scope
  1214. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1215. ^
  1216. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:44: error: ‘datasetInfo’ was not declared in this scope
  1217. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1218. ^
  1219. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:57: error: ‘tmpLabels’ was not declared in this scope
  1220. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1221. ^
  1222. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:68: error: ‘numClasses’ was not declared in this scope
  1223. Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1224. ^
  1225. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:375:16: error: ‘minimumLeafSize’ was not declared in this scope
  1226. weights, minimumLeafSize, minimumGainSplit);
  1227. ^
  1228. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:375:33: error: ‘minimumGainSplit’ was not declared in this scope
  1229. weights, minimumLeafSize, minimumGainSplit);
  1230. ^
  1231. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
  1232. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:391:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1233. NoRecursion>::Train(MatType&& data,
  1234. ^
  1235. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:386:6: error: redefinition of ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
  1236. void DecisionTree<FitnessFunction,
  1237. ^
  1238. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:343:6: note: ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ previously declared here
  1239. void DecisionTree<FitnessFunction,
  1240. ^
  1241. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:433:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1242. NoRecursion>::Train(MatType&& data,
  1243. ^
  1244. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’:
  1245. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:445:11: error: expected primary-expression before ‘.’ token
  1246. if (data.n_cols != labels.n_elem)
  1247. ^
  1248. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:445:22: error: ‘labels’ was not declared in this scope
  1249. if (data.n_cols != labels.n_elem)
  1250. ^
  1251. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:448:63: error: expected primary-expression before ‘.’ token
  1252. oss << "DecisionTree::Train(): number of points (" << data.n_cols << ") "
  1253. ^
  1254. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:454:9: error: expected nested-name-specifier before ‘TrueMatType’
  1255. using TrueMatType = typename std::decay<MatType>::type;
  1256. ^
  1257. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:455:9: error: expected nested-name-specifier before ‘TrueLabelsType’
  1258. using TrueLabelsType = typename std::decay<LabelsType>::type;
  1259. ^
  1260. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:456:9: error: expected nested-name-specifier before ‘TrueWeightsType’
  1261. using TrueWeightsType = typename std::decay<WeightsType>::type;
  1262. ^
  1263. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:459:3: error: ‘TrueMatType’ was not declared in this scope
  1264. TrueMatType tmpData(std::forward<MatType>(data));
  1265. ^
  1266. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:460:3: error: ‘TrueLabelsType’ was not declared in this scope
  1267. TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
  1268. ^
  1269. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:461:3: error: ‘TrueWeightsType’ was not declared in this scope
  1270. TrueWeightsType tmpWeights(std::forward<WeightsType>(weights));
  1271. ^
  1272. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:15: error: ‘tmpData’ was not declared in this scope
  1273. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1274. ^
  1275. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:43: error: ‘datasetInfo’ was not declared in this scope
  1276. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1277. ^
  1278. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:56: error: ‘tmpLabels’ was not declared in this scope
  1279. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1280. ^
  1281. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:67: error: ‘numClasses’ was not declared in this scope
  1282. Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
  1283. ^
  1284. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:7: error: ‘tmpWeights’ was not declared in this scope
  1285. tmpWeights, minimumLeafSize, minimumGainSplit);
  1286. ^
  1287. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:19: error: ‘minimumLeafSize’ was not declared in this scope
  1288. tmpWeights, minimumLeafSize, minimumGainSplit);
  1289. ^
  1290. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:36: error: ‘minimumGainSplit’ was not declared in this scope
  1291. tmpWeights, minimumLeafSize, minimumGainSplit);
  1292. ^
  1293. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
  1294. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:481:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
  1295. NoRecursion>::Train(MatType&& data,
  1296. ^
  1297. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:476:6: error: redefinition of ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
  1298. void DecisionTree<FitnessFunction,
  1299. ^
  1300. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:428:6: note: ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ previously declared here
  1301. void DecisionTree<FitnessFunction,
  1302. ^
  1303. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:531:51: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1304. const data::DatasetInfo& datasetInfo,
  1305. ^
  1306. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType&, size_t, size_t, const int&, arma::Row<long unsigned int>&, size_t, arma::rowvec&, size_t, double)’:
  1307. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:552:32: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1308. size_t bestDim = datasetInfo.Dimensionality(); // This means "no split".
  1309. ^
  1310. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:553:49: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1311. DimensionSelectionType dimensions(datasetInfo.Dimensionality());
  1312. ^
  1313. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:558:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1314. if (datasetInfo.Type(i) == data::Datatype::categorical)
  1315. ^
  1316. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:558:38: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1317. if (datasetInfo.Type(i) == data::Datatype::categorical)
  1318. ^
  1319. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:562:23: error: request for member ‘NumMappings’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1320. datasetInfo.NumMappings(i),
  1321. ^
  1322. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:571:26: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1323. else if (datasetInfo.Type(i) == data::Datatype::numeric)
  1324. ^
  1325. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:571:43: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1326. else if (datasetInfo.Type(i) == data::Datatype::numeric)
  1327. ^
  1328. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:597:30: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1329. if (bestDim != datasetInfo.Dimensionality())
  1330. ^
  1331. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:599:57: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1332. dimensionTypeOrMajorityClass = (size_t) datasetInfo.Type(bestDim);
  1333. ^
  1334. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:604:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1335. if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
  1336. ^
  1337. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:604:44: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1338. if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
  1339. ^
  1340. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:611:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
  1341. if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
  1342. ^
  1343. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:611:44: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1344. if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
  1345. ^
  1346. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType&, size_t, size_t, arma::Row<long unsigned int>&, size_t, arma::rowvec&, size_t, double)’:
  1347. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:752:51: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1348. dimensionTypeOrMajorityClass = (size_t) data::Datatype::numeric;
  1349. ^
  1350. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘size_t mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::CalculateDirection(const VecType&) const’:
  1351. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:983:13: error: ‘mlpack::data::Datatype’ is not a class or namespace
  1352. data::Datatype::categorical)
  1353. ^
  1354. In file included from streamin_extractor_music.cpp:33:0:
  1355. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp: At global scope:
  1356. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:73:28: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1357. const data::DatasetInfo& datasetInfo,
  1358. ^
  1359. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:115:28: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1360. const data::DatasetInfo& datasetInfo,
  1361. ^
  1362. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:155:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1363. const data::DatasetInfo& datasetInfo,
  1364. ^
  1365. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:197:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1366. const data::DatasetInfo& datasetInfo,
  1367. ^
  1368. /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:285:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1369. const data::DatasetInfo& datasetInfo,
  1370. ^
  1371. In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:300:0,
  1372. from streamin_extractor_music.cpp:33:
  1373. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In constructor ‘mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::RandomForest(const MatType&, const arma::Row<long unsigned int>&, size_t, size_t, size_t)’:
  1374. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:42:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
  1375. data::DatasetInfo info; // Ignored.
  1376. ^
  1377. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:44:32: error: ‘info’ was not declared in this scope
  1378. Train<false, false>(dataset, info, labels, numClasses, weights, numTrees,
  1379. ^
  1380. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
  1381. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:63:29: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1382. const data::DatasetInfo& datasetInfo,
  1383. ^
  1384. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In constructor ‘mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::RandomForest(const MatType&, const arma::Row<long unsigned int>&, size_t, const rowvec&, size_t, size_t)’:
  1385. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:97:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
  1386. data::DatasetInfo info; // Ignored by Train().
  1387. ^
  1388. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:98:31: error: ‘info’ was not declared in this scope
  1389. Train<true, false>(dataset, info, labels, numClasses, weights, numTrees,
  1390. ^
  1391. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
  1392. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:117:29: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1393. const data::DatasetInfo& datasetInfo,
  1394. ^
  1395. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In member function ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, size_t, size_t)’:
  1396. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:150:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
  1397. data::DatasetInfo info; // Ignored by Train().
  1398. ^
  1399. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:152:32: error: ‘info’ was not declared in this scope
  1400. Train<false, false>(dataset, info, labels, numClasses, weights, numTrees,
  1401. ^
  1402. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
  1403. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:171:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1404. const data::DatasetInfo& datasetInfo,
  1405. ^
  1406. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In member function ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, const rowvec&, size_t, size_t)’:
  1407. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:205:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
  1408. data::DatasetInfo info; // Ignored by Train().
  1409. ^
  1410. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:206:31: error: ‘info’ was not declared in this scope
  1411. Train<false, true>(dataset, info, labels, numClasses, weights, numTrees,
  1412. ^
  1413. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
  1414. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:225:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1415. const data::DatasetInfo& datasetInfo,
  1416. ^
  1417. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:425:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
  1418. const data::DatasetInfo& datasetInfo,
  1419. ^
  1420. In file included from /usr/include/c++/5/bits/stl_tree.h:63:0,
  1421. from /usr/include/c++/5/map:60,
  1422. from /usr/local/include/essentia/types.h:23,
  1423. from /usr/local/include/essentia/essentia.h:24,
  1424. from streamin_extractor_music.cpp:24:
  1425. /usr/include/c++/5/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]’:
  1426. /usr/include/c++/5/bits/stl_algobase.h:747:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1427. /usr/include/c++/5/bits/vector.tcc:469:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1428. /usr/include/c++/5/bits/stl_vector.h:1073:23: required from ‘void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1429. /usr/include/c++/5/bits/stl_vector.h:716:10: required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, std::vector<_Tp, _Alloc>::value_type) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1430. /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:405:5: required from ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::serialize(Archive&, unsigned int) [with Archive = boost::archive::xml_iarchive; FitnessFunction = mlpack::tree::GiniGain; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; ElemType = double]’
  1431. /usr/include/boost/serialization/access.hpp:118:9: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
  1432. /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1433. /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1434. /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1435. /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1436. /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
  1437. streamin_extractor_music.cpp:124:58: required from here
  1438. /usr/include/c++/5/bits/stl_algobase.h:701:11: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘const mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
  1439. *__first = __value;
  1440. ^
  1441. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1442. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1443. from streamin_extractor_music.cpp:33:
  1444. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
  1445. DecisionTree<FitnessFunction,
  1446. ^
  1447. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
  1448. DecisionTree<FitnessFunction,
  1449. ^
  1450. In file included from /usr/include/c++/5/bits/stl_tree.h:63:0,
  1451. from /usr/include/c++/5/map:60,
  1452. from /usr/local/include/essentia/types.h:23,
  1453. from /usr/local/include/essentia/essentia.h:24,
  1454. from streamin_extractor_music.cpp:24:
  1455. /usr/include/c++/5/bits/stl_algobase.h: In instantiation of ‘static _BI2 std::__copy_move_backward<false, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’:
  1456. /usr/include/c++/5/bits/stl_algobase.h:604:58: required from ‘_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false; _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
  1457. /usr/include/c++/5/bits/stl_algobase.h:614:5: required from ‘_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false; _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
  1458. /usr/include/c++/5/bits/stl_algobase.h:649:8: required from ‘_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
  1459. /usr/include/c++/5/bits/vector.tcc:467:5: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1460. /usr/include/c++/5/bits/stl_vector.h:1073:23: required from ‘void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1461. /usr/include/c++/5/bits/stl_vector.h:716:10: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
  1462. /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1463. /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1464. /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1465. /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1466. /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
  1467. streamin_extractor_music.cpp:124:58: required from here
  1468. /usr/include/c++/5/bits/stl_algobase.h:549:18: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
  1469. *--__result = *--__last;
  1470. ^
  1471. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1472. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1473. from streamin_extractor_music.cpp:33:
  1474. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
  1475. DecisionTree<FitnessFunction,
  1476. ^
  1477. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
  1478. DecisionTree<FitnessFunction,
  1479. ^
  1480. In file included from /usr/include/c++/5/vector:69:0,
  1481. from /usr/local/include/essentia/types.h:24,
  1482. from /usr/local/include/essentia/essentia.h:24,
  1483. from streamin_extractor_music.cpp:24:
  1484. /usr/include/c++/5/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’:
  1485. /usr/include/c++/5/bits/stl_vector.h:925:17: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
  1486. /usr/local/include/mlpack/core/boost_backport/collections_load_imp.hpp:96:9: required from ‘typename boost::disable_if<boost::serialization::detail::is_default_constructible<typename T::value_type>, void>::type boost::serialization::stl::collection_load_impl(Archive&, T&, boost::serialization::collection_size_type, boost::serialization::item_version_type) [with Archive = boost::archive::xml_iarchive; T = std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > >; typename boost::disable_if<boost::serialization::detail::is_default_constructible<typename T::value_type>, void>::type = void]’
  1487. /usr/local/include/mlpack/core/boost_backport/vector.hpp:91:30: required from ‘void boost::serialization::load(Archive&, std::vector<U, Allocator>&, unsigned int, mpl_::false_) [with Archive = boost::archive::xml_iarchive; U = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; Allocator = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; mpl_::false_ = mpl_::bool_<false>]’
  1488. /usr/local/include/mlpack/core/boost_backport/vector.hpp:159:9: required from ‘void boost::serialization::load(Archive&, std::vector<U, Allocator>&, unsigned int) [with Archive = boost::archive::xml_iarchive; U = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; Allocator = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >]’
  1489. /usr/include/boost/serialization/split_free.hpp:58:13: required from ‘static void boost::serialization::free_loader<Archive, T>::invoke(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive; T = std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > >]’
  1490. /usr/include/boost/serialization/split_free.hpp:74:18: [ skipping 22 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
  1491. /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1492. /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
  1493. /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1494. /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
  1495. /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
  1496. streamin_extractor_music.cpp:124:58: required from here
  1497. /usr/include/c++/5/bits/vector.tcc:343:16: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
  1498. *__position = __x_copy;
  1499. ^
  1500. In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
  1501. from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
  1502. from streamin_extractor_music.cpp:33:
  1503. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
  1504. DecisionTree<FitnessFunction,
  1505. ^
  1506. /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
  1507. DecisionTree<FitnessFunction,
  1508. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement