[Libav-user] Duplicate symbol _ff_inverse in libavcodec.a and libavutil.a when building in xcode

Patrick humer4489 at gmail.com
Sun Oct 16 18:57:33 CEST 2011


Hi,

When building version .8 in my xcode project, I am getting this error:

duplicate symbol _ff_inverse in ../lib/libavcodec.a(inverse.o) and ../lib/libavutil.a(inverse.o) collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1


I found this entry in the .8 changelog:

commit 3fc548df28f765c9f649248e1e14079120e7c74e
Author: Diego Pettenò <flameeyes at gmail.com>
Date:   Wed Jul 21 12:37:37 2010 +0000
Make ff_inverse stay with libavutil, and optional copy it to libavcodec.


Is there anything I can/should do to resolve this issue? 
Btw, the error only occurs when I set the search paths in xcode to point to the ../lib and ../include folders where all my required .a and .h files reside, including those of libav.


Thanks,
Pat




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111016/0e769535/attachment.html>


More information about the Libav-user mailing list