构建 iPhone 应用程序时的警告消息
我正在使用模拟器的“调试”配置构建 iPhone 应用程序。我收到此警告:
ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/GData.build/Debug/GDataFramework.build/Objects-normal/i386' following -L not found
我也收到此警告:
ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/Debug' following -F not found
有任何见解吗?我该如何解决这个问题?这些警告究竟意味着什么?
I'm building an iPhone application using the Simulator on "Debug" configuration. I get this warning:
ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/GData.build/Debug/GDataFramework.build/Objects-normal/i386' following -L not found
I also get this warning:
ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/Debug' following -F not found
Any insight? How can I fix this? What do these warnings even mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅:
找不到 -L 之后的目录“X”
See this:
Directory 'X' following -L not found
-L
通常是链接器ld
的参数,告诉它在哪些目录中搜索与代码链接的库。事实上,您收到此警告本身并不是问题,除非您也收到由它引起的错误(情况似乎并非如此)。
ld
会很高兴地忽略不存在的目录。如果您想摆脱警告,您可以:
-L
is usually the argument to the linkerld
to tell it what directories to search in for libraries to link with your code.The fact that you're getting this warning is not a problem in itself unless you also get errors caused by it (which doesn't appear to be the case).
ld
will happily ignore directories that don't exist.If you want to get rid of the warnings, you can either: