when compiling......process failed(the system cannot find the file specified) why??????????
Windows 8.1 64bit Geany 1.26
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/766
On 2015-11-20 6:09 PM, rafitc wrote:
when compiling......process failed(the system cannot find the file specified) why??????????
Windows 8.1 64bit Geany 1.26
Most likely the directory your compiler executable is in is not in your %PATH% environment variable. You can put it in there, or you can edit the build commands (Build->Set Build Commands) and hard-code the absolute path to the executable for your compiler (you never mentioned what language/compiler you're talking about, so I'm being generic).
Cheers, Matthew Brush
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/766#issuecomment-158577174
On 21 November 2015 at 12:12, Matthew Brush notifications@github.com wrote:
On 2015-11-20 6:09 PM, rafitc wrote:
when compiling......process failed(the system cannot find the file
specified)
why??????????
Windows 8.1 64bit Geany 1.26
Most likely the directory your compiler executable is in is not in your %PATH% environment variable. You can put it in there, or you can edit the build commands (Build->Set Build Commands) and hard-code the absolute path to the executable for your compiler (you never mentioned what language/compiler you're talking about, so I'm being generic).
Cheers, Matthew Brush
Note also Geany does not include a compiler, you need to install that separately.
Cheers Lex
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/766#issuecomment-158577174.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/766#issuecomment-158577221
On 2015-11-20 6:09 PM, rafitc wrote:
when compiling......process failed(the system cannot find the file specified) why??????????
Windows 8.1 64bit Geany 1.26
Most likely the directory your compiler executable is in is not in your %PATH% environment variable. You can put it in there, or you can edit the build commands (Build->Set Build Commands) and hard-code the absolute path to the executable for your compiler (you never mentioned what language/compiler you're talking about, so I'm being generic).
Hi, I'm new to geany , and i'm not able to fix the env var. I have the same issue, it says file not found. Can you explain me what you meant by "hard-code the absolute path to the executable for your computer " . I am using C++ and am trying to access raspicam library. This is the file it says 'Not found'.
Thanks :)
@indu97 please do not hijack old threads.
Note that the compiler is not part of Geany, so you have to make it work first.
Does the compiler work on the command line?
If not fix that first.
Then use the same command in the build commands in Geany (Menu->Build->Set Build Commands)
Closed #766.
Closing since no information is forthcoming in almost 4 years and it cannot be reproduced.
On 2015-11-20 6:09 PM, rafitc wrote:
when compiling......process failed(the system cannot find the file specified) why?????????? Windows 8.1 64bit Geany 1.26
Most likely the directory your compiler executable is in is not in your %PATH% environment variable. You can put it in there, or you can edit the build commands (Build->Set Build Commands) and hard-code the absolute path to the executable for your compiler (you never mentioned what language/compiler you're talking about, so I'm being generic).
Could you explain more clearly on how to check the current directory and on how to change the path? I have the same problem. Any advice will be appreciated.
This site has good instructions for setting up the `PATH` variable: https://www.java.com/en/download/help/path.xml
Alternatively just change the [build command](https://www.geany.org/manual/current/index.html#build-menu) so that the command has the full path to the compiler/interpreter executable (ex. `C:\Program Files\YourLanguage\whatever.exe` instead of just `whatever.exe`).
github-comments@lists.geany.org