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 ?