open-source-parsers / open-source-parsers/jsoncpp

Problems with Jsoncpp_test while building

Open
#1,390 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug build
Dominant language
C++
Stars
8.9k
Forks
2.7k
Avg merge
31m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ALL_BUILD failure for the jsoncpp_test project in CMake's x64 Debug, Multi-threaded Debug (MTd) configuration. Inspect the generated jsoncpp_test.vcxproj command and the failing null test around jsoncpp_test.exe; done means the test project builds and completes without MSB3073 code 3.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.