Results 3 comments of snakeD

之前没有接触过clang插件相关的内容,菜鸟求教,目前按照文章的做法,到clang的源码安装编译都ok,但插件的编译生成这部分一直失败。 我首先使用了命令行的方法,提示的错误如: ``` Undefined symbols for architecture x86_64: "ZombieCodeUtil::setFilename(std::__1::basic_string, bool)", referenced from: ZombieCode::ZombieCodeASTVisitor::VisitDecl(clang::Decl*) in ClangZombieCodePlugin-ab8b2b.o ZombieCode::ZombieCodeASTVisitor::VisitStmt(clang::Stmt*) in ClangZombieCodePlugin-ab8b2b.o ``` 对于这个错误在完全摸不着头脑的google了半天以后,没有任何头绪和进展,逐准备先尝试下在xcode里编译生成的方式。 之前自己也建过dylib工程,在C++环境下编译生成过dylib,并没有遇到过什么特殊的问题,不过在demo工程里编译生成失败了,错误如下: ``` Undefined symbols for architecture x86_64: "llvm::itaniumDemangle(char const*, char*,...

@kangwang1988 第二种在xcode下直接编译的问题呢?我是直接下载了demo编译的 bulding setting中的配置没有动