biometrics / openbr

Open Source Biometrics, Face Recognition
www.openbiometrics.org
Other
2.85k stars 773 forks source link

Get Fatal Error when try to run "Nmake intall" for building OpenBr #575

Closed saha-anik closed 4 years ago

saha-anik commented 4 years ago

I have installed lowest possible Qt which is version of 5.9.9 My Cmake version is 3.17.2 In 6 number step for building OpenBr when I run (nmake install) I got this error==> **CMake Error at openbr/cmake_install.cmake:137 (file): file INSTALL cannot find "C:/Qt/5.9.9/msvc2013_64/plugins/imageformats/qmng.dll": File exists. Call Stack (most recent call first): cmake_install.cmake:52 (include)

NMAKE : fatal error U1077: 'echo' : return code '0x1' Stop.**

Also instead of using this==> cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_PATH="C:/opencv-2.4.11/build/install;C:/Qt/5.9.9/msvc2013_64" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release ..

I have used this ==> cmake -G "CodeBlocks - NMake Makefiles" -DCMAKE_PREFIX_PATH="C:/opencv-2.4.11/build-msvc2013/install;C:/Qt/5.9.9/msvc2013_64" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release ..

saha-anik commented 4 years ago

I fix this error by adding qmng.dll in on that folder. I found that dll in go pro application