加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

编译jsoncpp库时,release出错

发布时间:2020-12-16 19:48:02 所属栏目:百科 来源:网络整理
导读:原文链接:点击打开链接 generated file: '../../build/vs71/release/lib_jsonjson_writer.asm': No such file or directory 2013年04月24日 16:25:59 阅读数:4998 I'm trying to use json-cpp in Visual Studio 2010. I have no problem when compiling d

原文链接:点击打开链接

generated file: '../../build/vs71/release/lib_jsonjson_writer.asm': No such file or directory

I'm trying to use json-cpp in Visual Studio 2010. I have no problem when compiling debug,but release gives me the following error:

C:DevThirdPartyjsoncpp-src-0.6.0-rc2srclib_jsonjson_writer.cpp : fatal error C1083: Cannot open compiler generated file: '../../build/vs71/release/lib_jsonjson_writer.asm': No such file or directory

Google only returned a handful of Japanese links with no solution. I'd appreciate some help solving this problem.

I fixed it like so:
1) go under lib_json -> Properties -> Configuration Properties -> C/C++ -> Output Files -> Assembler Output
2) change it to No Listing

recompile and you're done :)

P.S. I'm using Visual Studio 2010

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读