[FFmpeg-user] Error to compile app with Xcode 5

John Bishop brain2thai at gmail.com
Sun Sep 22 06:13:48 CEST 2013


Hallo,

I try to compile one app (linphone) on Mac Lion 10.8.5 with new Xcode5
(before have XCode 4.6.3 and can copile without any problem), i tried to
download by git last version of ffmpeg but i got same error, follow the
config.log file with the error


WARNING:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/pkg-config
not found, library detection may fail.
mktemp -u XXXXXX
rzg4LR
check_ld cc
check_cc
BEGIN /tmp/ffconf.jDfhx5S0.c
    1 int main(void){ return 0; }
END /tmp/ffconf.jDfhx5S0.c
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
-arch i386 -c -o /tmp/ffconf.Ea39Axy0.o /tmp/ffconf.jDfhx5S0.c
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-arch i386
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
-o /tmp/ffconf.ngx4JD1o /tmp/ffconf.Ea39Axy0.o
ld: building for MacOSX, but linking against dylib built for iOS Simulator
file
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/libSystem.dylib'
for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
C compiler test failed.

Thank you very much for any answer

Best Regards


More information about the ffmpeg-user mailing list