目标c中的链接器错误 [英] linker error in objective c

查看:104
本文介绍了目标c中的链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用外部库,同时将它们添加到我的ipad应用程序代码中(设备调试)

I use external libraries while adding them to my code for ipad application(Device debug)

它给我这个错误错误:libc.h:没有这样的文件或目录

it give me this error error: libc.h: No such file or directory

任何建议如何解决这个问题

any suggestion how to fix that

祝你好运

推荐答案

如果你有解决方案,你可以在这里发布,因为我有同样的问题,我看到这个问题被问到已经有一年了。由于某些原因我无法发表评论,因此我将其作为答案加入,并非有意。

If you have the solution to this, can you post it here, because I have the same issue and I see it has been a year since this question has been asked. I cannot post comments for some reason so I added this as an answer, not intended.

这是 - > DCMTK问题错误:libc.h:没有这样的文件或目录你的问题的解决方案?你在这里发布了同样的问题。如果这是答案,请标记。

And is this -> DCMTK question error: libc.h: No such file or directory the solution to your question? You have the same question posted here. Please mark it if this is the answer.

编辑:在根文件夹中的/ usr / include中有一些标题可用。 libc.h就是其中之一。我将它包含在我的iPhoneOS SDK的usr / include文件夹中。而且它不再抱怨了。基本上,^ Carl Norum所说的是正确的,找出从哪里获取并添加它,或删除对它的依赖。问题解决了。

EDIT : In /usr/include from the root folder there are some headers available. libc.h is one of them. I included it in my iPhoneOS SDK's usr/include folder. And it doesn't complain anymore. Basically, what ^ Carl Norum said was right, "figure out where to get it and add it, or remove dependencies on it". The problem is resolved.

这篇关于目标c中的链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆