kxmovie icon indicating copy to clipboard operation
kxmovie copied to clipboard

Dropping 'output' folder to my project Link Error!!!

Open yuchuanfeng opened this issue 9 years ago • 8 comments

Hi~ I clone the kxmovie , and build success, get the 'output' folder, but after dropping the 'output' folder to my project build error, remind link error:

ld: warning: ld: warning: ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavutil.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavutil.a (4 slices)ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libkxmovie.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libkxmovie.a (4 slices)

ld: warning: ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libswresample.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libswresample.a (4 slices) ld: warning: ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavformat.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavformat.a (4 slices) ld: warning: ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libswscale.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libswscale.a (4 slices) ld: warning: ignoring file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavcodec.a, missing required architecture x86_64 in file /Users/123abc/Desktop/代码/test/12--videotest/12--videotest/output/libavcodec.a (4 slices)

Undefined symbols for architecture x86_64: "OBJC_CLASS$_KxMovieViewController", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command fai

I am relatively a newbie programming in iOS and I have been not able to solve this problem yet. I have tried to replace ffmpeg libs with others built directly from ffmpeg source code but it didn't work neither.

Thank you in advance

yuchuanfeng avatar May 11 '15 04:05 yuchuanfeng

me too.

egamesir avatar May 12 '15 02:05 egamesir

这个问题我解决了 , 你可以将libbz2.1.0\libiconv 添加到工程再编译试试

yuchuanfeng avatar May 12 '15 08:05 yuchuanfeng

好的,非常感谢。

另外,kxmovie的效果怎么样啊?您实验过了吗?


Eric.Liu

2015-05-12 16:40 GMT+08:00 yuchuanfeng [email protected]:

这个问题我解决了 , 你可以将libbz2.1.0\libiconv 添加到工程再编译试试

— Reply to this email directly or view it on GitHub https://github.com/kolyvan/kxmovie/issues/102#issuecomment-101190480.

egamesir avatar May 12 '15 09:05 egamesir

刚开始学习怎么用, 具体效果还没实验

yuchuanfeng avatar May 12 '15 09:05 yuchuanfeng

ok,期待与您多多交流


Eric.Liu

2015-05-12 17:13 GMT+08:00 yuchuanfeng [email protected]:

刚开始学习怎么用, 具体效果还没实验

— Reply to this email directly or view it on GitHub https://github.com/kolyvan/kxmovie/issues/102#issuecomment-101205479.

egamesir avatar May 12 '15 09:05 egamesir

好的

yuchuanfeng avatar May 12 '15 09:05 yuchuanfeng

sudo rake build_movie


Eric.Liu

2015-06-08 10:32 GMT+08:00 hanjiandu [email protected]:

I clone the kxmovie , and build success,but i can not find the 'output' folder . Can someone tell me ? Thanks

— Reply to this email directly or view it on GitHub https://github.com/kolyvan/kxmovie/issues/102#issuecomment-109835908.

egamesir avatar Jun 08 '15 03:06 egamesir

我也遇到这个问题,libbz2.1.0\libiconv 添加到工程再编译,还是无法编译。 Undefined symbols for architecture x86_64: "OBJC_CLASS$_KxMovieViewController", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

renzifeng avatar Feb 16 '16 06:02 renzifeng