title: Unable to build OpenCV from source
body: <p>I tried following <a href="http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html" rel="nofollow">these instructions</a> to build OpenCV from the source code, but it keeps failing at about 17%. I created a temporary build directory, ran <code>cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..</code>
  followed by <code>make</code> when the following error pops up.</p>
  
  <p>I tried building this inside of a clean build directory, running it as sudo, and deleting the CMakeCache.txt file (someone having a similair error said it helped).</p>
  
  <pre><code>[ 17%] Built target opencv_hal_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_hal
  [ 17%] Built target opencv_hal
  [ 17%] Built target opencv_ts_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_ts
  [ 17%] Built target opencv_core_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_core
  [ 17%] Built target opencv_core
  [ 17%] Built target opencv_imgproc_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_imgproc
  [ 17%] Built target opencv_imgproc
  [ 17%] Built target opencv_imgcodecs_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_imgcodecs
  [ 17%] Built target opencv_imgcodecs
  [ 17%] Built target opencv_videoio_pch_dephelp
  [ 17%] Built target pch_Generate_opencv_videoio
  [ 17%] Linking CXX shared library ../../lib/libopencv_videoio.so
  modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:285: recipe for target 'lib/libopencv_videoio.so.3.0.0' failed
  CMakeFiles/Makefile2:4401: recipe for target 'modules/videoio/CMakeFiles/opencv_videoio.dir/all' failed
  Makefile:160: recipe for target 'all' failed
  </code></pre>