问题描述
有人让 jsoncpp 在vc90上工作吗?
anyone have jsoncpp working on vc90?
他们使用我从未听说过的构建系统Scons.我安装了最新的Scons,找到了未记录的scons.bat,在jsoncpp目录中启动了vc90提示符,修改了SConstruct文件以支持msvc90目标(我从已经支持的msvc80平台复制了样板)运行scons.bat platform=msvc90
并出现错误:
they use a build system, Scons, which I have never heard of. I installed the latest Scons, found an undocumented scons.bat, launched a vc90 prompt in my jsoncpp dir, modified the SConstruct file to support a msvc90 target (i copied the boilerplate from the msvc80 platform which was already supported) ran scons.bat platform=msvc90
and got errors:
scons: done reading SConscript files.
scons: Building targets ...
cl /Fobuildscons\msvc90\src\jsontestrunner\main.obj /c src\jsontestrunner\main.c
pp -GR -EHsc /nologo /MT /nologo /Iinclude /I.
main.cpp
c:\projects\docwayhead\wspt_docway_plugins\contrib\jsoncpp-src-0.5.0\include\jso
n\value.h(5) : fatal error C1083: Cannot open include file: 'string': No such fi
le or directory
scons: *** [buildscons\msvc90\src\jsontestrunner\main.obj] Error 2
scons: building terminated because of errors.
我已经花了很多精力来构建它,而jsoncpp显然没有维护,所以我暂时放弃.
i've already put too much effort into getting this to build, and jsoncpp is clearly unmaintained, so i give up for now.
推荐答案
无需使用Scons.
No need to use Scons.
在/makefiles/vc71 /下,您可以找到一个Visual Studio解决方案,可以对其进行上转换和构建.
Under the /makefiles/vc71/ you can find a visual studio solution which you can up convert and build.
这篇关于vc90上的jsoncpp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!