[Help/Compile]"VLC source not found" though cloned src

VLC for Android and Chrome OS specific usage questions
zj262144
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2012 02:50

[Help/Compile]"VLC source not found" though cloned src

Postby zj262144 » 28 Nov 2012 11:49

I followed this guide: http://wiki.videolan.org/AndroidCompile#Get_VLC_Source

My aim: on Ubuntu 12.04 x64 --- compile/build vlc(apk) for Android Emulator

I've done

Code: Select all

git clone git://git.videolan.org/vlc-ports/android.git vlc
at "~/Android" path

then (SDK & NDK is OK)
Image
the following code is 200+MB and that's for General/x86, right?
(following log)
zj@ubuntu:~/Android/vlc$ sh compile.sh

For an ARMv6 device without FPU, you need a build without FPU:
$ export NO_FPU=1
For an ARMv5 device or the Android emulator, you need an ARMv5 build:
$ export NO_ARMV6=1

If you plan to use a release build, run 'compile.sh release'
VLC source not found, cloning
Cloning into 'vlc'...
remote: Counting objects: 391445, done.
remote: Compressing objects: 100% (79616/79616), done.
remote: Total 391445 (delta 315446), reused 384729 (delta 309986)
Receiving objects: 100% (391445/391445), 202.84 MiB | 38 KiB/s, done.
Resolving deltas: 100% (315446/315446), done.
Checking out files: 100% (682/682), done.
Switched to a new branch 'android'
Applying the patches
Applying: libavcodec: add NEON runtime autodetection
Applying: libvlc: add language and frame rate to libvlc_media_track_info_t
Building the contribs
Guessing build system... x86_64-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.

Run "make" to start compilation.

Other targets:
* make install same as "make"
* make prebuilt fetch and install prebuilt binaries
* make list list packages
* make fetch fetch required source tarballs
* make fetch-all fetch all source tarballs
* make distclean clean everything and undo bootstrap
* make mostlyclean clean everything except source tarballs
* make clean clean everything
* make package prepare prebuilt packages
...................
so that means "ANDROID_ABI=armeabi" and "NO_ARMV6=1" isn't catched by configure?

BTW
Image

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: [Help/Compile]"VLC source not found" though cloned src

Postby edwardw » 28 Nov 2012 13:14

You need to do "export ANDROID_ABI=armeabi" before you start anything.

Please follow the instructions as written. For example, you should not be running sh configure.sh by hand (unless you really know what you are doing).

zj262144
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2012 02:50

Re: [Help/Compile]"VLC source not found" though cloned src

Postby zj262144 » 29 Nov 2012 12:24

You need to do "export ANDROID_ABI=armeabi" before you start anything.

Please follow the instructions as written. For example, you should not be running sh configure.sh by hand (unless you really know what you are doing).
but I do:
zj@ubuntu:~/Android$ ANDROID_SDK=/home/zj/Android/sdk
zj@ubuntu:~/Android$ ANDROID_NDK=/home/zj/Android/ndk
zj@ubuntu:~/Android$ export ANDROID_SDK=/home/zj/Android/sdk
zj@ubuntu:~/Android$ export ANDROID_NDK=/home/zj/Android/ndk
zj@ubuntu:~/Android$ export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools
zj@ubuntu:~/Android$ export ANDROID_ABI=armeabi
zj@ubuntu:~/Android$ export NO_ARMV6=1
zj@ubuntu:~/Android$ git clone git://git.videolan.org/vlc-ports/android.git
Cloning into 'android'...
remote: Counting objects: 14962, done.
remote: Compressing objects: 100% (4618/4618), done.
^Cceiving objects: 2% (393/14962), 84.00 KiB 1 KiB/s
zj@ubuntu:~/Android$ proxychains git clone git://git.videolan.org/vlc-ports/android.git
ProxyChains-3.1 (http://proxychains.sf.net)
Cloning into 'android'...
|DNS-request| git.videolan.org
|D-chain|-<>-127.0.0.1:7070-<><>-4.2.2.2:53-<><>-OK
|DNS-response| git.videolan.org is 88.191.250.118
|D-chain|-<>-127.0.0.1:7070-<><>-88.191.250.118:9418-<><>-OK
remote: Counting objects: 14962, done.
remote: Compressing objects: 100% (4618/4618), done.
remote: Total 14962 (delta 8858), reused 12767 (delta 7451)
Receiving objects: 100% (14962/14962), 3.97 MiB | 21 KiB/s, done.
Resolving deltas: 100% (8858/8858), done.
|DNS-response|: ubuntu is not exist
zj@ubuntu:~/Android$ ls
adt-bundle-linux.zip android-ndk-r8c-linux-x86.tar.bz2 ndk
android eclipse sdk
zj@ubuntu:~/Android$ cd android/
zj@ubuntu:~/Android/android$ ls
android-headers-gingerbread configure.sh gen-env.sh rename_package.sh
android-headers-hc COPYING java-libs vlc-android
android-headers-ics dump-libs.sh Makefile
android-libs find_modules.sh NEWS
compile.sh gcc patches
zj@ubuntu:~/Android/android$ export ANDROID_SDK=/home/zj/Android/sdk
zj@ubuntu:~/Android/android$ export ANDROID_NDK=/home/zj/Android/ndk
zj@ubuntu:~/Android/android$ export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools
zj@ubuntu:~/Android/android$ export ANDROID_ABI=armeabi
zj@ubuntu:~/Android/android$ export NO_ARMV6=1
zj@ubuntu:~/Android/android$ sh compile.sh
For an ARMv6 device without FPU, you need a build without FPU:
$ export NO_FPU=1
For an ARMv5 device or the Android emulator, you need an ARMv5 build:
$ export NO_ARMV6=1

If you plan to use a release build, run 'compile.sh release'
VLC source not found, cloning
Cloning into 'vlc'...
^C
zj@ubuntu:~/Android/android$
it still get "VLC source not found"...
(my network is congested now, so I use proxychain, it's should be the same...)

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: [Help/Compile]"VLC source not found" though cloned src

Postby edwardw » 29 Nov 2012 13:11

it still get "VLC source not found"...
(my network is congested now, so I use proxychain, it's should be the same...)
That is normal. It is supposed to say that, because vlc.git (libvlc source) is not checked out yet, so it will have to clone that. That is normal.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [Help/Compile]"VLC source not found" though cloned src

Postby Jean-Baptiste Kempf » 02 Dec 2012 14:53

You cut it during the vlc cloning....
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 39 guests