Hello all.
We've got an student apprentice for 8 weeks. He should learn to program embedded devices. So I've installed the latest Geany (geany-0.15svn_r2604_setup.exe) together with avr-gcc.
My "problem" is, that a make triggered by S-F9 (make all) opens a CMD windows. Isn't this fixed? How can I get the error messages passed to geany?
On Mon, 7 Jul 2008 10:34:24 +0200, Joerg Desch jd.vvd@web.de wrote:
Hi,
We've got an student apprentice for 8 weeks. He should learn to program embedded devices. So I've installed the latest Geany (geany-0.15svn_r2604_setup.exe) together with avr-gcc.
Cool.
My "problem" is, that a make triggered by S-F9 (make all) opens a CMD windows. Isn't this fixed? How can I get the error messages passed to geany?
I guess you are using mingw32-make. When using the make utility bundled with UnxUtils, it will work. See http://sourceforge.net/project/showfiles.php?group_id=9328.
Regards, Enrico
On Tue, 8 Jul 2008 22:22:28 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Hi,
On Mon, 7 Jul 2008 10:34:24 +0200, Joerg Desch jd.vvd@web.de wrote: Cool.
;-)
I guess you are using mingw32-make. When using the make utility bundled with UnxUtils, it will work.
I'll give it a try and tell you the result. The make utility uses is part of the AVG-GCC installation....
But whats the difference?
On Tue, 8 Jul 2008 22:22:28 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I guess you are using mingw32-make. When using the make utility bundled with UnxUtils, it will work. See http://sourceforge.net/project/showfiles.php?group_id=9328.
Ok, here are my results. It doesn't work.
I've checked it with Geany 0.14 too. Neither the WinAVR-make nor the UnxUtils make work. Both shows the same behaviour.
Any hints?
On Fri, 11 Jul 2008 08:16:09 +0200, Joerg Desch jd.vvd@web.de wrote:
On Tue, 8 Jul 2008 22:22:28 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I guess you are using mingw32-make. When using the make utility bundled with UnxUtils, it will work. See http://sourceforge.net/project/showfiles.php?group_id=9328.
Ok, here are my results. It doesn't work.
I've checked it with Geany 0.14 too. Neither the WinAVR-make nor the UnxUtils make work. Both shows the same behaviour.
Any hints?
To be honest, I have no idea why it doesn't work.
Maybe unrelated but though interesting: with this avr-gcc, can you compile single files within Geany and get the output in the compiler window? File->New (with Template)->C source file add some nonsense so some compiler errors are triggered and then compile it with F8. Does it open a console window or does it put the output in Geany's compiler window?
Do you have both gspawn-win32-helper-console.exe and gspawn-win32-helper.exe in your Geany installation folder (next to geany.exe)? Geany 0.14 was missing gspawn-win32-helper-console.exe, IIRC. You need both.
I guess you use the bundled GTK runtime?
Start Geany with the command line option "-d" which opens an additional console window and check whether there are any messages printed which could give a hint (unlikely but better than nothing).
I attached a simply C file to test and the whole output I get when pressing Shift-F9 in the Geany source directory.
Regards, Enrico
On Sun, 13 Jul 2008 15:49:26 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 11 Jul 2008 08:16:09 +0200, Joerg Desch jd.vvd@web.de wrote:
Do you have both gspawn-win32-helper-console.exe and gspawn-win32-helper.exe in your Geany installation folder (next to geany.exe)? Geany 0.14 was missing gspawn-win32-helper-console.exe, IIRC. You need both.
ok, none of them are on the harddisk. Where can I find them?
I guess you use the bundled GTK runtime?
Yes. The latest installer of the SVN release.
On Sun, 13 Jul 2008 15:49:26 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Do you have both gspawn-win32-helper-console.exe and gspawn-win32-helper.exe in your Geany installation folder (next to geany.exe)? Geany 0.14 was missing gspawn-win32-helper-console.exe, IIRC. You need both.
Sorry, the SVN release comes with gspawn-win32-helper.exe only. gspawn-win32-helper-console.exe is not available....
On Mon, 14 Jul 2008 10:39:14 +0200, Joerg Desch jd.vvd@web.de wrote:
On Sun, 13 Jul 2008 15:49:26 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
Do you have both gspawn-win32-helper-console.exe and gspawn-win32-helper.exe in your Geany installation folder (next to geany.exe)? Geany 0.14 was missing gspawn-win32-helper-console.exe, IIRC. You need both.
Sorry, the SVN release comes with gspawn-win32-helper.exe only. gspawn-win32-helper-console.exe is not available....
Oops, then it is missing there too. Sorry for the inconvience.
http://www.uvena.de/tmp/gspawn-win32-helper.zip -> this zip file contains both executables, extract them into your Geany installation directory, exactly there where geany.exe is.
Regards, Enrico
On Mon, 14 Jul 2008 17:45:19 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
http://www.uvena.de/tmp/gspawn-win32-helper.zip -> this zip file contains both executables, extract them into your Geany installation directory, exactly there where geany.exe is.
Thanks for this archive. I've tried it and it works only with "geany -d"! Without the debug parameter, the behaviour is the same as before (make is running in a window). Is this right?
On Tue, 15 Jul 2008 07:21:13 +0200, Joerg Desch jd.vvd@web.de wrote:
On Mon, 14 Jul 2008 17:45:19 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
http://www.uvena.de/tmp/gspawn-win32-helper.zip -> this zip file contains both executables, extract them into your Geany installation directory, exactly there where geany.exe is.
Thanks for this archive. I've tried it and it works only with "geany -d"! Without the debug parameter, the behaviour is the same as before (make is running in a window). Is this right?
I didn't notice this before as I always run Geany on Windows with -d (for testing). I guess with -d the extra console window doesn't popup because there is already the one spawned by the -d option. If -d is not specified, a new window seems to be necessary to be opened. At the moment, I have no idea how to avoid this. This is done by Windows.
Anyway, even with the extra console window popping up (when started without -d), I still get the compiler output in the Compiler Window in Geany, so it's just the ugly window which is popping up.
Regards, Enrico
On Tue, 15 Jul 2008 21:03:32 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I guess with -d the extra console window doesn't popup because there is already the one spawned by the -d option. If -d is not specified, a new window seems to be necessary to be opened. At the moment, I have no idea how to avoid this. This is done by Windows.
That's not really a problem for me. I can live with -d.