Page 1 of 1

Cross-compile VLC for windows (libxi not found)

Posted: 30 Nov 2016 10:08
by kanekotic
Hello all, first of all thanks in advance if you can help me with this.
I am trying to cross-compile VLC 2.2.4 with some modification on our project. for now i have managed to correctly build vlc for osx, but the windows and linux builds are failing.
For windows I have been following the official tutorial (https://wiki.videolan.org/Win32Compile/). But it fails on the configure step:

Code: Select all

../extras/package/win32/configure.sh --host=i686-w64-mingw32 --build=x86_64-pc-linux-gnu

my system is a ubuntu mate 16.04, and all the dependencies have been installed as per the tutorial.

This are the things I have tried for now (in between other things) that i think should have solved this:
  • install libxi-dev (sudo pat-get install libxi-dev)
  • link libxi (cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libXi.so.6 libXi.so)
i am out of ideas. Does anyone know how this lib is actually discovered and also where its being tried to be found?

Re: Cross-compile VLC for windows (libxi not found)

Posted: 06 Dec 2016 02:22
by Jean-Baptiste Kempf
If you need libxi, you miscompiled the win32 version.