Ask Your Question

centraltendency's profile - activity

2017-01-26 11:03:34 -0600 received badge  Editor (source)
2017-01-26 11:02:13 -0600 asked a question Building opencv 3.2 with opencv_contrib on Windows 10 -- how to install?

Please note, I cannot publish links, so I've tried to hack together faux links below

I followed the instructions here: with minor modifications to include opencv_contrib (I set the OPENCV_EXTRA_MODULES_PATH field to the path ~/opencv_contrib/modules). Before beginning, I used git to checkout the 3.2.0 tagged commit for each project, which I had cloned from github.

I completed Step 16, but could not find the 'INSTALL' option for Step 17. Step 16 had several errors. See this screenshot: See also error code pasted below.

I did find an option CMakeTargets > INSTALL (see screenshot ), but it didn't seem to do anything? It looks like it just rebuilt the project. Much faster than the first time.

I'm using Visual Studio 2012. Thanks in advance for any help!

Error   1   error C3861: 'round': identifier not found  ~\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp  235 1   opencv_xfeatures2d
Error   2   error C3861: 'round': identifier not found  ~\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp  243 1   opencv_xfeatures2d
Error   3   error C3861: 'round': identifier not found  ~\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp  244 1   opencv_xfeatures2d
Error   4   error C3861: 'round': identifier not found  ~\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp  254 1   opencv_xfeatures2d
Error   5   error C3861: 'round': identifier not found  ~\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp  265 1   opencv_xfeatures2d
Error   6   error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    282 1   opencv_dnn
Error   7   error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    283 1   opencv_dnn
Error   8   error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    284 1   opencv_dnn
Error   9   error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    285 1   opencv_dnn
Error   10  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    286 1   opencv_dnn
Error   11  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    287 1   opencv_dnn
Error   12  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    289 1   opencv_dnn
Error   13  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    290 1   opencv_dnn
Error   14  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    291 1   opencv_dnn
Error   15  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    293 1   opencv_dnn
Error   16  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization may not be explicitly instantiated    ~\opencv_contrib\modules\dnn\src\caffe\layer_loaders.cpp    298 1   opencv_dnn
Error   17  error C3416: 'cv::dnn::createLayerFromCaffe' : an explicit specialization ...
(more)
2017-01-21 21:58:17 -0600 commented question Building OpenCV_contrib for OpenCV 3, Windows GUI

I was able to use the cmake gui to successfully (?) create a makefile. At least, I see a file opencv/build/Makefile. I told cmake to use MinGW as the generator (was having trouble with Visual Studio 11). In MinGW (actually, Git Bash), I navigate to the build dir and type make -j4 (or even just make), and nothing seems to happen but the terminal prints Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. Any ideas?