Install error OpenCV | Visualize the Invisible

Visualize the Invisible

データとAIを使って、混沌とした世界を「見える化」したい。

libhdf-5 depends on libhdf-5-7

--> update the libhdf5 description and solved the problem.


opencv error
kimihiko@kimihiko-NG-N-i4400:~/resource$ sudo tail -f /usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeError.log
/usr/bin/gcc    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden  -O3 -DNDEBUG   -o CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o   -c /usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:25: fatal error: sys/videoio.h: そのようなファイルやディレクトリはありません
compilation terminated.
CMakeFiles/cmTC_25ac6.dir/build.make:65: ターゲット 'CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o' のレシピで失敗しました
make[1]: *** [CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o] エラー 1
make[1]: ディレクトリ '/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp' から出ます
Makefile:126: ターゲット 'cmTC_25ac6/fast' のレシピで失敗しました
make: *** [cmTC_25ac6/fast] エラー 2

Referred to the site below, add the option



https://qiita.com/-D WITH_V4L=OFF_-_-_-_-_/items/8131b1b2ddaef6b0d18d


with -D WITH_V4L=OFF, it is possible to avoid.


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeError.log".


make: *** [cmTC_25ac6/fast] エラー







libhdf-5 depends on libhdf-5-7

--> update the libhdf5 description and solved the problem.


opencv error
kimihiko@kimihiko-NG-N-i4400:~/resource$ sudo tail -f /usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeError.log
/usr/bin/gcc    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffast-math -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden  -O3 -DNDEBUG   -o CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o   -c /usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:25: fatal error: sys/videoio.h: そのようなファイルやディレクトリはありません
compilation terminated.
CMakeFiles/cmTC_25ac6.dir/build.make:65: ターゲット 'CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o' のレシピで失敗しました
make[1]: *** [CMakeFiles/cmTC_25ac6.dir/CheckIncludeFile.c.o] エラー 1
make[1]: ディレクトリ '/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeTmp' から出ます
Makefile:126: ターゲット 'cmTC_25ac6/fast' のレシピで失敗しました
make: *** [cmTC_25ac6/fast] エラー 2

Referred to the site below, add the option



https://qiita.com/-D WITH_V4L=OFF_-_-_-_-_/items/8131b1b2ddaef6b0d18d


with -D WITH_V4L=OFF, it is possible to avoid.


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeOutput.log".
See also "/usr/local/src/opencv-3.1.0/release/CMakeFiles/CMakeError.log".


make: *** [cmTC_25ac6/fast] エラー