Comments (4)
Sorry, but I can't help you.
Too little information from you about failure.
By the way, No need to change rakefile for support of ios 5.1.
You can compile kxmovie with help a current rakefile with ios 6.0 SDK and then run without problem on device with ios 5.1.
If for some reason, you must use 5.1 SDK, then you must replace all references of 6.0 SDK to 5.1:
Like replace 'iPhoneSimulator6.0.sdk' to 'iPhoneSimulator5.1.sdk' and so on.
from kxmovie.
The detail log is
Build settings from command line:
SDKROOT = iphoneos5.1
SYMROOT = tmp/build/
=== BUILD NATIVE TARGET kxmovie OF PROJECT kxmovie WITH CONFIGURATION Release ===
Check dependencies
CompileC tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxAudioManager.o kxmovie/KxAudioManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/liuqiang/iOS/kxmovie
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/liuqiang/.rvm/gems/ruby-1.9.3-p125/bin:/Users/liuqiang/.rvm/gems/ruby-1.9.3-p125@global/bin:/Users/liuqiang/.rvm/rubies/ruby-1.9.3-p125/bin:/Users/liuqiang/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -Wprotocol -Wdeprecated-declarations -g -Wno-conversion -Wno-sign-conversion -mthumb "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=5.1 -iquote /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-generated-files.hmap -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-own-target-headers.hmap -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-all-target-headers.hmap -iquote /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-project-headers.hmap -iquoteffmpeg -I/Users/liuqiang/iOS/kxmovie/tmp/build/Release-iphoneos/include -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/DerivedSources/armv7 -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/DerivedSources -F/Users/liuqiang/iOS/kxmovie/tmp/build/Release-iphoneos -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -include /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/kxmovie-Prefix-ejnhhxuorvsxdjanyvycgvupgilc/kxmovie-Prefix.pch -MMD -MT dependencies -MF /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxAudioManager.d --serialize-diagnostics /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxAudioManager.dia -c /Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m -o /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxAudioManager.o
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:81:9: error: use of undeclared identifier '_outputVolume'
_outputVolume = 0.5;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:108:5: error: use of undeclared identifier '_audioRoute'
_audioRoute = CFBridgingRelease(route);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:109:30: error: use of undeclared identifier '_audioRoute'
NSLog(@"AudioRoute: %@", _audioRoute);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:191:33: error: use of undeclared identifier '_samplingRate'
_outputFormat.mSampleRate = _samplingRate;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:203:5: error: use of undeclared identifier '_numBytesPerSample'
_numBytesPerSample = _outputFormat.mBitsPerChannel / 8;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:204:5: error: use of undeclared identifier '_numOutputChannels'
_numOutputChannels = _outputFormat.mChannelsPerFrame;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:206:52: error: use of undeclared identifier '_numBytesPerSample'
NSLog(@"Current output bytes per sample: %ld", _numBytesPerSample);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:207:48: error: use of undeclared identifier '_numOutputChannels'
NSLog(@"Current output num channels: %ld", _numOutputChannels);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:246:19: error: use of undeclared identifier '_samplingRate'
size = sizeof(_samplingRate);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:249:45: error: use of undeclared identifier '_samplingRate'
&_samplingRate),
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:254:41: error: use of undeclared identifier '_samplingRate'
NSLog(@"Current sampling rate: %f", _samplingRate);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:256:19: error: use of undeclared identifier '_outputVolume'
size = sizeof(_outputVolume);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:259:45: error: use of undeclared identifier '_outputVolume'
&_outputVolume),
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:263:41: error: use of undeclared identifier '_outputVolume'
NSLog(@"Current output volume: %f", _outputVolume);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:275:9: error: use of undeclared identifier '_playing'
if (_playing && _outputBlock ) {
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:275:21: error: use of undeclared identifier '_outputBlock'
if (_playing && _outputBlock ) {
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:278:9: warning: implicit declaration of function '_outputBlock' is invalid in C99 [-Wimplicit-function-declaration]
_outputBlock(_outData, numFrames, _numOutputChannels);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:278:43: error: use of undeclared identifier '_numOutputChannels'
_outputBlock(_outData, numFrames, _numOutputChannels);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:281:13: error: use of undeclared identifier '_numBytesPerSample'
if (_numBytesPerSample == 4) // then we've already got floats
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxAudioManager.m:290:51: error: use of undeclared identifier '_numOutputChannels'
vDSP_vsadd(_outData+iChannel, _numOutputChannels, &zero, (float *)ioData->mBuffers[iBuffer].mData, thisNumChannels, numFrames);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
CompileC tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxMovieDecoder.o kxmovie/KxMovieDecoder.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/liuqiang/iOS/kxmovie
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/liuqiang/.rvm/gems/ruby-1.9.3-p125/bin:/Users/liuqiang/.rvm/gems/ruby-1.9.3-p125@global/bin:/Users/liuqiang/.rvm/rubies/ruby-1.9.3-p125/bin:/Users/liuqiang/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -Wprotocol -Wdeprecated-declarations -g -Wno-conversion -Wno-sign-conversion -mthumb "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=5.1 -iquote /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-generated-files.hmap -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-own-target-headers.hmap -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-all-target-headers.hmap -iquote /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/kxmovie-project-headers.hmap -iquoteffmpeg -I/Users/liuqiang/iOS/kxmovie/tmp/build/Release-iphoneos/include -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/DerivedSources/armv7 -I/Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/DerivedSources -F/Users/liuqiang/iOS/kxmovie/tmp/build/Release-iphoneos -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -include /var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/kxmovie-Prefix-ejnhhxuorvsxdjanyvycgvupgilc/kxmovie-Prefix.pch -MMD -MT dependencies -MF /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxMovieDecoder.d --serialize-diagnostics /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxMovieDecoder.dia -c /Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m -o /Users/liuqiang/iOS/kxmovie/tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxMovieDecoder.o
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:33:20: error: unexpected '@' in program
userInfo = @{ NSLocalizedDescriptionKey : info };
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:279:17: warning: property 'type' requires method 'type' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:46:50: note: property declared here
@property (readonly, nonatomic) KxMovieFrameType type;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:279:17: warning: property 'duration' requires method 'duration' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:48:41: note: property declared here
@property (readonly, nonatomic) CGFloat duration;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:279:17: warning: property 'duration' requires method 'setDuration:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:48:41: note: property declared here
@property (readonly, nonatomic) CGFloat duration;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:279:17: warning: property 'position' requires method 'position' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:47:41: note: property declared here
@property (readonly, nonatomic) CGFloat position;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:279:17: warning: property 'position' requires method 'setPosition:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:47:41: note: property declared here
@property (readonly, nonatomic) CGFloat position;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:286:17: warning: property 'samples' requires method 'samples' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxAudioFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:52:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *samples;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:286:17: warning: property 'samples' requires method 'setSamples:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxAudioFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:52:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *samples;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:295:17: warning: property 'height' requires method 'height' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:58:44: note: property declared here
@property (readonly, nonatomic) NSUInteger height;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:295:17: warning: property 'height' requires method 'setHeight:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:58:44: note: property declared here
@property (readonly, nonatomic) NSUInteger height;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:295:17: warning: property 'width' requires method 'width' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:57:44: note: property declared here
@property (readonly, nonatomic) NSUInteger width;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:295:17: warning: property 'width' requires method 'setWidth:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:57:44: note: property declared here
@property (readonly, nonatomic) NSUInteger width;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:295:17: warning: property 'format' requires method 'format' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrame
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:56:52: note: property declared here
@property (readonly, nonatomic) KxVideoFrameFormat format;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:304:17: warning: property 'rgb' requires method 'rgb' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameRGB
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:63:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *rgb;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:304:17: warning: property 'rgb' requires method 'setRgb:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameRGB
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:63:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *rgb;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:304:17: warning: property 'linesize' requires method 'linesize' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameRGB
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:62:44: note: property declared here
@property (readonly, nonatomic) NSUInteger linesize;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:304:17: warning: property 'linesize' requires method 'setLinesize:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameRGB
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:62:44: note: property declared here
@property (readonly, nonatomic) NSUInteger linesize;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'chromaB' requires method 'chromaB' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:68:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *chromaB;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'chromaB' requires method 'setChromaB:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:68:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *chromaB;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'chromaR' requires method 'chromaR' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:69:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *chromaR;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'chromaR' requires method 'setChromaR:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:69:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *chromaR;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'luma' requires method 'luma' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:67:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *luma;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:314:17: warning: property 'luma' requires method 'setLuma:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxVideoFrameYUV
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:67:49: note: property declared here
@property (readonly, nonatomic, strong) NSData *luma;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:372:5: error: use of undeclared identifier '_isEOF'
_isEOF = NO;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:417:43: error: subscript requires size of interface 'NSArray', which is not constant in non-fragile ABI
NSInteger audioStream = [_audioStreams[selectedAudioStream] integerValue];
~~~~~~~~~~~~~^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:539:5: error: use of undeclared identifier '_isNetwork'
_isNetwork = isNetworkPath(path);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:542:28: error: use of undeclared identifier '_isNetwork'
if (needNetworkInit && _isNetwork) {
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:548:5: error: use of undeclared identifier '_path'; did you mean 'path'?
_path = path;
^~~~~
path
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:533:33: note: 'path' declared here
- (BOOL) openFile: (NSString *) path
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:642:36: error: use of undeclared identifier '_fps'
avStreamFPSTimeBase(st, 0.04, &_fps, &_videoTimeBase);
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:647:11: error: use of undeclared identifier '_fps'
_fps,
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:1016:13: error: use of undeclared identifier '_isEOF'
_isEOF = YES;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:345:17: warning: property 'fps' requires method 'fps' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieDecoder
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:79:41: note: property declared here
@property (readonly, nonatomic) CGFloat fps;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:345:17: warning: property 'path' requires method 'path' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieDecoder
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:75:43: note: property declared here
@property (readonly, nonatomic) NSString *path;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:345:17: warning: property 'isEOF' requires method 'isEOF' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieDecoder
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:76:38: note: property declared here
@property (readonly, nonatomic) BOOL isEOF;
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.m:345:17: warning: property 'isNetwork' requires method 'isNetwork' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
@implementation KxMovieDecoder
^
/Users/liuqiang/iOS/kxmovie/kxmovie/KxMovieDecoder.h:89:38: note: property declared here
@property (readonly, nonatomic) BOOL isNetwork;
^
26 warnings and 9 errors generated.
** BUILD FAILED **
The following build commands failed:
CompileC tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxAudioManager.o kxmovie/KxAudioManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC tmp/build/kxmovie.build/Release-iphoneos/kxmovie.build/Objects-normal/armv7/KxMovieDecoder.o kxmovie/KxMovieDecoder.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
liuqiangmatoMacBook-Pro:kxmovie liuqiang$
from kxmovie.
It seems what you used old xcode for build.
From version 4.4 xcode includes an update llvm compiler 4.0.
It's objective-c literals: @{}, @[] for collections and @() for boxing C expressions.
Also @properties are synthesized by default.
So these errors due to a lack of new features of llvm 4.0.
from kxmovie.
Thanks for your reply
from kxmovie.
Related Issues (20)
- 编译失败,原因如下,bitcode设置为NO后有别的库报错。有没有包含bitcode的库呢?
- 如何设置kxmovie打开视频的宽高比?以16:9或者4:3打开
- iphone5, iOS 10.3.2 can't play
- FFMpeg读取内存数据NSData用了AVIOContext * avio_in =avio_alloc_context(inbuffer,32768*20,0,NULL,read_buffer,NULL,NULL)
- Cannot make project run HOT 5
- 不支持 rtp 吗,如果支持的话,怎么设置sdp文件呢 HOT 9
- Bult failed HOT 1
- 支持h265么?硬解怎么设置??
- 'libavutil/avconfig.h' file not found HOT 1
- 编译起来到处报错........................... HOT 7
- How to customise kxmovie player
- 支持h265吗?
- rake failed HOT 1
- rake fail HOT 1
- 声音卡顿问题 播放卡顿
- add filter
- Suggestion
- 你好,我的场景是:iOS需要播放加密的m3u8文件,后台把每个ts地址进行加密,客户端进行解密后播放,请问支持吗?现在解密每个ts已实现,该怎么播放?希望得到您的帮助。 HOT 1
- 关于版权
- Need to feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kxmovie.