Rapidjson: how to use on iOS platform

Created on 5 May 2017  ·  3Comments  ·  Source: Tencent/rapidjson

stdint.h error "Use this header only with Microsoft Visual C++ compilers!" . I defined _MSC_VER,build failed too. anyone can help

question

All 3 comments

You should not define _MSC_VER. I think you may have mistakenly added -I rapidjson/msinttypes.

使用pod方式引入, 没有别的设置:
pod 'rapidjson', '1.1.0'
报同样的问题:
Use this header only with Microsoft Visual C++ compilers!

情况类似,直接引入rapidjson也会报同样的错误

Was this page helpful?
0 / 5 - 0 ratings