OpenCV3.0.0のビルド
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
*概要 [#c5b77e85]
-2015-06-04(日本時間)にOpenCV 3.0.0 が%%ようやく、やっと%...
-Windows で OpenCV 3.0.0 をビルドする
-ターゲットはWindows 7 (64bit)
-CMake のバージョンは3.0.1
-Visual Studio 2012 でビルド
-CUDA は5.5
-Gitでソースコードを取ってくる
**ソースコードのダウンロード [#p034892d]
-git でリポジトリをクローンしてくる。URL は git://code.op...
git.exe clone --progress -v "git://code.opencv.org/openc...
#ref(OpenCV300_000_clone.png)
-リポジトリがcloneされるのを待つ
#ref(OpenCV300_001_clone.png)
-今回は542431msかかった
#ref(OpenCV300_002_cloneDone.png)
-取得したリポジトリから、ブランチの3.0.0にスイッチする
-今回はWindowsのTortoiseGitを使ったので、添付図の様に、To...
#ref(OpenCV2.4.10のビルド/switch_checkout_git.png)
-Switch To で Branch の横の参照ボタンをクリックし、Browse...
#ref(OpenCV2.4.10のビルド/branch_select.png)
-tags から、3.0.0を選択
#ref(OpenCV300_003_tags.png)
-Switchされるのを待つ(172ms)
#ref(OpenCV300_004_switch.png)
**ビルド前準備 [#g792a183]
-cmakeでソリューションファイルを作成する
-cmake(GUI版を起動する)
-Sourceの場所を指定する
--今回はD:\OpenCV300
-Buildの場所を指定する
--今回は D:\OpenCV300\build を指定する。
-Configureボタンを押す
#ref(OpenCV300_005_cmakeConfigure.png)
-D:\OpenCV300\build が無いと文句を言われるので、ディレク...
#ref(OpenCV300_006_makeBuild.png)
-コンパイラのバージョンを聞かれるので、Visual Studio 2012...
--違うコンパイラを指定する場合はここでターゲットを変更する
--Visual Studio 2012 は VS11なので注意
#ref(OpenCV300_007_compilerChoice.png)
-Configureボタンを押す
-ガリガリCMakeが動いて、オプション一覧及び有効/無効が表示...
#ref(OpenCV300_008_configureDone.png)
**GPUのアーキテクチャを指定する [#u28cd228]
-[[OpenCV2.4.10.1のビルド]]の時と同じように、GPUのアーキ...
-詳細は[[OpenCV2.4.10.1のビルド#CUDAのアーキテクチャって...
-CUDA_ARCH_BIN と CUDA_ARCH_PTX という欄がオプション欄内...
#ref(OpenCV300_009_gpuArchitectureBefore.png)
-ここの欄を
--CUDA_ARCH_BIN → 3.0
--CUDA_ARCH_PTX → 空欄
-にする
#ref(OpenCV300_010_gpuArchitectureAftter.png)
**OpenCVのサンプル群 [#p7b73c04]
-今回はOpenCVのサンプルを試すためにも、Cのサンプル群もイ...
-INSTALL_C_EXAMPLESにチェックをつける
#ref(OpenCV300_011_installExamples.png)
-Generateボタンを押す
-指定したディレクトリ内に OpenCV.sln ができている
#ref(OpenCV300_012_solutionFile.png)
**ソースコードのビルド [#r89aedea]
-前のステップまでで生成されたOpenCV.sln を Visual Studio ...
-大量にプロジェクトが読み込まれるので、バッチビルドする。
-ビルド(B)→バッチビルド(T)でバッチビルド画面を出す
-バッチビルドでALL_BUILDのdebug/release両方を選択する
#ref(OpenCV300_013_batchBuild.png)
-今回はビルドに2時間39分要した
**OpenCVビルド時のコンフィグなど [#c66bd8ae]
***cvconfig.h [#w5b73368]
#geshi(c++){{
/* OpenCV compiled as static or dynamic libs */
#define BUILD_SHARED_LIBS
/* Compile for 'real' NVIDIA GPU architectures */
#define CUDA_ARCH_BIN " 30"
/* Create PTX or BIN for 1.0 compute capability */
/* #undef CUDA_ARCH_BIN_OR_PTX_10 */
/* NVIDIA GPU features are used */
#define CUDA_ARCH_FEATURES " 30"
/* Compile for 'virtual' NVIDIA PTX architectures */
#define CUDA_ARCH_PTX ""
/* AVFoundation video libraries */
/* #undef HAVE_AVFOUNDATION */
/* V4L capturing support */
/* #undef HAVE_CAMV4L */
/* V4L2 capturing support */
/* #undef HAVE_CAMV4L2 */
/* Carbon windowing environment */
/* #undef HAVE_CARBON */
/* AMD's Basic Linear Algebra Subprograms Library*/
/* #undef HAVE_CLAMDBLAS */
/* AMD's OpenCL Fast Fourier Transform Library*/
/* #undef HAVE_CLAMDFFT */
/* Clp support */
/* #undef HAVE_CLP */
/* Cocoa API */
/* #undef HAVE_COCOA */
/* C= */
/* #undef HAVE_CSTRIPES */
/* NVidia Cuda Basic Linear Algebra Subprograms (BLAS) AP...
/* #undef HAVE_CUBLAS */
/* NVidia Cuda Runtime API*/
#define HAVE_CUDA
/* NVidia Cuda Fast Fourier Transform (FFT) API*/
#define HAVE_CUFFT
/* IEEE1394 capturing support */
/* #undef HAVE_DC1394 */
/* IEEE1394 capturing support - libdc1394 v2.x */
/* #undef HAVE_DC1394_2 */
/* DirectX */
#define HAVE_DIRECTX
#define HAVE_D3D11
#define HAVE_D3D10
#define HAVE_D3D9
/* DirectShow Video Capture library */
#define HAVE_DSHOW
/* Eigen Matrix & Linear Algebra Library */
/* #undef HAVE_EIGEN */
/* FFMpeg video library */
#define HAVE_FFMPEG
/* ffmpeg's libswscale */
#define HAVE_FFMPEG_SWSCALE
/* ffmpeg in Gentoo */
#define HAVE_GENTOO_FFMPEG
/* Geospatial Data Abstraction Library */
/* #undef HAVE_GDAL */
/* GStreamer multimedia framework */
/* #undef HAVE_GSTREAMER */
/* GTK+ 2.0 Thread support */
/* #undef HAVE_GTHREAD */
/* GTK+ 2.x toolkit */
/* #undef HAVE_GTK */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Intel Perceptual Computing SDK library */
/* #undef HAVE_INTELPERC */
/* Intel Integrated Performance Primitives */
#define HAVE_IPP
#define HAVE_IPP_ICV_ONLY
/* Intel IPP Async */
/* #undef HAVE_IPP_A */
/* JPEG-2000 codec */
#define HAVE_JASPER
/* IJG JPEG codec */
#define HAVE_JPEG
/* libpng/png.h needs to be included */
/* #undef HAVE_LIBPNG_PNG_H */
/* V4L/V4L2 capturing support via libv4l */
/* #undef HAVE_LIBV4L */
/* Microsoft Media Foundation Capture library */
/* #undef HAVE_MSMF */
/* NVidia Video Decoding API*/
/* #undef HAVE_NVCUVID */
/* OpenCL Support */
#define HAVE_OPENCL
/* #undef HAVE_OPENCL_STATIC */
/* #undef HAVE_OPENCL_SVM */
/* OpenEXR codec */
#define HAVE_OPENEXR
/* OpenGL support*/
/* #undef HAVE_OPENGL */
/* OpenNI library */
/* #undef HAVE_OPENNI */
/* OpenNI library */
/* #undef HAVE_OPENNI2 */
/* PNG codec */
#define HAVE_PNG
/* Qt support */
/* #undef HAVE_QT */
/* Qt OpenGL support */
/* #undef HAVE_QT_OPENGL */
/* QuickTime video libraries */
/* #undef HAVE_QUICKTIME */
/* QTKit video libraries */
/* #undef HAVE_QTKIT */
/* Intel Threading Building Blocks */
/* #undef HAVE_TBB */
/* TIFF codec */
#define HAVE_TIFF
/* Unicap video capture library */
/* #undef HAVE_UNICAP */
/* Video for Windows support */
#define HAVE_VFW
/* V4L2 capturing support in videoio.h */
/* #undef HAVE_VIDEOIO */
/* Win32 UI */
#define HAVE_WIN32UI
/* XIMEA camera support */
/* #undef HAVE_XIMEA */
/* Xine video library */
/* #undef HAVE_XINE */
/* Define if your processor stores words with the most si...
first (like Motorola and SPARC, unlike Intel and VAX)....
/* #undef WORDS_BIGENDIAN */
/* gPhoto2 library */
/* #undef HAVE_GPHOTO2 */
}}
***version_string.inc [#w5ba36af]
General configuration for OpenCV 3.0.0 =================...
Version control: 3.0.0
Platform:
Host: Windows 6.1 AMD64
CMake: 3.0.1
CMake generator: Visual Studio 11 2012
CMake build tool: C:/Windows/Microsoft.NE...
MSVC: 1700
C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/Program Files (x86)/...
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 ...
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 ...
C Compiler: C:/Program Files (x86)/...
C flags (Release): /DWIN32 /D_WINDOWS /W3 ...
C flags (Debug): /DWIN32 /D_WINDOWS /W3 ...
Linker flags (Release): /machine:X86 /INCREME...
Linker flags (Debug): /machine:X86 /debug /...
Precompiled headers: YES
Extra dependencies: comctl32 gdi32 ole32 se...
3rdparty dependencies: zlib libjpeg libwebp li...
OpenCV modules:
To be built: hal cudev core cudaarit...
Disabled: world
Disabled by dependency: -
Unavailable: java python2 python3 viz
Windows RT support: NO
GUI:
QT: NO
Win32 UI: YES
OpenGL support: NO
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.8)
JPEG: build (ver 90)
WEBP: build (ver 0.3.1)
PNG: build (ver 1.5.12)
TIFF: build (ver 42 - 4.0.2)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
GDAL: NO
Video I/O:
Video for Windows: YES
DC1394 1.x: NO
DC1394 2.x: NO
FFMPEG: YES (prebuilt binaries)
codec: YES (ver 55.18.102)
format: YES (ver 55.12.100)
util: YES (ver 52.38.100)
swscale: YES (ver 2.3.100)
resample: NO
gentoo-style: YES
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
DirectShow: YES
Media Foundation: NO
XIMEA: NO
Intel PerC: NO
Other third-party libraries:
Use IPP: 8.2.1 [8.2.1]
at: D:/OpenCV300/3rdparty/i...
Use IPP Async: NO
Use Eigen: NO
Use TBB: NO
Use OpenMP: NO
Use GCD NO
Use Concurrency YES
Use C=: NO
Use pthreads for parallel for:
NO
Use Cuda: YES (ver 5.5)
Use OpenCL: YES
NVIDIA CUDA
Use CUFFT: YES
Use CUBLAS: NO
USE NVCUVID: NO
NVIDIA GPU arch: 30
NVIDIA PTX archs:
Use fast math: NO
OpenCL:
Version: dynamic
Include path: D:/OpenCV300/3rdparty/i...
Use AMDFFT: NO
Use AMDBLAS: NO
Python 2:
Interpreter: NO
Python 3:
Interpreter: C:/Python33/python.exe ...
Python (for build): NO
Java:
ant: NO
JNI: C:/Program Files (x86)/...
Java wrappers: NO
Java tests: NO
Matlab:
mex: NO
Documentation:
Doxygen: NO
PlantUML: NO
Tests and samples:
Tests: YES
Performance tests: YES
C/C++ Examples: NO
Install path: D:/OpenCV300/build/inst...
cvconfig.h is in: D:/OpenCV300/build
--------------------------------------------------------...
**ビルドに要した時間Top10 [#u150c03b]
-アーキテクチャを限定したおかげでずいぶん短くなった
-[[2.4系列から比べて>OpenCV2.4.10.1のビルド]]gpuモジュー...
-[[2.4系列でアーキテクチャを絞った場合>OpenCV2.4.10.1のビ...
|dllの名前|所要時間(min)|
|opencv_cudafilters300.dll|18|
|opencv_video300.dll|18|
|opencv_cudaarithm300.dll|12|
|opencv_flann300.dll|12|
|opencv_videostab300.dll|12|
|opencv_cudawarping300.dll|7|
|opencv_cudafeatures2d300.dll|6|
|opencv_cudaimgproc300.dll|5|
|opencv_cudalegacy300.dll|5|
|opencv_cudastereo300.dll|5|
-サンプルプログラムでも、ビルドに要する時間は短くなっている
|exeの名前|所要時間(min)|
|opencv_perf_cudaoptflow.exe|7|
|opencv_test_cudev.exe|7|
|opencv_perf_cudastereo.exe|6|
|opencv_test_core.exe|2|
|opencv_test_cudawarping.exe|1|
|opencv_test_highgui.exe|1|
|opencv_test_ml.exe|1|
|opencv_test_shape.exe|1|
|opencv_test_video.exe|1|
|opencv_perf_core.exe|1|
*概要(Linux版のビルド) [#i7f93980]
-Linux で OpenCV 3.0.0 をビルドする
-ターゲットはUbuntu 12.04.5 (64bit)
-CMake のバージョンは2.8,7
-Gitでソースコードを取ってくる
**ソースコードのダウンロード [#ef9f76ef]
-gitでソースコードを取得してくる
-リポジトリの URL は git://code.opencv.org/opencv.git
git clone git://code.opencv.org/opencv.git opencv
-で取得(クローン)してくる
#geshi(bash){{
tomoaki@tomoaki-laptop:~$ time git clone git://code.openc...
Cloning into 'opencv'...
remote: Counting objects: 176319, done.
remote: Compressing objects: 100% (41255/41255), done.
remote: Total 176319 (delta 127200), reused 172093 (delta...
Receiving objects: 100% (176319/176319), 361.87 MiB | 598...
Resolving deltas: 100% (127200/127200), done.
real 13m21.307s
user 1m21.981s
sys 0m18.357s
tomoaki@tomoaki-laptop:~$ cd opencv/
tomoaki@tomoaki-laptop:~/opencv$ git tag -l
2.2
2.3.0
2.3.1
2.4.0
2.4.1
2.4.10
2.4.10.1
2.4.10.2
2.4.11
2.4.2
2.4.3
2.4.3-rc
2.4.3.1
2.4.3.2
2.4.4
2.4.4-beta
2.4.5
2.4.6
2.4.6.1
2.4.6.2
2.4.6.2-rc1
2.4.6.2r2
2.4.6.2r3
2.4.7
2.4.7-rc1
2.4.7.1
2.4.7.2
2.4.8
2.4.8.1
2.4.8.2
2.4.8.3
2.4.9
2.4.9.1
3.0-ocl-tech-preview
3.0-ocl-tp2
3.0.0
3.0.0-alpha
3.0.0-beta
3.0.0-rc1
carma_release.0.0.1
perf4au
}}
-タグを見てみると、alphaもbetaもついていない3.0.0というタ...
-3.0.0をチェックアウトする
git checkout 3.0.0
**ビルド前準備 [#df5b1456]
-CMakeでMakefileを作る
cmake .
**ソースコードのビルド [#q044e1d7]
-Virtual Machine上でシングルコアでビルド
-21分 でビルドが終了した
//[100%] Built target opencv_annotation
//
//real 21m26.337s
//user 18m46.339s
//sys 2m21.379s
//tomoaki@ubuntu:~/opencv$ sudo make install
**OpenCVビルド時のコンフィグなど [#o0031692]
***cvconfig.h [#wba5c029]
#geshi(c++){{
/* OpenCV compiled as static or dynamic libs */
#define BUILD_SHARED_LIBS
/* Compile for 'real' NVIDIA GPU architectures */
#define CUDA_ARCH_BIN ""
/* Create PTX or BIN for 1.0 compute capability */
/* #undef CUDA_ARCH_BIN_OR_PTX_10 */
/* NVIDIA GPU features are used */
#define CUDA_ARCH_FEATURES ""
/* Compile for 'virtual' NVIDIA PTX architectures */
#define CUDA_ARCH_PTX ""
/* AVFoundation video libraries */
/* #undef HAVE_AVFOUNDATION */
/* V4L capturing support */
/* #undef HAVE_CAMV4L */
/* V4L2 capturing support */
#define HAVE_CAMV4L2
/* Carbon windowing environment */
/* #undef HAVE_CARBON */
/* AMD's Basic Linear Algebra Subprograms Library*/
/* #undef HAVE_CLAMDBLAS */
/* AMD's OpenCL Fast Fourier Transform Library*/
/* #undef HAVE_CLAMDFFT */
/* Clp support */
/* #undef HAVE_CLP */
/* Cocoa API */
/* #undef HAVE_COCOA */
/* C= */
/* #undef HAVE_CSTRIPES */
/* NVidia Cuda Basic Linear Algebra Subprograms (BLAS) AP...
/* #undef HAVE_CUBLAS */
/* NVidia Cuda Runtime API*/
/* #undef HAVE_CUDA */
/* NVidia Cuda Fast Fourier Transform (FFT) API*/
/* #undef HAVE_CUFFT */
/* IEEE1394 capturing support */
/* #undef HAVE_DC1394 */
/* IEEE1394 capturing support - libdc1394 v2.x */
/* #undef HAVE_DC1394_2 */
/* DirectX */
/* #undef HAVE_DIRECTX */
/* #undef HAVE_D3D11 */
/* #undef HAVE_D3D10 */
/* #undef HAVE_D3D9 */
/* DirectShow Video Capture library */
/* #undef HAVE_DSHOW */
/* Eigen Matrix & Linear Algebra Library */
/* #undef HAVE_EIGEN */
/* FFMpeg video library */
/* #undef HAVE_FFMPEG */
/* ffmpeg's libswscale */
/* #undef HAVE_FFMPEG_SWSCALE */
/* ffmpeg in Gentoo */
/* #undef HAVE_GENTOO_FFMPEG */
/* Geospatial Data Abstraction Library */
/* #undef HAVE_GDAL */
/* GStreamer multimedia framework */
/* #undef HAVE_GSTREAMER */
/* GTK+ 2.0 Thread support */
/* #undef HAVE_GTHREAD */
/* GTK+ 2.x toolkit */
/* #undef HAVE_GTK */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Intel Perceptual Computing SDK library */
/* #undef HAVE_INTELPERC */
/* Intel Integrated Performance Primitives */
#define HAVE_IPP
#define HAVE_IPP_ICV_ONLY
/* Intel IPP Async */
/* #undef HAVE_IPP_A */
/* JPEG-2000 codec */
#define HAVE_JASPER
/* IJG JPEG codec */
#define HAVE_JPEG
/* libpng/png.h needs to be included */
/* #undef HAVE_LIBPNG_PNG_H */
/* V4L/V4L2 capturing support via libv4l */
/* #undef HAVE_LIBV4L */
/* Microsoft Media Foundation Capture library */
/* #undef HAVE_MSMF */
/* NVidia Video Decoding API*/
/* #undef HAVE_NVCUVID */
/* OpenCL Support */
#define HAVE_OPENCL
/* #undef HAVE_OPENCL_STATIC */
/* #undef HAVE_OPENCL_SVM */
/* OpenEXR codec */
#define HAVE_OPENEXR
/* OpenGL support*/
/* #undef HAVE_OPENGL */
/* OpenNI library */
/* #undef HAVE_OPENNI */
/* OpenNI library */
/* #undef HAVE_OPENNI2 */
/* PNG codec */
#define HAVE_PNG
/* Qt support */
/* #undef HAVE_QT */
/* Qt OpenGL support */
/* #undef HAVE_QT_OPENGL */
/* QuickTime video libraries */
/* #undef HAVE_QUICKTIME */
/* QTKit video libraries */
/* #undef HAVE_QTKIT */
/* Intel Threading Building Blocks */
/* #undef HAVE_TBB */
/* TIFF codec */
#define HAVE_TIFF
/* Unicap video capture library */
/* #undef HAVE_UNICAP */
/* Video for Windows support */
/* #undef HAVE_VFW */
/* V4L2 capturing support in videoio.h */
/* #undef HAVE_VIDEOIO */
/* Win32 UI */
/* #undef HAVE_WIN32UI */
/* XIMEA camera support */
/* #undef HAVE_XIMEA */
/* Xine video library */
/* #undef HAVE_XINE */
/* Define if your processor stores words with the most si...
first (like Motorola and SPARC, unlike Intel and VAX)....
/* #undef WORDS_BIGENDIAN */
/* gPhoto2 library */
/* #undef HAVE_GPHOTO2 */
}}
***version_string.inc [#i2cdd389]
videoio: Removing WinRT API headers by default
General configuration for OpenCV 3.0.0 =================...
Version control: 3.0.0
Platform:
Host: Linux 3.11.0-15-generic...
CMake: 2.8.7
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release
C/C++:
Built as dynamic libs?: YES
C++ Compiler: /usr/bin/c++ (ver 4.6)
C++ flags (Release): -fsigned-char -W -Wall ...
C++ flags (Debug): -fsigned-char -W -Wall ...
C Compiler: /usr/bin/gcc
C flags (Release): -fsigned-char -W -Wall ...
C flags (Debug): -fsigned-char -W -Wall ...
Linker flags (Release):
Linker flags (Debug):
Precompiled headers: YES
Extra dependencies: dl m pthread rt
3rdparty dependencies: ippicv
OpenCV modules:
To be built: hal core flann imgproc ...
Disabled: world
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm c...
GUI:
QT: NO
GTK+: NO
GThread : NO
GtkGlExt: NO
OpenGL support: NO
VTK support: NO
Media I/O:
ZLib: zlib (ver 1.2.8)
JPEG: libjpeg (ver 90)
WEBP: build (ver 0.3.1)
PNG: build (ver 1.5.12)
TIFF: build (ver 42 - 4.0.2)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
GDAL: NO
Video I/O:
DC1394 1.x: NO
DC1394 2.x: NO
FFMPEG: NO
codec: NO
format: NO
util: NO
swscale: NO
resample: NO
gentoo-style: NO
GStreamer: NO
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
UniCap: NO
UniCap ucil: NO
V4L/V4L2: NO/YES
XIMEA: NO
Xine: NO
gPhoto2: NO
Other third-party libraries:
Use IPP: 8.2.1 [8.2.1]
at: /home/tomoaki/opencv/3r...
Use IPP Async: NO
Use Eigen: NO
Use TBB: NO
Use OpenMP: NO
Use GCD NO
Use Concurrency NO
Use C=: NO
Use pthreads for parallel for:
YES
Use Cuda: NO
Use OpenCL: YES
OpenCL:
Version: dynamic
Include path: /home/tomoaki/opencv/3r...
Use AMDFFT: NO
Use AMDBLAS: NO
Python 2:
Interpreter: /usr/bin/python (ver 2....
Python 3:
Interpreter: NO
Python (for build): /usr/bin/python
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Matlab:
mex: NO
Documentation:
Doxygen: NO
PlantUML: NO
Tests and samples:
Tests: YES
Performance tests: YES
C/C++ Examples: NO
Install path: /usr/local
cvconfig.h is in: /home/tomoaki/opencv
--------------------------------------------------------...
**ビルドに要した時間Top10 [#n26957b5]
-CUDA関連のビルドを外したら、あっさりビルドが終わる。速い。
|ビルドに要した時間(sec)|moduleの名前|
|229|libopencv_ml.so.3.0.0|
|183|libopencv_flann.so.3.0.0|
|106|libopencv_imgproc.so.3.0.0|
|105|libopencv_calib3d.so.3.0.0|
|93 |libopencv_hal.a|
|89 |libopencv_stitching.so.3.0.0|
|87 |libopencv_core.so.3.0.0|
|63 |libopencv_shape.so.3.0.0|
|48 |libopencv_photo.so.3.0.0|
|48 |libopencv_features2d.so.3.0.0|
-HALモジュールはaファイルなのか
*関連ページ [#m05ac101]
-[[OpenCV3.0.0-betaのビルド]]
-[[OpenCV3.0.0-alphaのビルド]]
-[[OpenCV2.4.10.1のビルド]]
-[[OpenCV2.4.10のビルド]]
-[[OpenCV2.4.9のビルド]]
-[[OpenCV2.4.8のビルド]]
-[[OpenCV2.1と2.2に見るビルド方法の違い]]
-[[:OpenCV 3.0]]
-[[:OpenCV]]
終了行:
#contents
*概要 [#c5b77e85]
-2015-06-04(日本時間)にOpenCV 3.0.0 が%%ようやく、やっと%...
-Windows で OpenCV 3.0.0 をビルドする
-ターゲットはWindows 7 (64bit)
-CMake のバージョンは3.0.1
-Visual Studio 2012 でビルド
-CUDA は5.5
-Gitでソースコードを取ってくる
**ソースコードのダウンロード [#p034892d]
-git でリポジトリをクローンしてくる。URL は git://code.op...
git.exe clone --progress -v "git://code.opencv.org/openc...
#ref(OpenCV300_000_clone.png)
-リポジトリがcloneされるのを待つ
#ref(OpenCV300_001_clone.png)
-今回は542431msかかった
#ref(OpenCV300_002_cloneDone.png)
-取得したリポジトリから、ブランチの3.0.0にスイッチする
-今回はWindowsのTortoiseGitを使ったので、添付図の様に、To...
#ref(OpenCV2.4.10のビルド/switch_checkout_git.png)
-Switch To で Branch の横の参照ボタンをクリックし、Browse...
#ref(OpenCV2.4.10のビルド/branch_select.png)
-tags から、3.0.0を選択
#ref(OpenCV300_003_tags.png)
-Switchされるのを待つ(172ms)
#ref(OpenCV300_004_switch.png)
**ビルド前準備 [#g792a183]
-cmakeでソリューションファイルを作成する
-cmake(GUI版を起動する)
-Sourceの場所を指定する
--今回はD:\OpenCV300
-Buildの場所を指定する
--今回は D:\OpenCV300\build を指定する。
-Configureボタンを押す
#ref(OpenCV300_005_cmakeConfigure.png)
-D:\OpenCV300\build が無いと文句を言われるので、ディレク...
#ref(OpenCV300_006_makeBuild.png)
-コンパイラのバージョンを聞かれるので、Visual Studio 2012...
--違うコンパイラを指定する場合はここでターゲットを変更する
--Visual Studio 2012 は VS11なので注意
#ref(OpenCV300_007_compilerChoice.png)
-Configureボタンを押す
-ガリガリCMakeが動いて、オプション一覧及び有効/無効が表示...
#ref(OpenCV300_008_configureDone.png)
**GPUのアーキテクチャを指定する [#u28cd228]
-[[OpenCV2.4.10.1のビルド]]の時と同じように、GPUのアーキ...
-詳細は[[OpenCV2.4.10.1のビルド#CUDAのアーキテクチャって...
-CUDA_ARCH_BIN と CUDA_ARCH_PTX という欄がオプション欄内...
#ref(OpenCV300_009_gpuArchitectureBefore.png)
-ここの欄を
--CUDA_ARCH_BIN → 3.0
--CUDA_ARCH_PTX → 空欄
-にする
#ref(OpenCV300_010_gpuArchitectureAftter.png)
**OpenCVのサンプル群 [#p7b73c04]
-今回はOpenCVのサンプルを試すためにも、Cのサンプル群もイ...
-INSTALL_C_EXAMPLESにチェックをつける
#ref(OpenCV300_011_installExamples.png)
-Generateボタンを押す
-指定したディレクトリ内に OpenCV.sln ができている
#ref(OpenCV300_012_solutionFile.png)
**ソースコードのビルド [#r89aedea]
-前のステップまでで生成されたOpenCV.sln を Visual Studio ...
-大量にプロジェクトが読み込まれるので、バッチビルドする。
-ビルド(B)→バッチビルド(T)でバッチビルド画面を出す
-バッチビルドでALL_BUILDのdebug/release両方を選択する
#ref(OpenCV300_013_batchBuild.png)
-今回はビルドに2時間39分要した
**OpenCVビルド時のコンフィグなど [#c66bd8ae]
***cvconfig.h [#w5b73368]
#geshi(c++){{
/* OpenCV compiled as static or dynamic libs */
#define BUILD_SHARED_LIBS
/* Compile for 'real' NVIDIA GPU architectures */
#define CUDA_ARCH_BIN " 30"
/* Create PTX or BIN for 1.0 compute capability */
/* #undef CUDA_ARCH_BIN_OR_PTX_10 */
/* NVIDIA GPU features are used */
#define CUDA_ARCH_FEATURES " 30"
/* Compile for 'virtual' NVIDIA PTX architectures */
#define CUDA_ARCH_PTX ""
/* AVFoundation video libraries */
/* #undef HAVE_AVFOUNDATION */
/* V4L capturing support */
/* #undef HAVE_CAMV4L */
/* V4L2 capturing support */
/* #undef HAVE_CAMV4L2 */
/* Carbon windowing environment */
/* #undef HAVE_CARBON */
/* AMD's Basic Linear Algebra Subprograms Library*/
/* #undef HAVE_CLAMDBLAS */
/* AMD's OpenCL Fast Fourier Transform Library*/
/* #undef HAVE_CLAMDFFT */
/* Clp support */
/* #undef HAVE_CLP */
/* Cocoa API */
/* #undef HAVE_COCOA */
/* C= */
/* #undef HAVE_CSTRIPES */
/* NVidia Cuda Basic Linear Algebra Subprograms (BLAS) AP...
/* #undef HAVE_CUBLAS */
/* NVidia Cuda Runtime API*/
#define HAVE_CUDA
/* NVidia Cuda Fast Fourier Transform (FFT) API*/
#define HAVE_CUFFT
/* IEEE1394 capturing support */
/* #undef HAVE_DC1394 */
/* IEEE1394 capturing support - libdc1394 v2.x */
/* #undef HAVE_DC1394_2 */
/* DirectX */
#define HAVE_DIRECTX
#define HAVE_D3D11
#define HAVE_D3D10
#define HAVE_D3D9
/* DirectShow Video Capture library */
#define HAVE_DSHOW
/* Eigen Matrix & Linear Algebra Library */
/* #undef HAVE_EIGEN */
/* FFMpeg video library */
#define HAVE_FFMPEG
/* ffmpeg's libswscale */
#define HAVE_FFMPEG_SWSCALE
/* ffmpeg in Gentoo */
#define HAVE_GENTOO_FFMPEG
/* Geospatial Data Abstraction Library */
/* #undef HAVE_GDAL */
/* GStreamer multimedia framework */
/* #undef HAVE_GSTREAMER */
/* GTK+ 2.0 Thread support */
/* #undef HAVE_GTHREAD */
/* GTK+ 2.x toolkit */
/* #undef HAVE_GTK */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Intel Perceptual Computing SDK library */
/* #undef HAVE_INTELPERC */
/* Intel Integrated Performance Primitives */
#define HAVE_IPP
#define HAVE_IPP_ICV_ONLY
/* Intel IPP Async */
/* #undef HAVE_IPP_A */
/* JPEG-2000 codec */
#define HAVE_JASPER
/* IJG JPEG codec */
#define HAVE_JPEG
/* libpng/png.h needs to be included */
/* #undef HAVE_LIBPNG_PNG_H */
/* V4L/V4L2 capturing support via libv4l */
/* #undef HAVE_LIBV4L */
/* Microsoft Media Foundation Capture library */
/* #undef HAVE_MSMF */
/* NVidia Video Decoding API*/
/* #undef HAVE_NVCUVID */
/* OpenCL Support */
#define HAVE_OPENCL
/* #undef HAVE_OPENCL_STATIC */
/* #undef HAVE_OPENCL_SVM */
/* OpenEXR codec */
#define HAVE_OPENEXR
/* OpenGL support*/
/* #undef HAVE_OPENGL */
/* OpenNI library */
/* #undef HAVE_OPENNI */
/* OpenNI library */
/* #undef HAVE_OPENNI2 */
/* PNG codec */
#define HAVE_PNG
/* Qt support */
/* #undef HAVE_QT */
/* Qt OpenGL support */
/* #undef HAVE_QT_OPENGL */
/* QuickTime video libraries */
/* #undef HAVE_QUICKTIME */
/* QTKit video libraries */
/* #undef HAVE_QTKIT */
/* Intel Threading Building Blocks */
/* #undef HAVE_TBB */
/* TIFF codec */
#define HAVE_TIFF
/* Unicap video capture library */
/* #undef HAVE_UNICAP */
/* Video for Windows support */
#define HAVE_VFW
/* V4L2 capturing support in videoio.h */
/* #undef HAVE_VIDEOIO */
/* Win32 UI */
#define HAVE_WIN32UI
/* XIMEA camera support */
/* #undef HAVE_XIMEA */
/* Xine video library */
/* #undef HAVE_XINE */
/* Define if your processor stores words with the most si...
first (like Motorola and SPARC, unlike Intel and VAX)....
/* #undef WORDS_BIGENDIAN */
/* gPhoto2 library */
/* #undef HAVE_GPHOTO2 */
}}
***version_string.inc [#w5ba36af]
General configuration for OpenCV 3.0.0 =================...
Version control: 3.0.0
Platform:
Host: Windows 6.1 AMD64
CMake: 3.0.1
CMake generator: Visual Studio 11 2012
CMake build tool: C:/Windows/Microsoft.NE...
MSVC: 1700
C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/Program Files (x86)/...
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 ...
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 ...
C Compiler: C:/Program Files (x86)/...
C flags (Release): /DWIN32 /D_WINDOWS /W3 ...
C flags (Debug): /DWIN32 /D_WINDOWS /W3 ...
Linker flags (Release): /machine:X86 /INCREME...
Linker flags (Debug): /machine:X86 /debug /...
Precompiled headers: YES
Extra dependencies: comctl32 gdi32 ole32 se...
3rdparty dependencies: zlib libjpeg libwebp li...
OpenCV modules:
To be built: hal cudev core cudaarit...
Disabled: world
Disabled by dependency: -
Unavailable: java python2 python3 viz
Windows RT support: NO
GUI:
QT: NO
Win32 UI: YES
OpenGL support: NO
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.8)
JPEG: build (ver 90)
WEBP: build (ver 0.3.1)
PNG: build (ver 1.5.12)
TIFF: build (ver 42 - 4.0.2)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
GDAL: NO
Video I/O:
Video for Windows: YES
DC1394 1.x: NO
DC1394 2.x: NO
FFMPEG: YES (prebuilt binaries)
codec: YES (ver 55.18.102)
format: YES (ver 55.12.100)
util: YES (ver 52.38.100)
swscale: YES (ver 2.3.100)
resample: NO
gentoo-style: YES
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
DirectShow: YES
Media Foundation: NO
XIMEA: NO
Intel PerC: NO
Other third-party libraries:
Use IPP: 8.2.1 [8.2.1]
at: D:/OpenCV300/3rdparty/i...
Use IPP Async: NO
Use Eigen: NO
Use TBB: NO
Use OpenMP: NO
Use GCD NO
Use Concurrency YES
Use C=: NO
Use pthreads for parallel for:
NO
Use Cuda: YES (ver 5.5)
Use OpenCL: YES
NVIDIA CUDA
Use CUFFT: YES
Use CUBLAS: NO
USE NVCUVID: NO
NVIDIA GPU arch: 30
NVIDIA PTX archs:
Use fast math: NO
OpenCL:
Version: dynamic
Include path: D:/OpenCV300/3rdparty/i...
Use AMDFFT: NO
Use AMDBLAS: NO
Python 2:
Interpreter: NO
Python 3:
Interpreter: C:/Python33/python.exe ...
Python (for build): NO
Java:
ant: NO
JNI: C:/Program Files (x86)/...
Java wrappers: NO
Java tests: NO
Matlab:
mex: NO
Documentation:
Doxygen: NO
PlantUML: NO
Tests and samples:
Tests: YES
Performance tests: YES
C/C++ Examples: NO
Install path: D:/OpenCV300/build/inst...
cvconfig.h is in: D:/OpenCV300/build
--------------------------------------------------------...
**ビルドに要した時間Top10 [#u150c03b]
-アーキテクチャを限定したおかげでずいぶん短くなった
-[[2.4系列から比べて>OpenCV2.4.10.1のビルド]]gpuモジュー...
-[[2.4系列でアーキテクチャを絞った場合>OpenCV2.4.10.1のビ...
|dllの名前|所要時間(min)|
|opencv_cudafilters300.dll|18|
|opencv_video300.dll|18|
|opencv_cudaarithm300.dll|12|
|opencv_flann300.dll|12|
|opencv_videostab300.dll|12|
|opencv_cudawarping300.dll|7|
|opencv_cudafeatures2d300.dll|6|
|opencv_cudaimgproc300.dll|5|
|opencv_cudalegacy300.dll|5|
|opencv_cudastereo300.dll|5|
-サンプルプログラムでも、ビルドに要する時間は短くなっている
|exeの名前|所要時間(min)|
|opencv_perf_cudaoptflow.exe|7|
|opencv_test_cudev.exe|7|
|opencv_perf_cudastereo.exe|6|
|opencv_test_core.exe|2|
|opencv_test_cudawarping.exe|1|
|opencv_test_highgui.exe|1|
|opencv_test_ml.exe|1|
|opencv_test_shape.exe|1|
|opencv_test_video.exe|1|
|opencv_perf_core.exe|1|
*概要(Linux版のビルド) [#i7f93980]
-Linux で OpenCV 3.0.0 をビルドする
-ターゲットはUbuntu 12.04.5 (64bit)
-CMake のバージョンは2.8,7
-Gitでソースコードを取ってくる
**ソースコードのダウンロード [#ef9f76ef]
-gitでソースコードを取得してくる
-リポジトリの URL は git://code.opencv.org/opencv.git
git clone git://code.opencv.org/opencv.git opencv
-で取得(クローン)してくる
#geshi(bash){{
tomoaki@tomoaki-laptop:~$ time git clone git://code.openc...
Cloning into 'opencv'...
remote: Counting objects: 176319, done.
remote: Compressing objects: 100% (41255/41255), done.
remote: Total 176319 (delta 127200), reused 172093 (delta...
Receiving objects: 100% (176319/176319), 361.87 MiB | 598...
Resolving deltas: 100% (127200/127200), done.
real 13m21.307s
user 1m21.981s
sys 0m18.357s
tomoaki@tomoaki-laptop:~$ cd opencv/
tomoaki@tomoaki-laptop:~/opencv$ git tag -l
2.2
2.3.0
2.3.1
2.4.0
2.4.1
2.4.10
2.4.10.1
2.4.10.2
2.4.11
2.4.2
2.4.3
2.4.3-rc
2.4.3.1
2.4.3.2
2.4.4
2.4.4-beta
2.4.5
2.4.6
2.4.6.1
2.4.6.2
2.4.6.2-rc1
2.4.6.2r2
2.4.6.2r3
2.4.7
2.4.7-rc1
2.4.7.1
2.4.7.2
2.4.8
2.4.8.1
2.4.8.2
2.4.8.3
2.4.9
2.4.9.1
3.0-ocl-tech-preview
3.0-ocl-tp2
3.0.0
3.0.0-alpha
3.0.0-beta
3.0.0-rc1
carma_release.0.0.1
perf4au
}}
-タグを見てみると、alphaもbetaもついていない3.0.0というタ...
-3.0.0をチェックアウトする
git checkout 3.0.0
**ビルド前準備 [#df5b1456]
-CMakeでMakefileを作る
cmake .
**ソースコードのビルド [#q044e1d7]
-Virtual Machine上でシングルコアでビルド
-21分 でビルドが終了した
//[100%] Built target opencv_annotation
//
//real 21m26.337s
//user 18m46.339s
//sys 2m21.379s
//tomoaki@ubuntu:~/opencv$ sudo make install
**OpenCVビルド時のコンフィグなど [#o0031692]
***cvconfig.h [#wba5c029]
#geshi(c++){{
/* OpenCV compiled as static or dynamic libs */
#define BUILD_SHARED_LIBS
/* Compile for 'real' NVIDIA GPU architectures */
#define CUDA_ARCH_BIN ""
/* Create PTX or BIN for 1.0 compute capability */
/* #undef CUDA_ARCH_BIN_OR_PTX_10 */
/* NVIDIA GPU features are used */
#define CUDA_ARCH_FEATURES ""
/* Compile for 'virtual' NVIDIA PTX architectures */
#define CUDA_ARCH_PTX ""
/* AVFoundation video libraries */
/* #undef HAVE_AVFOUNDATION */
/* V4L capturing support */
/* #undef HAVE_CAMV4L */
/* V4L2 capturing support */
#define HAVE_CAMV4L2
/* Carbon windowing environment */
/* #undef HAVE_CARBON */
/* AMD's Basic Linear Algebra Subprograms Library*/
/* #undef HAVE_CLAMDBLAS */
/* AMD's OpenCL Fast Fourier Transform Library*/
/* #undef HAVE_CLAMDFFT */
/* Clp support */
/* #undef HAVE_CLP */
/* Cocoa API */
/* #undef HAVE_COCOA */
/* C= */
/* #undef HAVE_CSTRIPES */
/* NVidia Cuda Basic Linear Algebra Subprograms (BLAS) AP...
/* #undef HAVE_CUBLAS */
/* NVidia Cuda Runtime API*/
/* #undef HAVE_CUDA */
/* NVidia Cuda Fast Fourier Transform (FFT) API*/
/* #undef HAVE_CUFFT */
/* IEEE1394 capturing support */
/* #undef HAVE_DC1394 */
/* IEEE1394 capturing support - libdc1394 v2.x */
/* #undef HAVE_DC1394_2 */
/* DirectX */
/* #undef HAVE_DIRECTX */
/* #undef HAVE_D3D11 */
/* #undef HAVE_D3D10 */
/* #undef HAVE_D3D9 */
/* DirectShow Video Capture library */
/* #undef HAVE_DSHOW */
/* Eigen Matrix & Linear Algebra Library */
/* #undef HAVE_EIGEN */
/* FFMpeg video library */
/* #undef HAVE_FFMPEG */
/* ffmpeg's libswscale */
/* #undef HAVE_FFMPEG_SWSCALE */
/* ffmpeg in Gentoo */
/* #undef HAVE_GENTOO_FFMPEG */
/* Geospatial Data Abstraction Library */
/* #undef HAVE_GDAL */
/* GStreamer multimedia framework */
/* #undef HAVE_GSTREAMER */
/* GTK+ 2.0 Thread support */
/* #undef HAVE_GTHREAD */
/* GTK+ 2.x toolkit */
/* #undef HAVE_GTK */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Intel Perceptual Computing SDK library */
/* #undef HAVE_INTELPERC */
/* Intel Integrated Performance Primitives */
#define HAVE_IPP
#define HAVE_IPP_ICV_ONLY
/* Intel IPP Async */
/* #undef HAVE_IPP_A */
/* JPEG-2000 codec */
#define HAVE_JASPER
/* IJG JPEG codec */
#define HAVE_JPEG
/* libpng/png.h needs to be included */
/* #undef HAVE_LIBPNG_PNG_H */
/* V4L/V4L2 capturing support via libv4l */
/* #undef HAVE_LIBV4L */
/* Microsoft Media Foundation Capture library */
/* #undef HAVE_MSMF */
/* NVidia Video Decoding API*/
/* #undef HAVE_NVCUVID */
/* OpenCL Support */
#define HAVE_OPENCL
/* #undef HAVE_OPENCL_STATIC */
/* #undef HAVE_OPENCL_SVM */
/* OpenEXR codec */
#define HAVE_OPENEXR
/* OpenGL support*/
/* #undef HAVE_OPENGL */
/* OpenNI library */
/* #undef HAVE_OPENNI */
/* OpenNI library */
/* #undef HAVE_OPENNI2 */
/* PNG codec */
#define HAVE_PNG
/* Qt support */
/* #undef HAVE_QT */
/* Qt OpenGL support */
/* #undef HAVE_QT_OPENGL */
/* QuickTime video libraries */
/* #undef HAVE_QUICKTIME */
/* QTKit video libraries */
/* #undef HAVE_QTKIT */
/* Intel Threading Building Blocks */
/* #undef HAVE_TBB */
/* TIFF codec */
#define HAVE_TIFF
/* Unicap video capture library */
/* #undef HAVE_UNICAP */
/* Video for Windows support */
/* #undef HAVE_VFW */
/* V4L2 capturing support in videoio.h */
/* #undef HAVE_VIDEOIO */
/* Win32 UI */
/* #undef HAVE_WIN32UI */
/* XIMEA camera support */
/* #undef HAVE_XIMEA */
/* Xine video library */
/* #undef HAVE_XINE */
/* Define if your processor stores words with the most si...
first (like Motorola and SPARC, unlike Intel and VAX)....
/* #undef WORDS_BIGENDIAN */
/* gPhoto2 library */
/* #undef HAVE_GPHOTO2 */
}}
***version_string.inc [#i2cdd389]
videoio: Removing WinRT API headers by default
General configuration for OpenCV 3.0.0 =================...
Version control: 3.0.0
Platform:
Host: Linux 3.11.0-15-generic...
CMake: 2.8.7
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release
C/C++:
Built as dynamic libs?: YES
C++ Compiler: /usr/bin/c++ (ver 4.6)
C++ flags (Release): -fsigned-char -W -Wall ...
C++ flags (Debug): -fsigned-char -W -Wall ...
C Compiler: /usr/bin/gcc
C flags (Release): -fsigned-char -W -Wall ...
C flags (Debug): -fsigned-char -W -Wall ...
Linker flags (Release):
Linker flags (Debug):
Precompiled headers: YES
Extra dependencies: dl m pthread rt
3rdparty dependencies: ippicv
OpenCV modules:
To be built: hal core flann imgproc ...
Disabled: world
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm c...
GUI:
QT: NO
GTK+: NO
GThread : NO
GtkGlExt: NO
OpenGL support: NO
VTK support: NO
Media I/O:
ZLib: zlib (ver 1.2.8)
JPEG: libjpeg (ver 90)
WEBP: build (ver 0.3.1)
PNG: build (ver 1.5.12)
TIFF: build (ver 42 - 4.0.2)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver 1.7.1)
GDAL: NO
Video I/O:
DC1394 1.x: NO
DC1394 2.x: NO
FFMPEG: NO
codec: NO
format: NO
util: NO
swscale: NO
resample: NO
gentoo-style: NO
GStreamer: NO
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
UniCap: NO
UniCap ucil: NO
V4L/V4L2: NO/YES
XIMEA: NO
Xine: NO
gPhoto2: NO
Other third-party libraries:
Use IPP: 8.2.1 [8.2.1]
at: /home/tomoaki/opencv/3r...
Use IPP Async: NO
Use Eigen: NO
Use TBB: NO
Use OpenMP: NO
Use GCD NO
Use Concurrency NO
Use C=: NO
Use pthreads for parallel for:
YES
Use Cuda: NO
Use OpenCL: YES
OpenCL:
Version: dynamic
Include path: /home/tomoaki/opencv/3r...
Use AMDFFT: NO
Use AMDBLAS: NO
Python 2:
Interpreter: /usr/bin/python (ver 2....
Python 3:
Interpreter: NO
Python (for build): /usr/bin/python
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Matlab:
mex: NO
Documentation:
Doxygen: NO
PlantUML: NO
Tests and samples:
Tests: YES
Performance tests: YES
C/C++ Examples: NO
Install path: /usr/local
cvconfig.h is in: /home/tomoaki/opencv
--------------------------------------------------------...
**ビルドに要した時間Top10 [#n26957b5]
-CUDA関連のビルドを外したら、あっさりビルドが終わる。速い。
|ビルドに要した時間(sec)|moduleの名前|
|229|libopencv_ml.so.3.0.0|
|183|libopencv_flann.so.3.0.0|
|106|libopencv_imgproc.so.3.0.0|
|105|libopencv_calib3d.so.3.0.0|
|93 |libopencv_hal.a|
|89 |libopencv_stitching.so.3.0.0|
|87 |libopencv_core.so.3.0.0|
|63 |libopencv_shape.so.3.0.0|
|48 |libopencv_photo.so.3.0.0|
|48 |libopencv_features2d.so.3.0.0|
-HALモジュールはaファイルなのか
*関連ページ [#m05ac101]
-[[OpenCV3.0.0-betaのビルド]]
-[[OpenCV3.0.0-alphaのビルド]]
-[[OpenCV2.4.10.1のビルド]]
-[[OpenCV2.4.10のビルド]]
-[[OpenCV2.4.9のビルド]]
-[[OpenCV2.4.8のビルド]]
-[[OpenCV2.1と2.2に見るビルド方法の違い]]
-[[:OpenCV 3.0]]
-[[:OpenCV]]
ページ名: