Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Jun 1st, 2017 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. reza@ubuntu:~/Develop/caffe$ make everything -j $(nproc)
  2. MEX matlab/+caffe/private/caffe_.cpp
  3. Building with 'g++'.
  4. Warning: You are using gcc version '4.8.4'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'. For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release.
  5. Warning: You are using gcc version '4.8.4-2ubuntu1~14.04.3)'. The version of gcc is not supported. The version currently supported with MEX is '4.7.x'. For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release.
  6. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp: In function ‘void delete_solver(int, mxArray**, int, const mxArray**)’:
  7. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:3: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
  8.    }), solvers_.end());
  9.    ^
  10. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:4: error: no matching function for call to ‘remove_if(std::vector<boost::shared_ptr<caffe::Solver<float> > >::iterator, std::vector<boost::shared_ptr<caffe::Solver<float> > >::iterator, delete_solver(int, mxArray**, int, const mxArray**)::__lambda0)’
  11.    }), solvers_.end());
  12.     ^
  13. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:4: note: candidate is:
  14. In file included from /usr/include/c++/4.8/algorithm:62:0,
  15.                  from ./include/caffe/blob.hpp:4,
  16.                  from ./include/caffe/caffe.hpp:7,
  17.                  from /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:18:
  18. /usr/include/c++/4.8/bits/stl_algo.h:1134:5: note: template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)
  19.      remove_if(_ForwardIterator __first, _ForwardIterator __last,
  20.      ^
  21. /usr/include/c++/4.8/bits/stl_algo.h:1134:5: note:   template argument deduction/substitution failed:
  22. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp: In substitution of ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator<boost::shared_ptr<caffe::Solver<float> >*, std::vector<boost::shared_ptr<caffe::Solver<float> > > >; _Predicate = delete_solver(int, mxArray**, int, const mxArray**)::__lambda0]’:
  23. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:4:   required from here
  24. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:4: error: template argument for ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)’ uses local type ‘delete_solver(int, mxArray**, int, const mxArray**)::__lambda0’
  25.    }), solvers_.end());
  26.     ^
  27. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:208:4: error:   trying to instantiate ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)’
  28. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp: In function ‘void delete_net(int, mxArray**, int, const mxArray**)’:
  29. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:3: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
  30.    }), nets_.end());
  31.    ^
  32. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:4: error: no matching function for call to ‘remove_if(std::vector<boost::shared_ptr<caffe::Net<float> > >::iterator, std::vector<boost::shared_ptr<caffe::Net<float> > >::iterator, delete_net(int, mxArray**, int, const mxArray**)::__lambda1)’
  33.    }), nets_.end());
  34.     ^
  35. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:4: note: candidate is:
  36. In file included from /usr/include/c++/4.8/algorithm:62:0,
  37.                  from ./include/caffe/blob.hpp:4,
  38.                  from ./include/caffe/caffe.hpp:7,
  39.                  from /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:18:
  40. /usr/include/c++/4.8/bits/stl_algo.h:1134:5: note: template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)
  41.      remove_if(_ForwardIterator __first, _ForwardIterator __last,
  42.      ^
  43. /usr/include/c++/4.8/bits/stl_algo.h:1134:5: note:   template argument deduction/substitution failed:
  44. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp: In substitution of ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator<boost::shared_ptr<caffe::Net<float> >*, std::vector<boost::shared_ptr<caffe::Net<float> > > >; _Predicate = delete_net(int, mxArray**, int, const mxArray**)::__lambda1]’:
  45. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:4:   required from here
  46. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:4: error: template argument for ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)’ uses local type ‘delete_net(int, mxArray**, int, const mxArray**)::__lambda1’
  47.    }), nets_.end());
  48.     ^
  49. /home/reza/Develop/caffe/matlab/+caffe/private/caffe_.cpp:293:4: error:   trying to instantiate ‘template<class _FIter, class _Predicate> _FIter std::remove_if(_FIter, _FIter, _Predicate)’
  50.  
  51. make: *** [matlab/+caffe/private/caffe_.mexa64] Error 255
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top