x64 Debian compile error

VLC for Android and Chrome OS specific usage questions
aroton
New Cone
New Cone
Posts: 2
Joined: 26 Jul 2012 04:27

x64 Debian compile error

Postby aroton » 26 Jul 2012 04:33

Hey,

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
Thanks

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

Re: x64 Debian compile error

Postby edwardw » 27 Jul 2012 02:51

Seems like some headers are not getting picked up properly.

aroton
New Cone
New Cone
Posts: 2
Joined: 26 Jul 2012 04:27

Re: x64 Debian compile error

Postby aroton » 30 Jul 2012 23:48

Any suggestions on how to remedy this? I manually downloaded the library from matroska and it just presented me with more, different, errors.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 37 guests