PDA

View Full Version : it wont let me compile my code in geany



jimi_hendrix
July 27th, 2008, 01:45 AM
hi

i installed geany and it works well but all of the compile buttons on the top are grayed out and i cant tell why

they are like this in all the langueges?

does anyone know whats up?

LaRoza
July 27th, 2008, 01:54 AM
Geany is an editor, not a compiler. It can call the compiler if it is installed.

See the sticky on how to install and use common compilers.

jimi_hendrix
July 27th, 2008, 01:59 AM
hehe thanks again

jimi_hendrix
July 27th, 2008, 02:02 AM
which link?

saratchandra
July 27th, 2008, 02:03 AM
You should first save the file to compile it in geany

ad_267
July 27th, 2008, 02:05 AM
"sudo apt-get install build-essential" will give you most of what you need.

LaRoza
July 27th, 2008, 02:39 AM
which link?

You didn't say which language you are using, but the sticky will lead you to the answer.

jimi_hendrix
July 27th, 2008, 02:00 PM
thanks all i got it to work

xRes
September 30th, 2008, 12:46 PM
That was very useful but although thanks to you I can comile using the terminal, how can I enable the compile buttons on Geany?

Mindzai
September 30th, 2008, 12:59 PM
Assuming you have the compiler installed as described above, you need to point Geany to the location of the compiler if i remember correctly. It's somewhere in the preferences.

GearedForWar
October 1st, 2008, 01:52 AM
Also make sure you use the template file. If you use a blank file and save it as a cpp or py it still won't let you build or compile. But I never had a problem with it pointing to the compiler.

I installed Geany from the Add/Remove programs so I think it knew already where to find the G++ compiler.

jimi_hendrix
October 1st, 2008, 02:05 AM
wow how'd you come across this old thread...never knew it had to be a template though (never used one)...thanks

@GearedForWar btw New Jersey rules!

GearedForWar
October 4th, 2008, 06:00 AM
lol NJ. There is just so much I can say...


But ya I'm suprised you didn't know that. Pissed me off till I just found out about them. I hate using them because then they give you that huge comment crap.

jimi_hendrix
October 4th, 2008, 11:32 AM
i just erase the comments