且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C包装器中的OpenCv错误,导致读入:QNativeImage:无法附加到共享内存段

更新时间:2023-09-13 17:42:52

C ++对大小写敏感,opencv使用string作为其参数,但是使用String.我认为string和String是不同的东西.请参考下面的函数原型:

C++ is capital sensitive, opencv use string as its parameter, but you use String. I think string and String are different thing. Refer function prototype below:

static void*
imread_( const string& filename, int flags, int hdrtype, Mat* mat=0 )

Mat imread( const string& filename, int flags )