Hey guys,
Guess what... I worked!!! Somehow I think I installed the same thing, but with the link you gave me, I had the option to choose which compilers to install. After choosing a C compiler (even thought I wrote "C++" code) it worked. Well there are some problems with my code now, but at least I get errors pointing at specific lines instead of just getting "Cannot execute child process".
Anyway, thanks guys! Also I think you should mention about this MinGW on your site, so others can benefit from my experience without too much trouble.
Basically what i had to install was: -Geany -GTK+ Runtime Environment (not sure if this was actually necessary) -Selected compilers from the link you gave me via the Automated MinGW installer (5.1.3) Also i had to set the path to the g++.exe like this: C:\MinGW\bin\g++ -Wall -c "%f" This path also worked: C:\MinGW\bin\g++.exe -Wall -c "%f"
Again thanks for your help.
Regards,
Alex.
On 3/14/08, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Thu, 13 Mar 2008 12:50:06 -0600 "Alexandru Guzu" alexguzu@gmail.com wrote:
[...]
As far as executing Geany in the cygwin environment.. I suppose I have to compile the file using the command line, separately from Geany. And even the cygwin minght not be "complete" in the sense that it may require another piece of software, and so on. I don't really
I haven't used cygwin myself, but it is quite a big suite of software. Personally I just use the MinGW tools. Also I should warn you that compiling Geany on Windows is quite involved, and shouldn't be necessary.
like fiddling with such software. When I was working in java, I used Eclipse, and i just had to install some java stuff, but I knew exactly what to install. Now i don't know what compiler works "out of the box" with Geany on Windows.
The MinGW gcc compiler should work, I use it myself.
You may already have done this, but just in case you downloaded only gcc, use the 'Automated MinGW Installer' program: http://sourceforge.net/project/showfiles.php?group_id=2435
Also you should probably read any documentation for MinGW.
I understand it can be a barrier having to install tools yourself, but Geany is meant to be a lightweight IDE, and many people use Geany who don't want to do any C programming. So it doesn't make sense for us to offer a bundled download. Of course, someone could make a MinGW-Geany bundle if they want to, under the terms of the GNU GPL.
Probably it's not a good idea to use Geany on Windows after all. Has anyone actually been able to compile with Geany under Windows, and if so, what are the steps?
Besides what I mentioned earlier, you should check that you can compile with gcc from the command prompt (usually cmd.exe). If this is the case, it's possible there is a bug with Geany's build support on Windows.
Another thing to try is writing a Makefile and using the Build->Make command, after configuring the make tool in preferences. (Most useful projects should use makefiles anyway.)
Just to be clear - both gcc and make work fine for me on Windows 2000 with a recent version of Geany (read 0.13).
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany