You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++)
The text was updated successfully, but these errors were encountered:
System information
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++)
The text was updated successfully, but these errors were encountered: