PDA

View Full Version : Problem with make (can't call moc.exe)



johnny_sparx
28th February 2006, 00:52
Hello, I seem to have run into the following problem under WinXP, Qt4.1.1:



/usr/bin/sh: C:Qt4.1.1binmoc.exe: No such file or directory
mingw32-make[1]: *** [release\moc_AcquisitionBrowserWidget.cpp] Error 127
mingw32-make[1]: Leaving directory `C:/Documents and Settings/ACER User/Desktop/
QCT'
mingw32-make: *** [release] Error 2

C:\Documents and Settings\ACER User\Desktop\QCT>


It must have something to do with the paths, can anyone help? The line "C:Qt4.1.1binmoc.exe" is suspicious and makes me wonder if this is a good version of make.:confused: Of course it should read "C:\Qt4.1.1\bin\moc.exe".

Thank you.
John.

jacek
28th February 2006, 01:36
Remove path to MSYS from PATH environment variable.

johnny_sparx
28th February 2006, 07:36
There doesn't seem to be such an entry in PATH:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\cygwin\bin;C:\Qt\4.1.1\bin;C:\MATLA B7\bin\win32;C:\Qt\4.1.1\bin;C:\MinGW\bin;C:\DCMTK-3.5.4\bin

jacek
28th February 2006, 14:34
There doesn't seem to be such an entry in PATH:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\cygwin\bin;C:\Qt\4.1.1\bin;C:\MATLA B7\bin\win32;C:\Qt\4.1.1\bin;C:\MinGW\bin;C:\DCMTK-3.5.4\bin
But there is path to Cygwin --- try removing it.

mraittin
14th September 2007, 14:02
/usr/bin/sh: c:Qt4.2.3binmoc.exe: command not found
I have also same problem, when build program.
I don't have MSYS or Cydwin in PATH environment variable.

C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;;C:\Program Files\ImageConverter Plus;C:\Program Files\SSH Communications Security\SSH Secure Shell;C:\Qt\4.2.3\bin;C:\MinGW\bin;


please help me:mad: