open-source-parsers / open-source-parsers/jsoncpp
GSHandlerCheck Error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.9k
- Forks
- 2.7k
- Avg merge
- 31m
- Merged PRs (30d)
- 1
Description
I was able to compile jsoncpp (x64-windows-static) with the latest vcpkg. cpkg will automatically compile jsoncpp version 1.9.5.
I copied the Lib file and Header file to my project. v There will be an error GSHandlerCheck Error here:
1>json2_jsoncpp_x64.lib(json_writer.cpp.obj) : error LNK2001: __GSHandlerCheck_EH4
1>json2_jsoncpp_x64.lib(json_value.cpp.obj) : error LNK2001: __GSHandlerCheck_EH4
If I use vcpkg release (2021.05.12) version. He will compile jsoncpp 1.9.4. And it can be used normally in my project.
The latest vcpkg compiled jsoncpp 64-bit, his Lib size is 5.1M
The jsoncpp 64-bit compiled by vcpkg release (2021.05.12) version has a Lib size of 5.9M
I Can anyone help me to solve this problem. Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the link failure with jsoncpp 1.9.5 built by the latest vcpkg, then compare it with the working 1.9.4 build from vcpkg 2021.05.12. The issue is resolved when the x64 static library links without the __GSHandlerCheck_EH4 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100