Build target PPSSPP Ld build-ios/Debug-iphonesimulator/PPSSPP.app/PPSSPP normal i386 cd /Users/lingling/Desktop/ppsspp setenv IPHONEOS_DEPLOYMENT_TARGET 5.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/lingling/Desktop/ppsspp/build-ios/Debug-iphonesimulator -L/Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/Debug-iphonesimulator -L/Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib -F/Users/lingling/Desktop/ppsspp/build-ios/Debug-iphonesimulator -filelist /Users/lingling/Desktop/ppsspp/build-ios/PPSSPP.build/Debug-iphonesimulator/PPSSPP.build/Objects-normal/i386/PPSSPP.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -Wl,-headerpad_max_install_names /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libCore.a -framework Foundation -framework AudioToolbox -framework CoreGraphics -framework QuartzCore -framework OpenGLES -framework UIKit -framework GLKit -framework OpenAL -lavformat -lavcodec -lavutil -lswresample -lswscale -liconv -lbz2 -framework CoreVideo /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libCommon.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libnative.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/librg_etc1.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libsha1.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libstb_image.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libstb_vorbis.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libzlib.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libsnappy.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libkirk.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libcityhash.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libxbrz.a /Users/lingling/Desktop/ppsspp/build-ios/lib/Debug/libxxhash.a -lavformat -lavcodec -lavutil -lswresample -lswscale -liconv -lbz2 -framework CoreVideo -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -o /Users/lingling/Desktop/ppsspp/build-ios/Debug-iphonesimulator/PPSSPP.app/PPSSPP ld: warning: directory not found for option '-L/Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/Debug-iphonesimulator' ld: warning: ignoring file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavformat.a, missing required architecture i386 in file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavformat.a (2 slices) ld: warning: ignoring file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavcodec.a, missing required architecture i386 in file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavcodec.a (2 slices) ld: warning: ignoring file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavutil.a, missing required architecture i386 in file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libavutil.a (2 slices) ld: warning: ignoring file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libswresample.a, missing required architecture i386 in file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libswresample.a (2 slices) ld: warning: ignoring file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libswscale.a, missing required architecture i386 in file /Users/lingling/Desktop/ppsspp/ffmpeg/ios/universal/lib/libswscale.a (2 slices) Undefined symbols for architecture i386: "_av_dump_format", referenced from: sceMp3Init(unsigned int) in libCore.a(sceMp3.o) "_av_find_best_stream", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) "_av_find_input_format", referenced from: sceMp3Init(unsigned int) in libCore.a(sceMp3.o) "_av_frame_get_pkt_duration", referenced from: MediaEngine::stepVideo(int) in libCore.a(MediaEngine.o) "_av_free", referenced from: Atrac::ReleaseFFMPEGContext() in libCore.a(sceAtrac.o) sceMp3ReleaseMp3Handle(unsigned int) in libCore.a(sceMp3.o) MediaEngine::closeMedia() in libCore.a(MediaEngine.o) "_av_free_packet", referenced from: _AtracDecodeData(int, unsigned char*, unsigned int*, unsigned int*, int*) in libCore.a(sceAtrac.o) sceAtracLowLevelDecode(int, unsigned int, unsigned int, unsigned int, unsigned int) in libCore.a(sceAtrac.o) sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) MediaEngine::stepVideo(int) in libCore.a(MediaEngine.o) "_av_get_default_channel_layout", referenced from: __AtracUpdateOutputMode(Atrac*, int) in libCore.a(sceAtrac.o) "_av_log_set_callback", referenced from: MediaEngine::openContext() in libCore.a(MediaEngine.o) "_av_log_set_level", referenced from: MediaEngine::openContext() in libCore.a(MediaEngine.o) "_av_malloc", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) MediaEngine::setVideoDim(int, int) in libCore.a(MediaEngine.o) "_av_read_frame", referenced from: _AtracDecodeData(int, unsigned char*, unsigned int*, unsigned int*, int*) in libCore.a(sceAtrac.o) sceAtracLowLevelDecode(int, unsigned int, unsigned int, unsigned int, unsigned int) in libCore.a(sceAtrac.o) sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) MediaEngine::stepVideo(int) in libCore.a(MediaEngine.o) "_av_register_all", referenced from: __AtracInit() in libCore.a(sceAtrac.o) "_av_samples_get_buffer_size", referenced from: _AtracDecodeData(int, unsigned char*, unsigned int*, unsigned int*, int*) in libCore.a(sceAtrac.o) sceAtracLowLevelDecode(int, unsigned int, unsigned int, unsigned int, unsigned int) in libCore.a(sceAtrac.o) sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) "_av_seek_frame", referenced from: Atrac::SeekToSample(int) in libCore.a(sceAtrac.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avcodec_alloc_frame", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) MediaEngine::setVideoDim(int, int) in libCore.a(MediaEngine.o) "_avcodec_close", referenced from: Atrac::ReleaseFFMPEGContext() in libCore.a(sceAtrac.o) MediaEngine::closeMedia() in libCore.a(MediaEngine.o) "_avcodec_decode_audio4", referenced from: _AtracDecodeData(int, unsigned char*, unsigned int*, unsigned int*, int*) in libCore.a(sceAtrac.o) sceAtracLowLevelDecode(int, unsigned int, unsigned int, unsigned int, unsigned int) in libCore.a(sceAtrac.o) sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) "_avcodec_decode_video2", referenced from: MediaEngine::stepVideo(int) in libCore.a(MediaEngine.o) "_avcodec_find_decoder", referenced from: MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avcodec_get_frame_defaults", referenced from: sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) "_avcodec_open2", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avcodec_register_all", referenced from: __AtracInit() in libCore.a(sceAtrac.o) "_avformat_alloc_context", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avformat_close_input", referenced from: Atrac::ReleaseFFMPEGContext() in libCore.a(sceAtrac.o) MediaEngine::closeMedia() in libCore.a(MediaEngine.o) "_avformat_find_stream_info", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avformat_open_input", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avio_alloc_context", referenced from: __AtracSetContext(Atrac*) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) MediaEngine::openContext() in libCore.a(MediaEngine.o) "_avpicture_fill", referenced from: MediaEngine::setVideoDim(int, int) in libCore.a(MediaEngine.o) "_avpicture_get_size", referenced from: MediaEngine::setVideoDim(int, int) in libCore.a(MediaEngine.o) "_swr_alloc_set_opts", referenced from: __AtracUpdateOutputMode(Atrac*, int) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) "_swr_convert", referenced from: _AtracDecodeData(int, unsigned char*, unsigned int*, unsigned int*, int*) in libCore.a(sceAtrac.o) sceAtracLowLevelDecode(int, unsigned int, unsigned int, unsigned int, unsigned int) in libCore.a(sceAtrac.o) sceMp3Decode(unsigned int, unsigned int) in libCore.a(sceMp3.o) "_swr_free", referenced from: Atrac::ReleaseFFMPEGContext() in libCore.a(sceAtrac.o) "_swr_init", referenced from: __AtracUpdateOutputMode(Atrac*, int) in libCore.a(sceAtrac.o) sceMp3Init(unsigned int) in libCore.a(sceMp3.o) "_sws_getCachedContext", referenced from: MediaEngine::updateSwsFormat(int) in libCore.a(MediaEngine.o) "_sws_scale", referenced from: MediaEngine::stepVideo(int) in libCore.a(MediaEngine.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)