You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,havlenapetr
When I download your source code and build it on Ubuntu with NDKr5, i meet an error, below is the logs, the code was downloaded from debug branch today.
root@ubuntu:~/workspace/havlenapetr_FFMpeg_debug/jni/libffmpeg# /root/root/android-ndk-r5/ndk-build NDK_PROJECT_PATH=/root/workspace/havlenapetr_FFMpeg_debug/ TARGET_TOOLCHAIN=arm-eabi-4.4.0 TARGET_PLATFORM=android-8
Compile thumb : ffmpeg_jni <= com_media_ffmpeg_FFMpeg.c
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'getutime':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3812: error: storage size of 'rusage' isn't known
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: 'RUSAGE_SELF' undeclared (first use in this function)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: (Each undeclared identifier is reported only once
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: for each function it appears in.)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'FFMpeg_parseOptions':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:4399: warning: passing argument 4 of 'parse_options' from incompatible pointer type
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/../libffmpeg/cmdutils.h:132: note: expected 'void ()(const char *)' but argument is of type 'struct AVFormatContext * ()(const char )'
make: ** [/root/workspace/havlenapetr_FFMpeg_debug//obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpeg.o] Error 1
Can you tell me how to build your project?
The text was updated successfully, but these errors were encountered:
Hi,havlenapetr
When I download your source code and build it on Ubuntu with NDKr5, i meet an error, below is the logs, the code was downloaded from debug branch today.
root@ubuntu:~/workspace/havlenapetr_FFMpeg_debug/jni/libffmpeg# /root/root/android-ndk-r5/ndk-build NDK_PROJECT_PATH=/root/workspace/havlenapetr_FFMpeg_debug/ TARGET_TOOLCHAIN=arm-eabi-4.4.0 TARGET_PLATFORM=android-8
Compile thumb : ffmpeg_jni <= com_media_ffmpeg_FFMpeg.c
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'getutime':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3812: error: storage size of 'rusage' isn't known
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: 'RUSAGE_SELF' undeclared (first use in this function)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: (Each undeclared identifier is reported only once
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: for each function it appears in.)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'FFMpeg_parseOptions':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:4399: warning: passing argument 4 of 'parse_options' from incompatible pointer type
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/../libffmpeg/cmdutils.h:132: note: expected 'void ()(const char *)' but argument is of type 'struct AVFormatContext * ()(const char )'
make: ** [/root/workspace/havlenapetr_FFMpeg_debug//obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpeg.o] Error 1
Can you tell me how to build your project?
The text was updated successfully, but these errors were encountered: