jsoncpp icon indicating copy to clipboard operation
jsoncpp copied to clipboard

Problems with Jsoncpp_test while building

Open Shanrui03 opened this issue 3 years ago • 0 comments

I failed to build the ALL_BUILD solution with the help of CMake in x64 , Debug , Multi-threaded Debug(MTd) environment and encountered a bug with Jsoncpp_test.

image image image

1>------ Build started: Project: jsoncpp_test, Configuration: Debug x64 ------ 1>jsoncpp_test.vcxproj -> D:\CSC8508jSONCPP\jsoncpp-master\jsoncpp-master\build\bin\Debug\jsoncpp_test.exe 1>Testing ValueTest/checkNormalizeFloatingPointStr: OK 1>Testing ValueTest/memberCount: OK 1>Testing ValueTest/objects: OK 1>Testing ValueTest/arrays: OK 1>Testing ValueTest/resizeArray: OK 1>Testing ValueTest/resizePopulatesAllMissingElements: OK 1>Testing ValueTest/getArrayValue: OK 1>Testing ValueTest/arrayIssue252: OK 1>Testing ValueTest/arrayInsertAtRandomIndex: OK 1>Testing ValueTest/null: 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: The command "setlocal 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: ....\bin\Debug\jsoncpp_test.exe 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLevel 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd 1>D:\c++ test\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" exited with code 3. 1>Done building project "jsoncpp_test.vcxproj" -- FAILED.

Shanrui03 avatar Feb 15 '22 17:02 Shanrui03