Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compile-ijk.sh]can not compile the file. #51

Closed
ryanjunhung opened this issue Jul 18, 2014 · 3 comments
Closed

[compile-ijk.sh]can not compile the file. #51

ryanjunhung opened this issue Jul 18, 2014 · 3 comments

Comments

@ryanjunhung
Copy link

[armeabi-v7a] Install : libijkadk.so => libs/armeabi-v7a/libijkadk.so
[armeabi-v7a] Install : libijkffmpeg.so => libs/armeabi-v7a/libijkffmpeg.so
[armeabi-v7a] Compile thumb : ijkplayer <= ijkplayer_jni.c
ijkplayer_jni.c: In function '_onNativeControlResolveSegmentConcat':
ijkplayer_jni.c:385:5: error: unknown type name 'IJKFormatSegmentConcatContext'
IJKFormatSegmentConcatContext _fsc_concat = (IJKFormatSegmentConcatContext *)data;
^
ijkplayer_jni.c:385:50: error: 'IJKFormatSegmentConcatContext' undeclared (first use in this function)
IJKFormatSegmentConcatContext *fsc_concat = (IJKFormatSegmentConcatContext *)data;
^
ijkplayer_jni.c:385:50: note: each undeclared identifier is reported only once for each function it appears in
ijkplayer_jni.c:385:81: error: expected expression before ')' token
IJKFormatSegmentConcatContext *fsc_concat = (IJKFormatSegmentConcatContext *)data;
^
ijkplayer_jni.c:391:15: error: request for member 'count' in something not a structure or union
fsc_concat->count = count;
^
ijkplayer_jni.c: In function '_onNativeControlResolveSegment':
ijkplayer_jni.c:419:8: error: 'IJKFormatSegmentContext' has no member named 'duration'
fsc->duration = duration;
^
ijkplayer_jni.c:420:8: error: 'IJKFormatSegmentContext' has no member named 'duration'
fsc->duration *= 1000;
^
ijkplayer_jni.c: In function 'onNativeControlResolveSegmentOffline':
ijkplayer_jni.c:448:8: error: 'IJKFormatSegmentContext' has no member named 'duration'
fsc->duration = duration;
^
ijkplayer_jni.c:449:8: error: 'IJKFormatSegmentContext' has no member named 'duration'
fsc->duration *= 1000;
^
ijkplayer_jni.c: In function 'format_control_message':
ijkplayer_jni.c:466:14: error: 'IJKAVF_CM_RESOLVE_SEGMENT_CONCAT' undeclared (first use in this function)
case IJKAVF_CM_RESOLVE_SEGMENT_CONCAT:
^
ijkplayer_jni.c:470:14: error: 'IJKAVF_CM_RESOLVE_SEGMENT_OFFLINE' undeclared (first use in this function)
case IJKAVF_CM_RESOLVE_SEGMENT_OFFLINE:
^
make: *
* [ijkplayer_jni.o] Error 1

@jgfntu
Copy link

jgfntu commented Jul 18, 2014

需要手动到ffmpeg目录下,将分支切换到ijk-dev-0.1.3,主mater的脚本还没修改过来吧

@bbcallen
Copy link
Contributor

已修正: c1dd232

@ryanjunhung
Copy link
Author

OKOK ~ Thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants