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,居然行了。
发布者:admin,转转请注明出处:http://www.yc00.com/web/1755048173a5233033.html
评论列表(0条)