So I get Android VLC compiling ok, until it hits an ebml error. It can not get past this point. I had to download a library to allow the android NDK correctly, I was wondering if there was some compatibility layer for the ebml library. I have not been able to find anything on it.
The error is:
Code: Select all
tEndPosition() const':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/EbmlElement.h:465: error: 'assert' was not declared in this scope
In file included from /home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:40:
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/EbmlBinary.h: In member function 'void libebml::EbmlBinary::CopyBuffer(const binary*, uint32)':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/EbmlBinary.h:81: error: 'free' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/EbmlBinary.h:82: error: 'malloc' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/EbmlBinary.h:83: error: 'memcpy' was not declared in this scope
In file included from /home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:41:
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h: At global scope:
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:51: error: expected class-name before '{' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:58: error: expected unqualified-id before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:58: error: expected ')' before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:58: error: expected ';' before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:59: error: expected unqualified-id before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:59: error: expected ')' before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:59: error: expected ';' before '&' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:68: error: ISO C++ forbids declaration of 'FILE' with no type
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../ebml/StdIOCallback.h:68: error: expected ';' before '*' token
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp: In copy constructor 'libebml::EbmlBinary::EbmlBinary(const libebml::EbmlBinary&)':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:55: error: 'malloc' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:56: error: 'assert' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:57: error: 'memcpy' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp: In destructor 'virtual libebml::EbmlBinary::~EbmlBinary()':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:63: error: 'free' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp: In member function 'virtual filepos_t libebml::EbmlBinary::ReadData(libebml::IOCallback&, libebml::ScopeMode)':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:87: error: 'free' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:95: error: 'malloc' was not declared in this scope
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:97: error: 'string' is not a member of 'std'
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp: In member function 'bool libebml::EbmlBinary::operator==(const libebml::EbmlBinary&) const':
/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.cpp:104: error: 'memcmp' was not declared in this scope
make[1]: *** [/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlBinary.o] Error 1
make[1]: Leaving directory `/home/jeremy/Android/Projects/android/vlc/contrib/android/libebml/make/linux'
make: *** [.ebml] Error 2