Error: file not found on GEANY
ABDER123
Posted messages
1
Status
Member
-
[Dal] Posted messages 6122 Registration date Status Contributor Last intervention -
[Dal] Posted messages 6122 Registration date Status Contributor Last intervention -
Hello,
The program gives an error: process failed (the specified file was not found)
so it is unable to compile.
Here is my command file:
Thank you for helping me solve this problem.
ABDER123.
The program gives an error: process failed (the specified file was not found)
so it is unable to compile.
Here is my command file:
-std=c++11 -set PATH=%PATH%;C:\Users\hp\Desktop\PROGRAMMATION g++ -std=c++11 -Wall -o "%e" "%f" cppcheck --language=c++ --enable=warning,style --template=gcc "%f"
Thank you for helping me solve this problem.
ABDER123.
2 answers
-
Hello ABDER123,
According to the context of what you're writing, it seems you are using Geany on Windows.
If that's the case, make sure to follow the instructions found here:
https://wiki.geany.org/howtos/win32/getting-started
It is possible that you either haven't installed a C or C++ compiler (if so, check the link above for the TDM-GCC compiler recommended by Geany for Windows), or, if you already have a compiler installed, that the directory where you installed the g++ executable is not accessible in the Windows PATH environment variable.
Open a command prompt (launch CMD.exe) and typeg++ --version
at the command line to see.
Dal -
Hello,
I don't know this language but it seems to me that you are only indicating a directory (or perhaps you forgot to put the file extension, such as .txt).