How can I resolve conflicting declaration 'typedef uint32_t uint' ?

asked 2019-11-29 14:13:07 -0500

TakiEddine gravatar image

I'm using OpenCV 3.2.0 compiled for eclipse using MinGW compiler. When I try to cross-compile a c++ OpenCV code for ARM architecture using GCC ARM compiler I'm getting this error C:\openCV\build_opencv\install\include/opencv2/core/hal/interface.h:35:28: error: conflicting declaration 'typedef uint32_t uint' How can I resolve this problem, is it a bug in OpenCV ?

edit retag flag offensive close merge delete

Comments

1

3,2,0 -- oh noes, that's as old as the moon

(noone will know, and noone is interested in solving an outdated problem)

berak gravatar imageberak ( 2019-11-29 15:34:16 -0500 )edit
1

please either try with latest releases, or master branch, else we cannot help you

berak gravatar imageberak ( 2019-11-29 15:41:59 -0500 )edit
1

Ok, I installed OpenCV 4.12 I'm getting this new error error: 'Mutex' is not a member of 'cv' and a bench of other errors related to it when I run a simple applications link text, what should I do now to resolve the mutex errors ?

TakiEddine gravatar imageTakiEddine ( 2019-11-30 15:20:04 -0500 )edit