Hello
I'm programming in C using Geany. It creates well the object but Geany doesn't run the program. Usually it doesn't create an executable neither.
How can I have the executable?
How can I run the program with Geany?
Thanks! Sylvia
Hi Sylvia,
Am Donnerstag, den 10.11.2011, 14:00 -0300 schrieb Sylvia Sánchez:
Hello
I'm programming in C using Geany. It creates well the object but Geany doesn't run the program. Usually it doesn't create an executable neither.
Geany differs between compiling and building and program. Compiling the program usually just translates the C code into a binary object file (*.o file), building the C code usually generates a fully executable file.
You can see that in the build menu, where you have different options:
Compile (F8) Build (F9) Execute (F5)
(Not sure if my keybindings are the default)
So if you want to generate an executable and then run it you would choose Build and after that Execute or Press F9 and then F5.
Hope this helps you so far, Regards, Dominic
But that's my problem! I select Compile and it compiles. I select Build and it builds. But I select Execute and it doesn't execute anything. It shows me a terminal telling me "Error xx, Press Enter to continue". Press Enter and the terminal disappears. That's all. It never creates an executable and it never runs the program. Even if the code is perfect.
Why?
I try with almost every distro on Earth. Ubuntu, Kubuntu, Fedora and Debian. Is always the same.
Regards Sylvia
On Jue 10 Nov 2011 17:13:27 Dominic Hopf escribió:
Hi Sylvia,
Am Donnerstag, den 10.11.2011, 14:00 -0300 schrieb Sylvia
Sánchez:
Hello
I'm programming in C using Geany. It creates well the object but Geany doesn't run the program. Usually it doesn't create an executable neither.
Geany differs between compiling and building and program.
Compiling the
program usually just translates the C code into a binary object file (*.o file), building the C code usually generates a fully executable file.
You can see that in the build menu, where you have different
options:
Compile (F8) Build (F9) Execute (F5)
(Not sure if my keybindings are the default)
So if you want to generate an executable and then run it you would choose Build and after that Execute or Press F9 and then F5.
Hope this helps you so far, Regards, Dominic
On Sun, Nov 13, 2011 at 1:28 PM, Sylvia Sánchez Mapalapa_Igu@yahoo.com.ar wrote:
But that's my problem!
I select Compile and it compiles. I select Build and it builds. But I select Execute and it doesn't execute anything. It shows me a terminal telling me "Error xx, Press Enter to continue". Press Enter and the terminal
Sylvia,
It would be useful if you told us what the error message is, we might be able to help you.
Cheers Lex
disappears. That's all. It never creates an executable and it never runs the program. Even if the code is perfect.
Why?
I try with almost every distro on Earth. Ubuntu, Kubuntu, Fedora and Debian. Is always the same.
Regards
Sylvia
On Jue 10 Nov 2011 17:13:27 Dominic Hopf escribió:
Hi Sylvia,
Am Donnerstag, den 10.11.2011, 14:00 -0300 schrieb Sylvia Sánchez:
Hello
I'm programming in C using Geany. It creates well the object but
Geany doesn't run the program. Usually it doesn't create an
executable neither.
Geany differs between compiling and building and program. Compiling the
program usually just translates the C code into a binary object file
(*.o file), building the C code usually generates a fully executable
file.
You can see that in the build menu, where you have different options:
Compile (F8)
Build (F9)
Execute (F5)
(Not sure if my keybindings are the default)
So if you want to generate an executable and then run it you would
choose Build and after that Execute or Press F9 and then F5.
Hope this helps you so far,
Regards,
Dominic
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
This is the error message:
./geany_run_script.sh: 5: ./Menues: not found
------------------ (program exited with code: 127) Press return to continue
Sylvia
On Dom 13 Nov 2011 19:28:03 Lex Trotman escribió:
On Sun, Nov 13, 2011 at 1:28 PM, Sylvia Sánchez
Mapalapa_Igu@yahoo.com.ar wrote:
But that's my problem!
I select Compile and it compiles. I select Build and it builds. But I select Execute and it doesn't execute anything. It shows me a
terminal
telling me "Error xx, Press Enter to continue". Press Enter and
the
terminal
Sylvia,
It would be useful if you told us what the error message is, we
might
be able to help you.
Cheers Lex
disappears. That's all. It never creates an executable and it never
runs
the program. Even if the code is perfect.
Why?
I try with almost every distro on Earth. Ubuntu, Kubuntu, Fedora
and
Debian. Is always the same.
Regards
Sylvia
On Jue 10 Nov 2011 17:13:27 Dominic Hopf escribió:
Hi Sylvia,
Am Donnerstag, den 10.11.2011, 14:00 -0300 schrieb Sylvia
Sánchez:
Hello
I'm programming in C using Geany. It creates well the object
but
Geany doesn't run the program. Usually it doesn't create an
executable neither.
Geany differs between compiling and building and program.
Compiling the
program usually just translates the C code into a binary object
file
(*.o file), building the C code usually generates a fully
executable
file.
You can see that in the build menu, where you have different
options:
Compile (F8)
Build (F9)
Execute (F5)
(Not sure if my keybindings are the default)
So if you want to generate an executable and then run it you
would
choose Build and after that Execute or Press F9 and then F5.
Hope this helps you so far,
Regards,
Dominic
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, Nov 17, 2011 at 2:43 AM, Sylvia Sánchez Mapalapa_Igu@yahoo.com.ar wrote:
This is the error message:
./geany_run_script.sh: 5: ./Menues: not found
Sylvia,
The message above says Geany is trying to run an executable called Menues which by default is in the same directory as the source file, but it is not found.
If the executable exists in that directory then what working directory are you telling Geany to use?
If the executable does not exist in that directory then it is not compiling and building correctly, check messages in the compiler window.
Cheers Lex
On 11/12/2011 06:28 PM, Sylvia Sánchez wrote:
But that's my problem!
I select Compile and it compiles. I select Build and it builds. But I select Execute and it doesn't execute anything. It shows me a terminal telling me "Error xx, Press Enter to continue". Press Enter and the terminal disappears. That's all. It never creates an executable and it never runs the program. Even if the code is perfect.
Does it literally say "Error xx" or something else we could use to help you?
Why?
Maybe you haven't got your build menu/tools setup properly. You can find some more information here: http://www.geany.org/manual/current/index.html#build-menu-configuration http://wiki.geany.org/howtos/configurebuildmenu
Cheers, Matthew Brush
HI Sylvia.
If you open a commnd line and navigate to your source file. Does this work
for windows gcc Yourfile -o yourfile.exe
Linux gcc Yourfile -o yourfile
if using linux and the above command worked then you would exceute with ./yourfile
I think you may be running compile in geany and then not running build before trying to execute your file. but need to check first you have your compiler setup correctly.
Sayth
On Fri, Nov 11, 2011 at 4:00 AM, Sylvia Sánchez Mapalapa_Igu@yahoo.com.arwrote:
Hello
I'm programming in C using Geany. It creates well the object but Geany doesn't run the program. Usually it doesn't create an executable neither.
How can I have the executable?
How can I run the program with Geany?
Thanks! Sylvia _______________________________________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
No, no. It compiles. There's an object file, etc.. But it doesn't execute. This is the problem. Even more. One time, I don't know why, Geany created the executable. But it doesn't execute it. But when I drag and drop the executable into a console, program runs without problems.
So, there's a problem with Geany. If it is a configuration issue, please tell how I can configure it to run create executables and run programs.
Regards, thanks Sylvia
On Dom 13 Nov 2011 19:52:55 Sayth Renshaw escribió:
HI Sylvia.
If you open a commnd line and navigate to your source file. Does
this work
for windows gcc Yourfile -o yourfile.exe
Linux gcc Yourfile -o yourfile
if using linux and the above command worked then you would
exceute with
./yourfile
I think you may be running compile in geany and then not running
build
before trying to execute your file. but need to check first you have
your
compiler setup correctly.
Sayth
On Fri, Nov 11, 2011 at 4:00 AM, Sylvia Sánchez
Mapalapa_Igu@yahoo.com.arwrote:
Hello
I'm programming in C using Geany. It creates well the object but Geany doesn't run the program. Usually it doesn't create an executable neither.
How can I have the executable?
How can I run the program with Geany?
Thanks! Sylvia _______________________________________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany