多文件开发Import错误导致 clang: error: linker command failed with exit code 1 (use -v to see invocation)
2016-03-25 22:29
651 查看
多文件开发中import 出错会 导致 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Clip.m
Clip.h中 #import "Common.h" 就会出现错误,将 #import "Common.h" 放进Clip.m 删除Clip.h 里的#import "Common.h“ ,Build Successed
至于为啥报错,还有待研究学习,有知道原因的请留言回复哈
// // Clip.m // 01_NSString // // #import "Clip.h" @implementation Clip - (void)AddBullet1000 { _cbullet = num_5; _times = num_1; } @end
Clip.m
Clip.h中 #import "Common.h" 就会出现错误,将 #import "Common.h" 放进Clip.m 删除Clip.h 里的#import "Common.h“ ,Build Successed
至于为啥报错,还有待研究学习,有知道原因的请留言回复哈
相关文章推荐
- TCP连接状态详解 http://blog.csdn.net/mei922/article/details/4801858
- linker command failed with exit code 1 (use -v to see invocation)
- 辛东方:人工智能究竟离我们还有多远?
- 从AlphaGo谈通用型人工智能设计
- 【bzoj1260】[CQOI2007]涂色paint
- leetcode——217——Contains Duplicate
- rails中如何在a标签中添加其他标签
- 【POJ 1691】 Painting A Board(dfs)
- [LeetCode]Palindrome Pairs
- PAT (Advanced Level) Practise 1090 Highest Price in Supply Chain (25)
- 主线程MainThread与渲染线程RenderThread
- http://www.cnblogs.com/hnrainll/archive/2011/12/29/2305582.html
- 【POJ 3411】 Paid Roads(搜索/DP)
- dcmtk进行movescu提示:Failed: IdentifierDoesNotMatchSOPClass
- 22. 使用 awk / grep / head / tail 命令进行文本 / 日志分析 (/home/D/acc.log)
- 配置rewrite
- The Responder Chain(响应链)
- leetcode-11 Container With Most Water
- EXPLAIN
- MacBook Air密码忘了,苹果电脑密码忘了怎么办