Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Mach-O Linker Error #4

@seanooi

Description

@seanooi

I was trying to build my project and failed with the following error message

duplicate symbol _kGPUImageGaussianBlurFragmentShaderString in:
    /.../libGPUImage.a(GPUImageGaussianBlurFilter.o)
    /.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
duplicate symbol _kGPUImageGaussianBlurVertexShaderString in:
    /.../libGPUImage.a(GPUImageGaussianBlurFilter.o)
    /.../CardIO/libCardIO.a(CardIOGPUGaussianBlurFilter.o)
ld: 2 duplicate symbols for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I fixed it by renaming those constants in GPUImage's library. I would suggest changing those constant names to something CardIO exclusive in your next update. It would help avoid confusions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions