Unable to build VLC
Posted: 23 Apr 2015 13:28
I'm trying to build VLC from git reposity however got the error:
but moc is in the correct location:
The workaround suggested in documentation (https://wiki.videolan.org/Win32CompileM ... rcc.2C_uic) is to copy moc.exe into bin. The weird thing is that says about a path for Windows:
Did copy them into /bin an /usr/bin but didn't work; I guess didn't work since it's searching for it in i686-w64-mingw32 folder.
On forum found this thread : https://forum.videolan.org/viewtopic.ph ... &hilit=moc
Found that MOC is initialized in vlc/configure but I don't know if replacing MOC="moc" with MOC="/home/david/Downloads/vlc/contrib/i686-w64-mingw32/bin/moc" or moc.exe will do any good or if there are any other files where it is required to replace it.
Old pal Google doesn't help either.
Any suggestion is appreciated!
Code: Select all
Making all in gui/qt4
make[4]: Entering directory '/home/david/Downloads/vlc/win32/modules/gui/qt4'
MOC main_interface.moc.cpp
/bin/bash: /home/david/Downloads/vlc/contrib/i686-w64-mingw32/bin/moc: No such file or directory
Makefile:3428: recipe for target 'main_interface.moc.cpp' failed
make[4]: *** [main_interface.moc.cpp] Error 127
make[4]: Leaving directory '/home/david/Downloads/vlc/win32/modules/gui/qt4'
Makefile:16600: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/david/Downloads/vlc/win32/modules'
Makefile:7563: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/david/Downloads/vlc/win32/modules'
Makefile:2227: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/david/Downloads/vlc/win32'
Makefile:2111: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
david@debian:~/Downloads/vlc/win32$ ls /home/david/Downloads/vlc/contrib/i686-w64-mingw32/bin | grep moc
moc
moc.exe
Code: Select all
source: C:\msys\1.0\home\<username>\vlc\contrib\i586-mingw32msvc\moc.exe
target: C:\msys\1.0\bin\moc.exe
On forum found this thread : https://forum.videolan.org/viewtopic.ph ... &hilit=moc
Found that MOC is initialized in vlc/configure but I don't know if replacing MOC="moc" with MOC="/home/david/Downloads/vlc/contrib/i686-w64-mingw32/bin/moc" or moc.exe will do any good or if there are any other files where it is required to replace it.
Old pal Google doesn't help either.
Any suggestion is appreciated!