linker command failed with exit code 1 (use -v to see invocation) 错误分析以及解决方案
来源:互联网 发布:影驰gtx960大将优化 编辑:程序博客网 时间:2024/05/27 09:46
Undefined symbols for architecture i386:
"_deflate", referenced from:
-[ASIDataCompressor compressBytes:length:error:shouldFinish:] in ASIDataCompressor.o
"_deflateEnd", referenced from:
-[ASIDataCompressor closeStream] in ASIDataCompressor.o
"_deflateInit2_", referenced from:
-[ASIDataCompressor setupStream] in ASIDataCompressor.o
"_inflate", referenced from:
-[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o
"_inflateEnd", referenced from:
-[ASIDataDecompressor closeStream] in ASIDataDecompressor.o
"_inflateInit2_", referenced from:
-[ASIDataDecompressor setupStream] in ASIDataDecompressor.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
出现这种错误的原因多数是两个原因:
第一:文件没有引用到项目中
解决方法:在工作左边导航栏Target-->Build Phases-->compile Sources中,第三库库的所有.m文件都添加到里面,然后编译通过了;
第二:文件使用的系统库没有添加到项目中。
解决方法:添加系统库。
- linker command failed with exit code 1 (use -v to see invocation) 错误分析以及解决方案
- linker command failed with exit code 1 (use -v to see invocation)(解决方案)
- 错误1_clang: error: linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)的错误调试
- linker command failed with exit code 1 (use -v to see invocation)的错误调试
- iOS linker command failed with exit code 1 (use -v to see invocation)错误
- error: linker command failed with exit code 1 (use -v to see invocation 错误处理
- linker command failed with exit code 1 (use -v to see invocation)的错误调试
- Xcode错误处理- linker command failed with exit code 1 (use -v to see invocation)
- iOS:编译错误 linker command failed with exit code 1 (use -v to see invocation)
- error: linker command failed with exit code 1 (use -v to see invocation)错误解决方法
- iOS调试错误 linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)错误问题
- 错误 clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 关于linker command failed with exit code 1 (use -v to see invocation)错误
- IOS-59-解决错误:linker command failed with exit code 1 (use -v to see invocation)
- 错误: error linker command failed with exit code 1 (use –v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)错误调试
- matplotlib x轴时间显示
- 执行make menuconfig 出现错误
- MYSQL在dos下汉字乱码解决
- ASSERT_VALID和ASSERT宏分析
- Quartz使用示例总结(转载)
- linker command failed with exit code 1 (use -v to see invocation) 错误分析以及解决方案
- 非阻塞socket引发的数据不完整
- 数据结构的简单学习1
- IOS学习之Tab Bar的使用和视图切换
- 基础练习 特殊回文数
- 邪恶的浏览器DNS缓存
- ios学习笔记1
- 假如世界欺骗了你
- 完善bash历史命令审核