Cannot run tutorial

StasLatGTTT staslatgttt at gmail.com
Mon Dec 15 03:05:22 PST 2014


When I use eclipse, log seems like everything is OK, but instead of running
application it shows me the window with message "Your project contains
error(s), please, fix them before running your application". Also, words
like GST_DEBUG_CATEGORY_STATIC (debug_category);
are underlined with red.

If I try to compile projet manually with ndk-build, log looks like this:

[staslatgttt at localhost android-tutorial-5]$ ndk-build
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so
/home/staslatgttt/work/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold:
error: cannot find -lOpenSLES
/home/staslatgttt/work/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold:
error: cannot find -lGLESv2
/home/staslatgttt/work/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold:
error: cannot find -lEGL
gstglfiltershader.c:96: error: undefined reference to 'glTexImage2D'
gstglfiltershader.c:100: error: undefined reference to 'glTexParameteri'
gstglfiltershader.c:101: error: undefined reference to 'glTexParameteri'
gstglfiltershader.c:102: error: undefined reference to 'glTexParameteri'
gstglfiltershader.c:103: error: undefined reference to 'glTexParameteri'
gstglwindow_android_egl.c:222: error: undefined reference to
'eglQuerySurface'
gstglwindow_android_egl.c:224: error: undefined reference to
'eglQuerySurface'
gsteglimagememory.c:426: error: undefined reference to 'eglGetError'
gsteglimagememory.c:479: error: undefined reference to 'eglGetError'
gsteglimagememory.c:545: error: undefined reference to 'eglGetError'
gstglcontext_egl.c:489: error: undefined reference to 'eglSwapBuffers'
gstglcontext_egl.c:104: error: undefined reference to 'eglGetError'
gstglcontext_egl.c:268: error: undefined reference to 'eglGetDisplay'
gstglcontext_egl.c:272: error: undefined reference to 'eglInitialize'
gstglcontext_egl.c:315: error: undefined reference to 'eglBindAPI'
gstglcontext_egl.c:304: error: undefined reference to 'eglBindAPI'
gstglcontext_egl.c:194: error: undefined reference to 'eglChooseConfig'
gstglcontext_egl.c:340: error: undefined reference to 'eglCreateContext'
gstglcontext_egl.c:354: error: undefined reference to 'eglQueryString'
gstglcontext_egl.c:376: error: undefined reference to
'eglCreateWindowSurface'
gstglcontext_egl.c:393: error: undefined reference to
'eglCreatePbufferSurface'
gstglcontext_egl.c:470: error: undefined reference to 'eglMakeCurrent'
gstglcontext_egl.c:450: error: undefined reference to 'eglDestroySurface'
gstglcontext_egl.c:453: error: undefined reference to 'eglDestroyContext'
gstglcontext_egl.c:455: error: undefined reference to 'eglReleaseThread'
gstgldisplay_egl.c:62: error: undefined reference to 'eglTerminate'
gstgldisplay_egl.c:86: error: undefined reference to 'eglGetDisplay'
opensles.c:41: error: undefined reference to 'slCreateEngine'
openslessink.c:184: error: undefined reference to
'SL_IID_AUDIOIODEVICECAPABILITIES'
openslesringbuffer.c:748: error: undefined reference to 'SL_IID_ENGINE'
openslesringbuffer.c:748: error: undefined reference to 'SL_IID_OUTPUTMIX'
openslesringbuffer.c:179: error: undefined reference to
'SL_IID_ANDROIDSIMPLEBUFFERQUEUE'
openslesringbuffer.c:179: error: undefined reference to 'SL_IID_RECORD'
openslesringbuffer.c:443: error: undefined reference to 'SL_IID_BUFFERQUEUE'
openslesringbuffer.c:443: error: undefined reference to 'SL_IID_VOLUME'
openslesringbuffer.c:443: error: undefined reference to 'SL_IID_PLAY'
fcstr.c:252: error: undefined reference to 'regcomp'
fcstr.c:258: error: undefined reference to 'regerror'
fcstr.c:263: error: undefined reference to 'regexec'
fcstr.c:270: error: undefined reference to 'regerror'
fcstr.c:274: error: undefined reference to 'regfree'
gstinfo.c:1864: error: undefined reference to 'dladdr'
gwakeup.c:146: error: undefined reference to 'eventfd'
glib-unix.c:98: error: undefined reference to 'pipe2'
gthread-posix.c:435: error: undefined reference to 'pthread_rwlock_init'
gthread-posix.c:444: error: undefined reference to 'pthread_rwlock_destroy'
gthread-posix.c:641: error: undefined reference to 'pthread_condattr_init'
gthread-posix.c:658: error: undefined reference to
'pthread_condattr_destroy'
gthread-posix.c:444: error: undefined reference to 'pthread_rwlock_destroy'
gthread-posix.c:534: error: undefined reference to 'pthread_rwlock_wrlock'
gthread-posix.c:552: error: undefined reference to
'pthread_rwlock_trywrlock'
gthread-posix.c:572: error: undefined reference to 'pthread_rwlock_unlock'
gthread-posix.c:591: error: undefined reference to 'pthread_rwlock_rdlock'
gthread-posix.c:609: error: undefined reference to
'pthread_rwlock_tryrdlock'
gthread-posix.c:629: error: undefined reference to 'pthread_rwlock_unlock'
gthread-posix.c:880: error: undefined reference to
'pthread_cond_timedwait_relative_np'
./bindtextdom.c:313: error: undefined reference to 'pthread_rwlock_unlock'
./bindtextdom.c:92: error: undefined reference to 'pthread_rwlock_wrlock'
./bindtextdom.c:92: error: undefined reference to 'pthread_rwlock_wrlock'
./loadmsgcat.c:1277: error: undefined reference to 'pthread_rwlock_init'
./textdomain.c:73: error: undefined reference to 'pthread_rwlock_wrlock'
./textdomain.c:117: error: undefined reference to 'pthread_rwlock_unlock'
./dcigettext.c:1011: error: undefined reference to 'pthread_rwlock_rdlock'
./dcigettext.c:530: error: undefined reference to 'pthread_rwlock_rdlock'
./finddomain.c:87: error: undefined reference to 'pthread_rwlock_rdlock'
collect2: error: ld returned 1 exit status
make: *** [buildsharedlibrary_armeabi] Error 1



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Cannot-run-tutorial-tp4669912p4669916.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list