Building VLC-Android under OSX
Posted: 04 Jul 2015 04:13
Hi,
I just want to see if there has been any success building VLC Android so far.
I had to make a dozen patches to the code (from <inttypes> inconsistencies to OpenGL not being loaded), but I still can get around it (now I'm stuck trying to figure out why libarchive doesn't get picked up by the linker).
Just making sure if my C skills are rustier than expected, or I should try on Ubuntu.
Thanks.
EDIT: Here is and extract of the latest build error I'm getting:
I just want to see if there has been any success building VLC Android so far.
I had to make a dozen patches to the code (from <inttypes> inconsistencies to OpenGL not being loaded), but I still can get around it (now I'm stuck trying to figure out why libarchive doesn't get picked up by the linker).
Just making sure if my C skills are rustier than expected, or I should try on Ubuntu.
Thanks.
EDIT: Here is and extract of the latest build error I'm getting:
Code: Select all
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_lzma'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_lzop'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_none'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_rpm'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_uu'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_filter_xz'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_format_ar'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_format_cab'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_format_cpio'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_format_gnutar'
../../modules/access/archive/archive.c:109: error: undefined reference to 'archive_read_support_format_lha'
....
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glVertexPointer'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glEnableClientState'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glDisableClientState'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glScalef'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glColor4f'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glNormalPointer'
../../modules/visualization/glspectrum.c:362: error: undefined reference to 'glPopMatrix'
collect2: error: ld returned 1 exit status
make: *** [jni/obj/local/armeabi/libvlcjni.so] Error 1
make: Leaving directory `/Users/zakelfassi/Desktop/VLC-A-1.4.1/libvlc'
ndk-build failed