Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么我的导入之后报错 #46

Open
IPOSDai opened this issue Mar 31, 2018 · 3 comments
Open

为什么我的导入之后报错 #46

IPOSDai opened this issue Mar 31, 2018 · 3 comments

Comments

@IPOSDai
Copy link

IPOSDai commented Mar 31, 2018

当我导入后,添加libz.tdb后'libxml/tree.h' file not found, 之后我导入libxml.tdb, 然后又设置了Header search Path中${SDK_ROOT}/usr/include/libxml2添加后,然后整个工程就红了。

@yunfeiyang66
Copy link

你还,请问你解决了吗? 我导入之后也同样的报错了。按照redame操作的,解决了回复一下,急急急急急!

@daishuyi
Copy link

上面的方法都改动,然后寻找工程搜索所有的.c文件,点击这是.c文件,去xcode最右边有一个 type,把它改成 Objective-C Source。再运行项目试试。反正我这么搞了之后就好使了

@JJep
Copy link

JJep commented May 15, 2018

在build settings 的header search paths 中添加 /usr/include/libxml2 就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants