Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jsoncpp on vc90?

anyone have jsoncpp working on vc90?

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.

i've already put too much effort into getting this to build, and jsoncpp is clearly unmaintained, so i give up for now.

like image 634
Dustin Getz Avatar asked May 23 '26 11:05

Dustin Getz


1 Answers

No need to use Scons.

Under the /makefiles/vc71/ you can find a visual studio solution which you can up convert and build.

like image 163
cweston Avatar answered May 26 '26 06:05

cweston