Problems with using jsoncpp library in C ++

Source: Internet
Author: User
During project creation, the jsoncpp library is used to parse JSON-format files. If compilation is successful, a problem occurs during release and compilation fails.

When the release version is compiled:

Fatal error c1083: the file "/../build/vs71/release/lib_json \ json_reader.asm" generated by the compiler cannot be opened.

There are two solutions:

Solution 1: copy the compiled build folder to the same directory as the project.
 

Solution 2: recompile the JSON library and modify the property of the project that generates the static library file: Path: menu --- project -- properties --- configuration properties --- C/C ++ --- output file --- assembler output: no list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.