Build with VS2015

286 views
Skip to first unread message

Sergey Dudik

unread,
Jun 6, 2016, 11:12:37 PM6/6/16
to Open Source Biometric Recognition
Hello, is it possible to build Openbr with VS2015 compiler ?

OpenCV has been built, but when I try to execute 

cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_PATH="C:/opencv-2.4.11/build/install;C:/Qt/Qt5.4.1/5.4/msvc2013_64" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release ..

I get an error

c:\openbr\build-msvc2013>cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_ PATH="C:/opencv-2.4.11/build/install;C:/Qt/Qt5.4.1/5.4/msvc2013_64" -DC MAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE= Release .. -- The C compiler identification is MSVC 19.0.23506.0 -- The CXX compiler identification is MSVC 19.0.23506.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi o 14.0/VC/bin/x86_amd64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi o 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- OpenCV ARCH: x64 -- OpenCV RUNTIME: -- OpenCV STATIC: OFF CMake Warning at C:/opencv-2.4.11/build-msvc2013/install/OpenCVConfig.cmake:161 (message): Found OpenCV Windows Pack but it has not binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): CMakeLists.txt:88 (find_package) CMake Error at CMakeLists.txt:88 (find_package): Found package configuration file: C:/opencv-2.4.11/build-msvc2013/install/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND. -- Configuring incomplete, errors occurred! See also "C:/openbr/build-msvc2013/CMakeFiles/CMakeOutput.log".



Josh Klontz

unread,
Jun 6, 2016, 11:20:06 PM6/6/16
to Sergey Dudik, Open Source Biometric Recognition
VS2015 should work, I'm not sure what the issue is in your case though.

--
You received this message because you are subscribed to the Google Groups "Open Source Biometric Recognition" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbr-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tina Bhole

unread,
Jul 13, 2016, 8:30:12 AM7/13/16
to Open Source Biometric Recognition
Hi,

I am getting this exact error at this step (that you have mentioned), have you found the solution yet?

Thanks.



This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify IT Support on +61 2 6230 4999. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

Andrea Leonardi

unread,
Oct 10, 2016, 11:26:52 AM10/10/16
to Open Source Biometric Recognition
Me too!!! Same error! :( Any news on that?

Megha Bhamare

unread,
Sep 5, 2017, 11:05:35 PM9/5/17
to Open Source Biometric Recognition

Hello 

I have been compiling OpenBR and following the steps @ http://openbiometrics.org/docs/install/#windows

The configuration that I am using as below 

Ø VS2015 x86 (Express edition)

Ø CMake x86 3.9.1 

Ø Qt  5.9.1 (Qt\Qt5.9.1\5.9.1\msvc2015) 32 bit

Ø OpenBR( version v1.1.0) checked-out from Git bash 

I am unable to get the OpenBR compiled for x86 as well as x64 (the x64 configuration ) .

Please let me know if some help could be provided on this.

Thanks 

-Megha

CMakeError.log
Reply all
Reply to author
Forward
0 new messages