I am building the project in VS2012 and getting the following error , I have searched on Google ,did not found much similar solution,Please provide the solution for the same , Here are the error code snippet -
MOCing D:\giit\release_17\RTTBorrow\rttBorrowWindow.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttListView.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialog.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialogimpl.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttTextEdit.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 9009.
Thanks !!!
As you didn't tell what project you're trying to build and googling "giit" doesn't give meaningful results, I'm giving a general suggestion.
moc.exe is part of Qt build system so you could try installing it. Its website is http://qt.io
Related
this is the error i cannot resolve it gets during the starting of the server
WARN 'locale' is not recognized as an internal or external command,
WARN operable program or batch file. .
due to this my language localization is not working
i don't know why this error occurs kindly help me
but it effect the website loading
I am on the final stage of installing hadoop and when I try to run the commands this error occurs. Can anyone help me solve this?
This is a Windows error that indicates your PATH doesn't properly have %HADOOP_HOME%\bin defined
Personally, my recommendation is to always use Linux environments for Hadoop since this is almost always what it'll be if you used it for a job.
When I am trying to run mediapipe hand-tracking on cmd in windows it is throwing this error: 'GLOG_logtostderr' is not recognized as an internal or external command,
operable program or batch file.
Here's the snapshot of cmd:
enter image description here
I tried to add the mongodb programs on my windows 7 latop to run a few programs I'm working on.
I added the mongodb path to the end of windows PATH variable in system properties / advanced. This is what I have:
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\RSA SecurID Token Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Dell\Dell Data Protection\Encryption\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\tdunphy\bin;C:\Python27;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\Python27\Scripts;C:\Users\tdunphy\bin\;C:\HashiCorp\Vagrant\bin;C:\Program Files (x86)\Skype\Phone;C:\Program Files\MongoDB\Server\3.4\bin
And when I try to run the mongo programs, this is what I get:
mongod' is not recognized as an internal or external command,
operable program or batch file.
mongo
'mongo' is not recognized as an internal or external command,
operable program or batch file.
What am I doing wrong?
I was facing the same situation moments ago. What I did was backup my PATH variable and put only the MongoDB path there. Restarted CLI and it worked. Then I added the deleted paths. Don't know why this worked.
By the way, 'mongodb' will not work, it's mongo or mongod depending what you want to call.
If you are stuck at running Apache Pig on windows due to an error like
hadoop-2.4.0\bin\hadoop-config.cmd' is not recognized as an internal or external command,
operable program or batch file.
though you are having Hadoop running perfectly on windows
Answer, which was originally added by the asker inside the quesiton.
These steps may help you.
Troubleshooting steps
open the file pig.cmd in any editor like notpad / notepad++
look for the line set HADOOP_BIN_PATH=%HADOOP_HOME%\bin
replace this with set HADOOP_BIN_PATH=%HADOOP_HOME%\libexec
What we did was that hadoop-config.cmd file was not being found by pig so we pointed it with the correct one. You may first find where the hadoop-config.cmd file is and replace it with appropriate path. This was what my hadoop-2.4.0 was having.