|
|
| [Linux] Allegro in Geany |
|
abdulmueid
Member #9,762
May 2008
|
I am currently using Geany Text Editor (http://geany.uvena.de/) as my IDE (really, it can compile) for Allegro and other C++ coding in Linux. I find Geany much faster than Anjuta, Eclipse, MonoDevelop, etc with just the necessary features (Syntax Highlighting, Code Folding, Auto Completion, Symbol Lists, etc). Here's how to get up and running with Allegro code on Geany: 1. Install Allegro and Geany from your Package Manager or build from source. ------------------------------------------------- g++ -O0 -g3 -Wall -c -o"%e.o" "%f" Build: g++ -o"%e" ./%e.o `allegro-config --libs --static` Execute: "./%e" Copy the strings as it is, include the quotes. Happy Compiling |
|
SiegeLord
Member #7,827
October 2006
|
Quote: g++ -o"%e" ./%e.o -lalleg -lm -lpthread -lXxf86vm -lXcursor -lXpm -lXext -lX11 -ldl
Why not: Does that not work with Geany? Also, this only works on linux, as you well know. And Geany is a cross-platform program, so the windows users who use it would be confused by your guide. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
|
abdulmueid
Member #9,762
May 2008
|
Thanks for the tip on Build string. As for the cross-platform, the title says [Linux] first thing. I was just browsing the forums and didn't find anything Geany related so thought i'd make a post. |
|
SiegeLord
Member #7,827
October 2006
|
Darn... I fail... Consider putting this into allegro wiki too. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
|
count
Member #5,401
January 2005
|
Whoa! Awesome! Was tired of using Eclipse and monodevelop and switched back to scite but I really missed an outline. This rocks! Thank you very much!
|
|
abdulmueid
Member #9,762
May 2008
|
SeigeLord: Great idea, added to wiki Christopher Bludau: Its a pleasure |
|
|