Guest User

Untitled

a guest
Jun 22nd, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Macbook-Pro:tests wyatt$ g++-7 network_test.cpp -o test -std=c++11 -lmlpack -larmadillo -lboost_serialization -lboost_program_options
  2. network_test.cpp: In function 'void BuildVanillaNetwork(MatType&, MatType&, MatType&, MatType&, size_t, size_t, size_t, double)':
  3. network_test.cpp:74:3: error: there are no arguments to 'BOOST_REQUIRE_LE' that depend on a template parameter, so a declaration of 'BOOST_REQUIRE_LE' must be available [-fpermissive]
  4. BOOST_REQUIRE_LE(classificationError, classificationErrorThreshold);
  5. ^~~~~~~~~~~~~~~~
  6. network_test.cpp:74:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  7. network_test.cpp: In instantiation of 'void BuildVanillaNetwork(MatType&, MatType&, MatType&, MatType&, size_t, size_t, size_t, double) [with MatType = arma::Mat<double>; size_t = long unsigned int]':
  8. network_test.cpp:115:67: required from here
  9. network_test.cpp:74:19: error: 'BOOST_REQUIRE_LE' was not declared in this scope
  10. BOOST_REQUIRE_LE(classificationError, classificationErrorThreshold);
  11. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. network_test.cpp:74:19: note: suggested alternative: 'BOOST_BINARY_LL'
  13. BOOST_REQUIRE_LE(classificationError, classificationErrorThreshold);
  14. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. BOOST_BINARY_LL
Advertisement
Add Comment
Please, Sign In to add comment