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 error while running script.sh #1

Open
ArisTing opened this issue Jan 31, 2021 · 0 comments
Open

some error while running script.sh #1

ArisTing opened this issue Jan 31, 2021 · 0 comments

Comments

@ArisTing
Copy link

System information

  • OpenCV 2.4.9
  • gcc 5.4.0

When trying to run script.sh, the following error comes up:
I think it's compiler version or opencv version? So what's your version of OpenCV?
thanks.

bv.cpp: In static member function ‘static bool pyopencvVecConverter<_Tp>::to(PyObject*, std::vector<_RealType>&, ArgInfo)’: bv.cpp:1291:20: error: ‘traits’ has not been declared int type = traits::Type<_Tp>::value; ^ bv.cpp:1291:36: error: expected primary-expression before ‘>’ token int type = traits::Type<_Tp>::value; ^ bv.cpp:1291:37: error: ‘::value’ has not been declared int type = traits::Type<_Tp>::value; ^ bv.cpp: In static member function ‘static PyObject* pyopencvVecConverter<_Tp>::from(const std::vector<_RealType>&)’: bv.cpp:1374:20: error: ‘traits’ has not been declared int type = traits::Type<_Tp>::value; ^ bv.cpp:1374:36: error: expected primary-expression before ‘>’ token int type = traits::Type<_Tp>::value; ^ bv.cpp:1374:37: error: ‘::value’ has not been declared int type = traits::Type<_Tp>::value; ^ bv.cpp: At global scope: bv.cpp:1685:12: warning: ‘int convert_to_char(PyObject*, char*, const char*)’ defined but not used [-Wunused-function] static int convert_to_char(PyObject *o, char *dst, const char *name = "no_name") ^ src/imgMap.cpp: In member function ‘void kos::Obj3D::rotateObj(double, double, double)’: src/imgMap.cpp:67:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i{0}; i<this->pts3d.size();i++) ^ src/imgMap.cpp: In member function ‘void kos::vcam::render(cv::Mat, cv::Mat)’: src/imgMap.cpp:132:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(size_t i{0};i<pts3d1.rows;i++)

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