VLC 2.1.5 compile for windows x64 with cygwin but.. problem
Posted: 31 Oct 2014 06:28
Hello,
It's my full compile history. The compile is succeed. but when vlc.exe run, I con not get GUI dialog box.
1. Install Cygwin
-Version x86_84 1.7.30
- download: http://cygwin.com/setup-x86_64.exe
- install at C:\cygwin64 folder
- install condition: full install ( NO exception)
2. VLC download
- Version: 2.1.5
Download and copy to C:\cygwin64\vlc
3. live555 download
Download: http://www.live555.com/mediaServer/#downloading
4. Lua download
Download: http://www.lua.org/ftp/lua-5.1.4.tar.gz
5. Contribute file setting
5.1 lua copy file
$cd /vlc/contrib/src
$cd /lua
Decompress and extract to /vlc/contrib/src/lua folder
5.2 live555 copy
$cd /vlc/contrib/src
$cd /live555
Decompress and extract to /vlc/contrib/src/live555
5.3 Open cygwin and download contribute file
$cd /vlc
$cd contrib
$mkdir x86_64-w64-mingw32
$cd x86_64-w64-mingw32
$../bootstrap --host=x86_64-w64-mingw32
$make prebuilt
5.4 delete unnecessary file ( moc, rcc, uic )
$rm -f ../x86_64-w64-mingw32/bin/moc ../x86_64-w64-mingw32/bin/uic ../x86_64-w64-mingw32/bin/rcc
6. Build VLC
$cd /vlc
$./bootstrap
$PKG_CONFIG_LIBDIR=/vlc/contrib/x86_64-w64-mingw32/lib/pkgconf \
CPPFLAGS="-I/vlc/contrib/x86_64-w64-mingw32/include -I/vlc/contrib/x86_64-w64-mingw32/include/ebml" LDFLAGS=-L/vlc/x86_64-w64-mingw32/lib \
CC=x86_64-w64-mingw32-gcc \
CXX=x86_64-w64-mingw32-g++ \
./configure --host=x86_64-w64-mingw32 --disable-mod --disable-cddax --disable-vcdx --disable-taglib --disable-gnutls --disable-x11
$make
You got error at lua process
So I solved like this
$cd /vlc/contrib/x86_64-w64-mingw32/lib
$mv liblua.a bakliblua.a
$cd /vlc/contrib/src/lua
$make mingw
$cd src
$cp luac.exe ../../x86_64-w64-mingw32/bin
$cd ../../x86_64-w64-mingw32/bin
$rm luac
$cd /vlc
$make
You got error at libavcodec process
I edit configure file for version less 56 to less 57
$make
build success
$make package-win32-zip
I got 64bit VLC on WIndows Task Manager. but VLC GUI dialog box can not find.
Thank you,
It's my full compile history. The compile is succeed. but when vlc.exe run, I con not get GUI dialog box.
1. Install Cygwin
-Version x86_84 1.7.30
- download: http://cygwin.com/setup-x86_64.exe
- install at C:\cygwin64 folder
- install condition: full install ( NO exception)
2. VLC download
- Version: 2.1.5
Download and copy to C:\cygwin64\vlc
3. live555 download
Download: http://www.live555.com/mediaServer/#downloading
4. Lua download
Download: http://www.lua.org/ftp/lua-5.1.4.tar.gz
5. Contribute file setting
5.1 lua copy file
$cd /vlc/contrib/src
$cd /lua
Decompress and extract to /vlc/contrib/src/lua folder
5.2 live555 copy
$cd /vlc/contrib/src
$cd /live555
Decompress and extract to /vlc/contrib/src/live555
5.3 Open cygwin and download contribute file
$cd /vlc
$cd contrib
$mkdir x86_64-w64-mingw32
$cd x86_64-w64-mingw32
$../bootstrap --host=x86_64-w64-mingw32
$make prebuilt
5.4 delete unnecessary file ( moc, rcc, uic )
$rm -f ../x86_64-w64-mingw32/bin/moc ../x86_64-w64-mingw32/bin/uic ../x86_64-w64-mingw32/bin/rcc
6. Build VLC
$cd /vlc
$./bootstrap
$PKG_CONFIG_LIBDIR=/vlc/contrib/x86_64-w64-mingw32/lib/pkgconf \
CPPFLAGS="-I/vlc/contrib/x86_64-w64-mingw32/include -I/vlc/contrib/x86_64-w64-mingw32/include/ebml" LDFLAGS=-L/vlc/x86_64-w64-mingw32/lib \
CC=x86_64-w64-mingw32-gcc \
CXX=x86_64-w64-mingw32-g++ \
./configure --host=x86_64-w64-mingw32 --disable-mod --disable-cddax --disable-vcdx --disable-taglib --disable-gnutls --disable-x11
$make
You got error at lua process
So I solved like this
$cd /vlc/contrib/x86_64-w64-mingw32/lib
$mv liblua.a bakliblua.a
$cd /vlc/contrib/src/lua
$make mingw
$cd src
$cp luac.exe ../../x86_64-w64-mingw32/bin
$cd ../../x86_64-w64-mingw32/bin
$rm luac
$cd /vlc
$make
You got error at libavcodec process
I edit configure file for version less 56 to less 57
$make
build success
$make package-win32-zip
I got 64bit VLC on WIndows Task Manager. but VLC GUI dialog box can not find.
Thank you,