Hello,
I guess it is better to write in english here so I will try not to write in french and not to make too many mistakes.
I use Geany to write Pascal programs and to compile them with fpc, that is Free Pascal.
When I click on the "Compiler" Button, I get a "Compilation terminée avec succès" when my program has no error. Nice. And I get a "Compilation échouée" (french for compilation failed) when my program is wrong. But where are the details (error type, error line, ...) ?
Thank you
Pierre
On Thu, 9 Oct 2008 13:45:03 +0200, Pierre Allken-Bernard pierre.herve.bernard@free.fr wrote:
Hi,
I guess it is better to write in english here so I will try not to
Yes it is, since most of us don't speak French :).
I use Geany to write Pascal programs and to compile them with fpc, that is Free Pascal.
When I click on the "Compiler" Button, I get a "Compilation terminée avec succès" when my program has no error. Nice. And I get a "Compilation échouée" (french for compilation failed) when my program is wrong. But where are the details (error type, error line, ...) ?
They should be displayed in the compiler window together with the "Compilation échouée" message. See the attached screenshot, this is what it looks like on my system.
Regards, Enrico
Enrico Tröger a écrit :
And I get a "Compilation échouée" (french for compilation failed) when my program is wrong. But where are the details (error type, error line, ...) ?
They should be displayed in the compiler window together with the "Compilation échouée" message. See the attached screenshot, this is what it looks like on my system.
Thanks for the screenshot. I also made a screenshot that you can find there : http://allken-bernard.org/tmp/geany_fpc_pierre.png While the one you sent to me is here : http://allken-bernard.org/tmp/geany_fpc.png
How can I make my geany behave like yours ?
Regards.
Pierre
On Thu, 9 Oct 2008 17:51:22 +0200, Pierre Allken-Bernard pierre.herve.bernard@free.fr wrote:
Enrico Tröger a écrit :
And I get a "Compilation échouée" (french for compilation failed) when my program is wrong. But where are the details (error type, error line, ...) ?
They should be displayed in the compiler window together with the "Compilation échouée" message. See the attached screenshot, this is what it looks like on my system.
Thanks for the screenshot. I also made a screenshot that you can find there : http://allken-bernard.org/tmp/geany_fpc_pierre.png While the one you sent to me is here : http://allken-bernard.org/tmp/geany_fpc.png
How can I make my geany behave like yours ?
Run it on Linux :).
Hmm, you didn't mention you are using Windows. I'll have a look at it at the weekend, I first need to install fpc on Windows and before I need to fix my VirtualBox installation in order to be able to start Windows :).
Regards, Enrico
Enrico Tröger a écrit :
Run it on Linux :).
At home, I run it on Linux :) But I am a teacher and I teach Pascal (among other things). I would like my students to use Geany. And all computers in my college have Windows as OS and no other (I tried to tell them about Linux but...).
Hmm, you didn't mention you are using Windows. I'll have a look at it at the weekend, I first need to install fpc on Windows and before I need to fix my VirtualBox installation in order to be able to start Windows :).
That is very kind of you.
Regards, Pierre
On Thu, 9 Oct 2008 20:57:51 +0200, Pierre Allken-Bernard pierre.herve.bernard@free.fr wrote:
Enrico Tröger a écrit :
Run it on Linux :).
At home, I run it on Linux :) But I am a teacher and I teach Pascal (among other things). I would like my students to use Geany. And all computers in my college have Windows as OS and no other (I tried to tell them about Linux but...).
Hmm, you didn't mention you are using Windows. I'll have a look at it at the weekend, I first need to install fpc on Windows and before I need to fix my VirtualBox installation in order to be able to start Windows :).
Sorry for the delay.
The output of fpc.exe is printed in a little console window which pops up when you start Geany. Unfortunately Geany currently doesn't retrieve this output from the command so it is only printed in the console window. This should be fixed but it needs someone to write the code.
Sorry.
Regards, Enrico