![]() |
|
How to setup Allegro in Eclipse |
kunalseeni
Member #10,145
August 2008
|
Hi, I'm a complete Allegro newbie and I need help setting it up in Eclipse Ganymede with CDT installed. I would appreciate step-by-step instructions please. Thank You! |
Donald_W
Member #7,982
November 2006
|
Eclipse C++ and MinGW installation. Download Eclipse IDE for C/C++ Developers from http://www.eclipse.org/downloads/ and unpack it. Set enviromental variable MINGDIR to your MinGW directory, for example: D:\MinGW. Restart your computer, just to be sure that variables will be set. Download Allegro and unpack it to any directory, for example D:\allegro\. Get into Allegro dir, type fix.bat mingw, then type mingw32-make and press enter. Allegro should compile now, if you'll get error then try downloading compiled version, otherwise type mingw32-make install and press enter. If Allegro is installed properly or you downloaded it compiled and extracted to your Allegro directory (let's just use D:\allegro\) run Eclipse, make a new project and: 1) Right click on your project name in the Projects explorer, select Properties. Now you should be able to build Allegro applications, build it (ctrl+b). How to run Debug (you have to build your project before): If you can't see any variables in Debug perspective, then exit Eclipse and run it again. I think that's all to develop applications under Eclipse CDT platform, have fun. |
SiegeLord
Member #7,827
October 2006
![]() |
Also, see this wiki article. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
|