我按照说明操作,这是错误:
duplicate symbol _kGPUImageGaussianBlurFragmentShaderString in:
/.../CardIO/libCardIO.a(CardIOGPUTransformFilter.o)
/.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
duplicate symbol _kGPUImageGaussianBlurVertexShaderString in:
/.../CardIO/libCardIO.a(CardIOGPUTransformFilter.o)
/.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
duplicate symbol _kPassthroughFragmentShader in:
/.../CardIO/libCardIO.a(CardIOGPUTransformFilter.o)
/.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
duplicate symbol _kTransformVertexShader in:
/.../CardIO/libCardIO.a(CardIOGPUTransformFilter.o)
/.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
ld: 4 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我正在使用XCode 4.6和card.io SDK 3.0.10版。我的链接器标志只是-ObjC和-lstdc ++
答案 0 :(得分:1)
来自card.io的Josh在这里。这是一个bug;我们有一个修复程序,很快就会发布新版本。一旦它出来我会在这里更新。
更新:解决方案已经解决。请抓住最新版本。