vlc compilation on Android, using Visual studio...
Posted: 03 Jun 2017 15:17
Hi !
I'm trying to port my own compilation of vlc on https://sourceforge.net/p/vlc2/code/HEAD/tree/ , using my own tool for that purpose - syncProj ( https://docs.google.com/document/d/1C1Y ... 3iysp1v35q ).
My own compilation is already somehow working on Win32 / Debug configuration, now I'm working towards android / arm cpu.
I have already compiled some of the projects to arm, but now I'm stumbled upon extlibs\ffmpeg\libavcodec - how to compile it for Android.
There exists instructions on how to cross compile ffmpeg projects using Visual studio native compiler, but I need more details on how to compile
extlibs\ffmpeg\libavcodec\arm\*.S assembly files.
I've understood that .S assembly files can be compiled using gcc compiler, and I have tried to execute gcc manually, but it gives some errors:
C:\Prototyping\vlc2\extlibs\ffmpeg\libavcodec\arm>C:\ProgramData\Microsoft\Andro
idNDK64\android-ndk-r11c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x
86_64\bin\arm-linux-androideabi-gcc.exe -I..\.. -c aacpsdsp_neon.S -o test.o 2>z
for example like this:
aacpsdsp_neon.S:26: Error: selected processor does not support ARM mode `vld1.32 {q0},[r1,:128]!'
...
I understand that there could be a lot of different command line parameters, controlling processor architecture / floating point processor architecture, something you can see in configure -
-mthumb, -mfpu=vfp, etc...
Can anyone give me exact command lines for .S assembly files, or perhaps even some guidance where to search more information.
I have even msys installed, I could try to configure ffmpeg for Android processor, but also need more information on used configure parameters - is it also available in some readme ?
I'm trying to port my own compilation of vlc on https://sourceforge.net/p/vlc2/code/HEAD/tree/ , using my own tool for that purpose - syncProj ( https://docs.google.com/document/d/1C1Y ... 3iysp1v35q ).
My own compilation is already somehow working on Win32 / Debug configuration, now I'm working towards android / arm cpu.
I have already compiled some of the projects to arm, but now I'm stumbled upon extlibs\ffmpeg\libavcodec - how to compile it for Android.
There exists instructions on how to cross compile ffmpeg projects using Visual studio native compiler, but I need more details on how to compile
extlibs\ffmpeg\libavcodec\arm\*.S assembly files.
I've understood that .S assembly files can be compiled using gcc compiler, and I have tried to execute gcc manually, but it gives some errors:
C:\Prototyping\vlc2\extlibs\ffmpeg\libavcodec\arm>C:\ProgramData\Microsoft\Andro
idNDK64\android-ndk-r11c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x
86_64\bin\arm-linux-androideabi-gcc.exe -I..\.. -c aacpsdsp_neon.S -o test.o 2>z
for example like this:
aacpsdsp_neon.S:26: Error: selected processor does not support ARM mode `vld1.32 {q0},[r1,:128]!'
...
I understand that there could be a lot of different command line parameters, controlling processor architecture / floating point processor architecture, something you can see in configure -
-mthumb, -mfpu=vfp, etc...
Can anyone give me exact command lines for .S assembly files, or perhaps even some guidance where to search more information.
I have even msys installed, I could try to configure ffmpeg for Android processor, but also need more information on used configure parameters - is it also available in some readme ?