Open estefaniamiguel opened 11 years ago
according this you are trying to compile for simulator, we do not support simulator at this time.
test.app/FFAVFrames-test normal i386 On Jan 29, 2013, at 12:22 PM, estefaniamiguel notifications@github.com wrote:
When compiling with armv7 the following errors occur
Ld /Users/fdviosteam/Library/Developer/Xcode/DerivedData/FFAVFrames-test-aucswztwwuxqdtdapdyraxghkswf/Build/Products/Debug-iphonesimulator/FFAVFrames-test.app/FFAVFrames-test normal i386 cd /Users/fdviosteam/Downloads/FFPlayer-tests-master setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 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.0.sdk -L/Users/fdviosteam/Library/Developer/Xcode/DerivedData/FFAVFrames-test-aucswztwwuxqdtdapdyraxghkswf/Build/Products/Debug-iphonesimulator -F/Users/fdviosteam/Library/Developer/Xcode/DerivedData/FFAVFrames-test-aucswztwwuxqdtdapdyraxghkswf/Build/Products/Debug-iphonesimulator -F/Users/fdviosteam/Downloads/FFPlayer-tests-master -filelist /Users/fdviosteam/Library/Developer/Xcode/DerivedData/FFAVFrames-test-aucswztwwuxqdtdapdyraxghkswf/Build/Intermediates/FFAVFrames-test.build/Debug-iphonesimulator/FFAVFrames-test.build/Objects-normal/i386/FFAVFrames-test.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework AudioToolbox -framework CoreAudio -lz.1.2.5 -framework FFPlayer -framework CoreMedia -framework CoreGraphics -framework CoreImage -framework AVFoundation -framework FFmpegDecoder -framework AssetsLibrary -framework CoreVideo -framework UIKit -framework Foundation -o /Users/fdviosteam/Library/Developer/Xcode/DerivedData/FFAVFrames-test-aucswztwwuxqdtdapdyraxghkswf/Build/Products/Debug-iphonesimulator/FFAVFrames-test.app/FFAVFrames-test
Undefined symbols for architecture i386: "_av_close_input_file", referenced from: -[Frames dealloc] in FFPlayer(Frames.o) "_av_find_stream_info", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_av_free", referenced from: -[Frames dealloc] in FFPlayer(Frames.o) "_av_free_packet", referenced from: -[Frames stepFrame] in FFPlayer(Frames.o) "_av_open_input_file", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_av_read_frame", referenced from: -[Frames stepFrame] in FFPlayer(Frames.o) "_av_register_all", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_avcodec_alloc_frame", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_avcodec_close", referenced from: -[Frames dealloc] in FFPlayer(Frames.o) "_avcodec_decode_video2", referenced from: -[Frames stepFrame] in FFPlayer(Frames.o) "_avcodec_find_decoder", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_avcodec_flush_buffers", referenced from: -[Frames seekTime:] in FFPlayer(Frames.o) "_avcodec_open", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_avcodec_register_all", referenced from: -[Frames initWithVideo:] in FFPlayer(Frames.o) "_avformat_seek_file", referenced from: -[Frames seekTime:] in FFPlayer(Frames.o) "_avpicture_alloc", referenced from: -[Frames setupScaler] in FFPlayer(Frames.o) "_avpicture_free", referenced from: -[Frames setupScaler] in FFPlayer(Frames.o) -[Frames dealloc] in FFPlayer(Frames.o) "_sws_freeContext", referenced from: -[Frames setupScaler] in FFPlayer(Frames.o) -[Frames dealloc] in FFPlayer(Frames.o) "_sws_getContext", referenced from: -[Frames setupScaler] in FFPlayer(Frames.o) "_sws_scale", referenced from: -[Frames convertFrameToRGB] in FFPlayer(Frames.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
— Reply to this email directly or view it on GitHub.
it just doesn't make sense to support simulator when the operations characteristics are so much different between device and simulator
please delete this issue, i was testing on the simulator and it only works on the device