Gsteamer conflicting declaration in opencv

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Gsteamer conflicting declaration in opencv

748件の閲覧回数
ilya1
Contributor I

Hello, I am building Yocto 2.5(Sumo) with Gstreamer 1.14 and OpenCV 3.4.5

I am getting this error while compiling Gstreamer:

build_xwayland_mq/tmp/work/aarch64-mx8m-poky-linux/gstreamer1.0-plugins-bad/1.14.4.imx-r0/recipe-sysroot/usr/include/opencv2/imgproc/types_c.h:445:21: error: conflicting declaration of C function 'CvMoments cvMoments(const cv::Moments&)'
 CV_INLINE CvMoments cvMoments(const cv::Moments& m)

same error in imgproc_c.h:360:13

I saw someone solved this by building with OpenCV 4 instead, but we need OpenCV 3.4.5 for our own project.

Did anyone encounter this issue or know how to resolve it?

Thanks.

ラベル(3)
0 件の賞賛
返信
1 返信

688件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Ilya,

The NXP realease includes opencv 3.4.2 don´t know about future releases, but your problem looks like a bad opencv installation.

Regards

0 件の賞賛
返信