FreeBasic Games Directory Forum

FreeBASIC Game Development => Programming => Topic started by: ecxjoe on October 21, 2011, 10:48:14 PM

Title: Good IDE
Post by: ecxjoe on October 21, 2011, 10:48:14 PM
http://www.geany.org/

This is now my favorite IDE for everything. And it supports Freebasic!
Title: Re: Good IDE
Post by: Lachie Dazdarian on October 22, 2011, 03:49:33 AM
Having problems connecting it with my copy of fbc. Could you tell me how did you set it up?
Title: Re: Good IDE
Post by: ecxjoe on October 22, 2011, 10:09:56 AM
Are you on Windows or Linux?
Title: Re: Good IDE
Post by: ecxjoe on October 22, 2011, 10:14:55 AM
In both cases I didn't have to do anything. Make sure you press F8 to compile first and then F5 to run.

Maybe you need fbc in your environment path? That's how Freebasic is set up for me.
Title: Re: Good IDE
Post by: Lachie Dazdarian on October 22, 2011, 11:40:56 AM
I get "Project failed..." when I try to compile.

The path to fbc is set (which I had to do with copy and paste - no directory picker):

(http://img87.imageshack.us/img87/9391/tempqd.png)

I don't know what else I need to do. I mean, I good IDE should allow me to set a path to my compiler and that's it. It should compile my sources where ever they are, and the executables should be produced where the source is.
Title: Re: Good IDE
Post by: ecxjoe on October 22, 2011, 02:21:57 PM
Try leaving the working directory empty and prepend the path to the command, something like this: C:\Program Files (x86)\FreeBASIC\fbc -w all "%f"
Title: Re: Good IDE
Post by: ecxjoe on October 22, 2011, 02:33:47 PM
If you have the Freebasic path in your environment settings then you shouldn't need to set anything in the build options. My settings are the same as yours but with the working directory empty. I get an error when I try to put the path in there too.