Using libVLC for Android on a Windows platform

I am trying to learn libVLC for Android, so why create a VLC project for Android on Windows 7, but I am running into problems. When I import a project and set up all the help libraries and try to compile using the NDK, it gives the following error

make.exe: *** No rule to make target `jni/..//modules/codec/omxil/iomx.cpp', needed by `obj/local/armeabi/objs-debug/iomx gingerbread/__//modules/codec/omxil/iomx.o'. Stop. 

While I try to find the file in my folder, I can only find iomx.h and iomx.cpp, but I downloaded the project from the official repository.

 git clone git://git.videolan.org/vlc-ports/android.git 

I’m ready to follow the tutorial with the correct settings to configure and compile Android VLC applications, but I can’t find any tutorial, and the official says that it is for Linux and you will need Linux or Mac OSX to follow this tutorial Link to the tutorial allowance . So my first question is:

  • Can we compile the VLC android project using all the mentioned tools, such as (Android SDK, NDK, ant, etc.) on the Windows platform.
  • Secondly, I cannot find detailed or very light documentation except for this VLC Documentation link . Is there any other easy-to-understand libVLC documentation more specific for using androids

Please help me or direct me in the right direction. I want to develop an application for a Docked DVD device for Android.

+7
c ++ android android-ndk vlc libvlc
source share
1 answer

I found my answer about it myself and today I watched how this question remained unanswered, so I thought that he would answer it so that it could be useful to others.

In the first part of the β€œNO” answer, we cannot compile libVLC code on Windows using the NDK due to the complicated compilation process of libVLC. it cannot be compiled using the NDK tools, so VLC issued a script to compile libVLC, which is located in the main directory when loading the code from the Git repository named Compile.sh, and it can only be run on linux or mac, as based on Unix. ie to compile libVLC you need to run compile.sh, which requires a lot of Linux-based tools, as mentioned in their official compilation tutorial. you can try all these packages through cygwin on windows, but I have not tried that I switched to Ubuntu 13.04 so that I can also learn the Linux environment ... :). One thing I would like to mention here, if your goal is to simply use the compiled C ++ libVLC code in your project via java, then you can do it on Windows using the libVLC.so file, but if you need to change the code libVLC and recompile it then you will need to run compile.sh, which requires linux or mac.

For the second answer, the same one that, as far as I know, the only documentation I found is what I mentioned in my question.

+3
source share

All Articles