Error MSB3073 command "setlocal
"C: \ Program Files \ CMake (x86) \ bin \ CMake exe" - DBUILD_TYPE=Release - P cmake_install. CMake
If a neq errorlevel % % 0 goto: cmEnd
: cmEnd
Endlocal & amp; Call: errorlevel cmErrorLevel % % & amp; Goto: cmDone
: cmErrorLevel
The exit/b % 1
: cmDone
If a neq errorlevel % % 0 goto: VCEnd
: VCEnd "have withdrawn, the code is 1, INSTALL the D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets 155
1 & gt; CMake Error at apps/annotation/cmake_install. CMake: 39 (file) :
1 & gt; The file INSTALL always find a
1 & gt; "D:/third_party/opencv/opencv/build_x86/bin/Release/opencv_annotation exe" :
1 & gt; No error.
1 & gt; The Call Stack (the most recent Call first) :
1 & gt; Apps/cmake_install. Cmake: 39 (include)
1 & gt; Cmake_install. Cmake: 98 (include)
1 & gt;
1 & gt;
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: command "setlocal
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: "C: \ Program Files \ CMake (x86) \ bin \ CMake exe" - DBUILD_TYPE=Release - P cmake_install. CMake
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: if a neq errorlevel % % 0 goto: cmEnd
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: : cmEnd
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: endlocal & amp; Call: errorlevel cmErrorLevel % % & amp; Goto: cmDone
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: : cmErrorLevel
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: exit/b % 1
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: : cmDone
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: if a neq errorlevel % % 0 goto: VCEnd
1 & gt; D: \ \ Program Files \ Microsoft Visual Studio (x86) \ 2019 \ \ Enterprise MSBuild \ Microsoft \ \ v160 \ Microsoft VC CppCommon. The targets (155, 5) : error MSB3073: : VCEnd "have withdrawn, the code is 1,
1 & gt; Generating project has been completed "INSTALL. Vcxproj" operations - failure,
==========all regenerated: zero success, failure, skip 0==========
CodePudding user response:
Baidu can be found,https://blog.csdn.net/tingzhushaohua/article/details/81559259