Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some errors about licvd #99

Open
TengFeiHan0 opened this issue Jul 9, 2018 · 0 comments
Open

some errors about licvd #99

TengFeiHan0 opened this issue Jul 9, 2018 · 0 comments

Comments

@TengFeiHan0
Copy link

TengFeiHan0 commented Jul 9, 2018

when I intended to run the tum_ardrone package, I got these unexpected errors.
I was guessing it probably derived from the licvd, but I don't know how the fix it?

cvd_src/image_io/cvdimage.cxx:864:53: error: reference to ‘array’ is ambiguous
 void WritePimpl::write_hist(std::ostream& os, const array<size_t, 256>& h)
                                                     ^~~~~
In file included from /usr/include/c++/6/tuple:39:0,
                 from /usr/include/c++/6/functional:55,
                 from /usr/include/c++/6/memory:79,
                 from ./cvd/internal/io/cvdimage.h:27,
                 from cvd_src/image_io/cvdimage.cxx:24:
/usr/include/c++/6/array:90:12: note: candidates are: template<class _Tp, long unsigned int _Nm> struct std::array
     struct array
            ^~~~~
In file included from cvd_src/image_io/cvdimage.cxx:46:0:
/usr/include/c++/6/tr1/array:57:12: note:                 template<class _Tp, long unsigned int _Nm> struct std::tr1::array
     struct array
            ^~~~~
cvd_src/image_io/cvdimage.cxx:864:58: error: expected ‘,’ or ‘...’ before ‘<’ token
 void WritePimpl::write_hist(std::ostream& os, const array<size_t, 256>& h)
                                                          ^
cvd_src/image_io/cvdimage.cxx: In member function ‘void CVD::CVDimage::WritePimpl::write_hist(std::ostream&, int)’:
cvd_src/image_io/cvdimage.cxx:869:31: error: ‘h’ was not declared in this scope
  for (unsigned int i = 0; i < h.size(); i++) {
                               ^
cvd_src/image_io/cvdimage.cxx: In destructor ‘CVD::CVDimage::WritePimpl::~WritePimpl()’:
cvd_src/image_io/cvdimage.cxx:898:2: error: reference to ‘array’ is ambiguous
  array<size_t, 256> h;
  ^~~~~
In file included from /usr/include/c++/6/tuple:39:0,
                 from /usr/include/c++/6/functional:55,
                 from /usr/include/c++/6/memory:79,
                 from ./cvd/internal/io/cvdimage.h:27,
                 from cvd_src/image_io/cvdimage.cxx:24:
/usr/include/c++/6/array:90:12: note: candidates are: template<class _Tp, long unsigned int _Nm> struct std::array
     struct array
            ^~~~~
In file included from cvd_src/image_io/cvdimage.cxx:46:0:
/usr/include/c++/6/tr1/array:57:12: note:                 template<class _Tp, long unsigned int _Nm> struct std::tr1::array
     struct array
            ^~~~~
cvd_src/image_io/cvdimage.cxx:898:14: error: expected primary-expression before ‘,’ token
  array<size_t, 256> h;
              ^
cvd_src/image_io/cvdimage.cxx:898:21: error: ‘h’ was not declared in this scope
  array<size_t, 256> h;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant