Ubuntu: Error running C program compiled with Geany IDE Error Code: 127



Question:

I installed Geany IDE via Ubuntu Software Center. Wrote a hello world prog in C and it compiled successfully but when i tried to run it, it gave me this error:

./geany_run_script.sh: 5: ./geany_run_script.sh: ./hello: not found    ------------------  (program exited with code: 127)  Press return to continue  

Could someone please tell me what i should do?


Solution:1

You only compiled your source file, but didn't build your application, meaning the linking was not done and the executable was not created. Use the "build" sub-menu from the "build" menu (default shortcut is F9 if I recall correctly) and try again.


Solution:2

Update the Geany version from Ubantu software center or Install a new version by removing the current one. I was also facing the same problem then i tried this method.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »