justinjoy / gst-android-camera

GNU Lesser General Public License v2.1
32 stars 9 forks source link

Getting Issue When I am building gstreamer project #11

Closed shailendrapokhriyal96 closed 2 years ago

shailendrapokhriyal96 commented 4 years ago

GStreamer SDK version: 1.12 NDK version: ndk/18.1.5063045 OS: Ubuntu 18.04.1 LTS Application that you want to build

Issue: Expected NDK STL shared object file at /home/pmsl/Android/Sdk/ndk/18.1.5063045/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so

justinjoy commented 4 years ago

Then, what's the error? can you attach build log?

shailendrapokhriyal96 commented 4 years ago

Expected NDK STL shared object file at /home/pmsl/Android/Sdk/ndk/18.1.5063045/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so

justinjoy commented 4 years ago

Expected NDK STL shared object file at /home/pmsl/Android/Sdk/ndk/18.1.5063045/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so

We might need to check what happens while building in your environment. It seems to be the result, not the cause. That's the reason why we need to check the entire build log.

shailendrapokhriyal96 commented 4 years ago

but when i am syncing my project build then i get this cause :

/home/pmsl/Vickey/OTTProjects/R&D/modules/gst-android-camera/app/src/main/jni/Android.mk:52: /home/pmsl/Vickey/OTTProjects/R&D/gstreamers\share\gst-android\ndk-build\plugins.mk: No such file or directory /home/pmsl/Vickey/OTTProjects/R&D/modules/gst-android-camera/app/src/main/jni/Android.mk:58: /home/pmsl/Vickey/OTTProjects/R&D/gstreamers\share\gst-android\ndk-build\gstreamer-1.0.mk: No such file or directory make: *** No rule to make target `/home/pmsl/Vickey/OTTProjects/R&D/gstreamers\share\gst-android\ndk-build\gstreamer-1.0.mk'. Stop.

FAILURE: Build failed with an exception.

CONFIGURE FAILED in 18s

shailendrapokhriyal96 commented 4 years ago

sir can you give me the right answer why i am getting the above issue.

justinjoy commented 4 years ago

sir can you give me the right answer why i am getting the above issue.

I am not sure.

/home/pmsl/Vickey/OTTProjects/R&D/gstreamers\share\gst-android\ndk-build\plugins.mk: No such file or directory

You are using \ and / in combination, but I don't think that \ is correctly interpreted in a UNIX-like environment.

shailendrapokhriyal96 commented 4 years ago

Sir I am getting this issue after using the combination of ( / ) the error is resolved but now different error comes after that :

FAILURE: Build failed with an exception.

CONFIGURE FAILED in 4s

justinjoy commented 4 years ago

Not only is the partial log not useful, but the log presented above also contains the errors of the development tool only.

shailendrapokhriyal96 commented 4 years ago

But Sir how I can Resolve this issue:

FAILURE: Build failed with an exception.

justinjoy commented 4 years ago

But Sir how I can Resolve this issue:

I recommend starting from android tutorial[1], rather than this application. I think, once you become familiar with the tutorial, you can find the root cause of the problems.

[1] https://gstreamer.freedesktop.org/documentation/tutorials/android/link-against-gstreamer.html?gi-language=c