I followed the win install instructions but I can't build openbr after cmake with nmake.
System:
Win 10 64bit, Visual Studio Community 2015
cmake 3.0.2
QT 5.6.3
opencv-2.4.11
openbr git bash clone->checkout v1.1.0->submodule init->update (18.10.2017)
D:\openbr\build-msvc2015> nmake
[ 2%] Built target models
[ 3%] Automatic moc for target openbr
[ 3%] Built target openbr_automoc
[ 3%] Building CXX object openbr/CMakeFiles/openbr.dir/plugins/classification/lda.cpp.obj
lda.cpp
D:\openbr\openbr\plugins\classification\lda.cpp(359): error C2280: 'Eigen::Block<Derived,-1,1,true,true> &Eigen::Block<Derived,-1,1,true,true>::operator =(const Eigen::Block<Derived,-1,1,true,true> &)': attempting to reference a deleted function
with
[
Derived=Eigen::Matrix<float,-1,-1,0,-1,-1>
]
d:\openbr\3rdparty\eigen-eigen-5097c01bcdc4\eigen\src/Core/Block.h(353): note: compiler has generated 'Eigen::Block<Derived,-1,1,true,true>::operator =' here
with
[
Derived=Eigen::Matrix<float,-1,-1,0,-1,-1>
]
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\BIN\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
I followed the win install instructions but I can't build openbr after cmake with nmake. System: Win 10 64bit, Visual Studio Community 2015 cmake 3.0.2 QT 5.6.3 opencv-2.4.11 openbr git bash clone->checkout v1.1.0->submodule init->update (18.10.2017)
D:\openbr\build-msvc2015> nmake
[ 2%] Built target models [ 3%] Automatic moc for target openbr [ 3%] Built target openbr_automoc [ 3%] Building CXX object openbr/CMakeFiles/openbr.dir/plugins/classification/lda.cpp.obj lda.cpp D:\openbr\openbr\plugins\classification\lda.cpp(359): error C2280: 'Eigen::Block<Derived,-1,1,true,true> &Eigen::Block<Derived,-1,1,true,true>::operator =(const Eigen::Block<Derived,-1,1,true,true> &)': attempting to reference a deleted function with [ Derived=Eigen::Matrix<float,-1,-1,0,-1,-1> ] d:\openbr\3rdparty\eigen-eigen-5097c01bcdc4\eigen\src/Core/Block.h(353): note: compiler has generated 'Eigen::Block<Derived,-1,1,true,true>::operator =' here with [ Derived=Eigen::Matrix<float,-1,-1,0,-1,-1> ] NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\BIN\amd64\cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.