解决:xcode:Member reference base type ‘rapidjson::Document‘ (aka ‘int‘) is not a structure or union

xcode:Member reference base type ‘rapidjson::Document’ (aka ‘int’) is not a structure or union
首先尝试了,把rapidjson当作源码接进项目,放在demo的project,可以跑,但是放在demo链条包的sdk源码project中,就报错:xcode:Member reference base type ‘rapidjson::Document’ (aka ‘int’) is not a structure or union
尝试了把rapidjson作为三方库接进来,还是不行。
尝试了使用在xcode的build setting中禁掉c89与c++11的不兼容问题,还是不行。
最后突发奇想,单独编译一下sdk源码project,然后再编译demo,居然行了。

猜你喜欢

转载自blog.csdn.net/weixin_44210987/article/details/129924580