Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while build: janus.cpp.obj #548

Open
dhanh opened this issue May 4, 2018 · 1 comment
Open

Error while build: janus.cpp.obj #548

dhanh opened this issue May 4, 2018 · 1 comment

Comments

@dhanh
Copy link

dhanh commented May 4, 2018

Hi,

I followed instruction here: http://openbiometrics.org/docs/install/#windows and got an error while trying to build OpenBR on Windows.

System:
WIndows 10
Visual Studio 2013
Qt5.4.1
opencv-2.4.11
git clone https://github.com/biometrics/openbr.git - 5/5/2018

Instruction :
$ cd C:\openbr
$ mkdir build-msvc2013
$ cd 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" -DCMAKE_INSTALL_PREFIX="./install" -DBR_INSTALL_DEPENDENCIES=ON -DCMAKE_BUILD_TYPE=Release ..
$ nmake <<<<<<<<<<<<<<<<<<<<<<<<<< Error on this step <<<<<<<<<<<
$ nmake install

ERROR:

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.

[ 2%] Built target models
[ 3%] Automatic moc for target openbr
[ 3%] Built target openbr_automoc
[ 3%] Building CXX object openbr/CMakeFiles/openbr.dir/janus.cpp.obj
NMAKE : fatal error U1077: 'C:\PROGRA2\MICROS1.0\VC\bin\X86_AM~1\cl.exe' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

Could anyone help me on this?

@benny-innofaith
Copy link

Yes! The janus library is missing. The docs are incomplete.

Instead of git clone https://github.com/biometrics/openbr.git do git clone https://github.com/biometrics/openbr.git --recursive to fetch janus too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants