Jsoncpp on vc90?

who does jsoncpp run on vc90?

they use the Scons build system that I have never heard of. I installed the latest versions of Scons, found the undocumented scons.bat, ran the vc90 prompt in my jsoncpp directory, changed the SConstruct file to support the msvc90 target (I copied the template from the msvc80 platform that was already supported), ran scons.bat platform=msvc90and 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 have already put too much effort into creating this, and jsoncpp is clearly not supported, so I am giving up now.

+3
source share
5 answers

No need to use Scons.

/​​makefiles/vc71/ , .

+4

msvc90, , VC90 cl ( ).

, Scons Python, , , Python , , scons.

0

, VS ? , :  - msvc90 allowed_values  - / msvc80 env ['MSVS_VERSION'] = 9.0

scons 1.3.0.

0

scons jsoncpp 0.5.0 VS 9.0 10.0 . msvc90 _ 21 SConstruct 103.

elif platform == 'msvc90':
    env['MSVS_VERSION']='9.0'
    for tool in ['msvc', 'msvs', 'mslink', 'masm', 'mslib']:
        env.Tool( tool )
    env['CXXFLAGS']='-GR -EHsc /nologo /MT'

9.0 10.0 90 100 VS 10.0.

0

0.6.0 jsoncpp, , Amalgamated. .h .cpp , . VS 9 ( ++ Builder 2010 - ).

, 0.6.0-rc2; json.h .

0

Source: https://habr.com/ru/post/1773652/


All Articles