title: opencv-3.0.0 install error on centos7
body: <p>I download opencv-3.0.0.zip and unzip it , then execute：</p>
  
  <pre><code> #cd opencv-3.0.0/
   #mkdir build
   #cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=./build -D  WITH_IPP=OFF ../opencv-3.0.0
   #make -j8
  </code></pre>
  
  <p>and it make some error :</p>
  
  <pre><code> ……
  
  [ 49%] Building CXX object 
  modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o
  In file included from /usr/include/jasper/jasper.h:77:0,
                   from /home/apps/zhimin.feng/software/opencv-3.0.0/modules/imgcodecs/src/grfmt_jpeg2000.cpp:59:
  /usr/include/jasper/jas_math.h: In function ‘bool jas_safe_size_mul(size_t, size_t, size_t*)’:
  /usr/include/jasper/jas_math.h:143:15: error: ‘SIZE_MAX’ was not declared in this scope
  if (x &amp;&amp; y &gt; SIZE_MAX / x) {
             ^
  /usr/include/jasper/jas_math.h: In function ‘bool jas_safe_size_add(size_t, size_t, size_t*)’:
  /usr/include/jasper/jas_math.h:170:10: error: ‘SIZE_MAX’ was not declared in this scope
   if (y &gt; SIZE_MAX - x) {
        ^
  make[2]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o] Error 1
  make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  </code></pre>
  
  <p>I might have install all the dependency ,but it still occur the error .</p>