minimal gcc version required for opencv3.0 ? [closed]

asked 2014-09-10 08:02:48 -0500

berak gravatar image

updated 2014-09-10 08:04:06 -0500

trying to compile 3.0 with IPP and opencl on linux,

/app/opencv/modules/core/src/ocl.cpp: In member function 'void cv::ocl::Image2D:
:Impl::init(const cv::UMat&, bool, bool)':
/app/opencv/modules/core/src/ocl.cpp:4656: error: #pragma GCC diagnostic not all
owed inside functions

compiler is:

gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3

too old ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2017-09-06 17:05:51.380740

Comments

1

Yes, definitely. I suggest gcc 4.9.1 or at least gcc 4.8.3.

tuannhtn gravatar imagetuannhtn ( 2014-09-10 08:12:54 -0500 )edit