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

ffmpeg for android #62

Open
SoloYe opened this issue Jul 18, 2013 · 1 comment
Open

ffmpeg for android #62

SoloYe opened this issue Jul 18, 2013 · 1 comment

Comments

@SoloYe
Copy link

SoloYe commented Jul 18, 2013

d:/cygwin/home/soloye/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpegPlayer.o: in function com_media_ffmpeg_FFMpegPlayer_setVideoSurface(JNIEnv, jobject, jobject):jni/com_media_ffmpeg_FFMpegPlayer.cpp:176: error: undefined reference to 'MediaPlayer::setVideoSurface(JNIEnv, jobject)'
d:/cygwin/home/soloye/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpegPlayer.o: in function com_media_ffmpeg_FFMpegPlayer_setDataSource(JNIEnv, jobject, jstring):jni/com_media_ffmpeg_FFMpegPlayer.cpp:147: error: undefined reference to 'MediaPlayer::setDataSource(char const_)'
d:/cygwin/home/soloye/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpegPlayer.o: in function com_media_ffmpeg_FFMpegPlayer_native_setup(JNIEnv, jobject, jobject):jni/com_media_ffmpeg_FFMpegPlayer.cpp:356: error: undefined reference to 'MediaPlayer::MediaPlayer()'
d:/cygwin/home/soloye/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpegPlayer.o: in function com_media_ffmpeg_FFMpegPlayer_native_setup(JNIEnv, jobject, jobject):jni/com_media_ffmpeg_FFMpegPlayer.cpp:363: error: undefined reference to 'MediaPlayer::setListener(MediaPlayerListener_)'
collect2: ld returned 1 exit status

@viacheslavokolitiy
Copy link

Try to add to LOCAL_SHARED_LIBRARIES libmediaplayer

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

2 participants