ramgalin / gstreamer-android-with-cmake

Connect gstreamer to android app with CMake
GNU General Public License v3.0
4 stars 0 forks source link

windown android gstreamer #2

Open gremsyQuanLe opened 8 hours ago

gremsyQuanLe commented 8 hours ago

hi guy! this is my gstreamer link on windowsn can you guide me to build Thank you!

image

ramgalin commented 3 hours ago

Hi! In app/src/main/cpp/cmake-external-modules/dependencies.cmake of this gstreamer-android-with-cmake project put the path to the folder you mentioned.

Be careful, Cmake is sensitive to windows paths, you need to write the path using / slashes instead of windows's \. So in your case it will be: set(GSTREAMER_ROOT "D:/Projects/gstreamer-1.20.6-android" CACHE PATH "gstreamer root folder")

Then try to build the project. Also it is helpful to delete .cxx folder in your android project after you make any changes in CMakeLists.txt. .cxx - caches the paths to libs and your changes may not be applied until you delete this folder.