Coder Social home page Coder Social logo

** BUILD FAILED ** with ios 5.1 about kxmovie HOT 4 CLOSED

kolyvan avatar kolyvan commented on August 16, 2024
** BUILD FAILED ** with ios 5.1

from kxmovie.

Comments (4)

kolyvan avatar kolyvan commented on August 16, 2024

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.

sharp avatar sharp commented on August 16, 2024

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.

kolyvan avatar kolyvan commented on August 16, 2024

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.

sharp avatar sharp commented on August 16, 2024

Thanks for your reply

from kxmovie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.