Make sure that moc is in /usr/win32/bin.<div>I'd probably say recreate your /usr/win32/bin directory from the build prereq instructions.<br><br><div class="gmail_quote">On Wed, Aug 12, 2009 at 2:39 PM, frankcch <span dir="ltr"><<a href="mailto:frankcch@comcast.net">frankcch@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Jean-Baptiste,<br>
<br>
It still has "/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file"<br>
after  "PATH=/usr/win32/bin:$PATH make".<br>
<br>
<br>
Making all in qt4<br>
make[5]: Entering directory `/cygdrive/c/VLC/vlc/modules/gui/qt4'<br>
moc -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/win32/include -<br>
I/usr/win32/include/ebml -D__USE_MINGW_ANSI_STDIO=1 -DSYS_MINGW32 -I../../.. `to<br>
p_srcdir="../../.." top_builddir="../../.." ../../../vlc-config --cppflags plugi<br>
n qt4` -o main_interface.moc.cpp main_interface.hpp<br>
/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file<br>
make[5]: *** [main_interface.moc.cpp] Error 126<br>
make[5]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui/qt4'<br>
make[4]: *** [all-recursive] Error 1<br>
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui'<br>
make[3]: *** [all] Error 2<br>
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/modules'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'<br>
make: *** [all] Error 2<br>
<br>
<br>
----- Original Message ----- From: "Jean-Baptiste Kempf" <<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>><br>
To: "Mailing list for VLC media player users" <<a href="mailto:vlc@videolan.org" target="_blank">vlc@videolan.org</a>><br>
Sent: Tuesday, August 11, 2009 11:53 PM<br>
Subject: Re: [vlc] unable to build VLC 1.0.1 with /bin/sh: moc: commandnot found<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
On Tue, Aug 11, 2009 at 07:13:04PM -0700, frankcch wrote :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I followed the Win32CompileCygwinNew (<a href="http://wiki.videolan.org/Win32CompileCygwinNew" target="_blank">http://wiki.videolan.org/Win32CompileCygwinNew</a>)  step by step to build the VLC 1.0.1 on windows XP machine,<br>

and it is unabled to build with "moc: command not found" when "Making all in qt4".<br>
I am a newbie in VLC and Cygwin, and already search the web, but still unable to reslove the build problem.<br>
</blockquote>
<br>
PATH=/usr/win32/bin:$PATH make<br>
<br>
Best Regards,<br>
<br>
-- <br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a><br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc" target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
<br>
</blockquote>
<br>
<br>
______________________________________________________<br>
vlc mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc" target="_blank">http://mailman.videolan.org/listinfo/vlc</a><br>
</blockquote></div><br></div>