-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL.win32
37 lines (25 loc) · 1010 Bytes
/
INSTALL.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
- 1 Setup QT4 cross compilation
apt-get install mingw32 mingw32-runtime mingw32-binutils qt4-dev-tools
(cd /usr/share/qt4/mkspecs ; sudo cp -r win32-g++ win32-x-g++)
sudo cp extras/qmake.conf /usr/share/qt4/mkspecs/win32-x-g++
- 2 build vlc 3rd party libraries
git clone git://git.videolan.org/vlc.git
cd vlc
git am ../patches/*
cd extras/contrib ; ./bootstrap i586-mingw32msvc && make -j4
make package-win32 && tar zxf contrib-*.bz2
sudo mv win32 /usr
sudo mv ../../../extras/moc-4.6 /usr/win32 # moc qt-4.6 i386 linux binary
sudo mv ../../../extras/uic-4.6 /usr/win32 # uic qt-4.6 i386 linux binary
# XXX /!\ moc and uic binaries must be the SAME version than the windows Qt4 headers and libraries
# Check the version of Qt4 for windows with:
grep QT_VERSION_STR src/qt4_win32/include/qt4/src/corelib/global/qglobal.h
- 3 build vlc
cd ../../ ; ./bootstrap
cd .. ; mkdir ./build-vlc ; cd ./build-vlc
../configure-win32.sh
make
4 - build app
cd ..
ln -s ./build-vlc/src/.libs lib
./build-win32.sh