compile with eclipse

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
doma
Posts: 6
Joined: Tue Mar 27, 2007 7:24 am

compile with eclipse

Post by doma »

1. install gcc
*java: 1.5 or upper
*eclipse
http://www.eclipse.org/downloads/downlo ... tocol=http

*msys
http://prdownloads.sourceforge.net/ming ... e?download
*mingw from ogre
http://prdownloads.sourceforge.net/ogre ... e?download
path=C:\msys\1.0\bin;C:\mingw\bin;

(option) directx -> rename xxxxx.bz2 and unzip.
http://www.g-productions.net/page.php?i ... b684c45fd8
*my make file set
http://doma.zc.bz/irr/irrcompile.zip

2. make eclipse new c++ project
Makefile project , toolchain: MinGW GCC

unzip irrcompile.zip
add irrlicht's include to 'include' folder
add all irrlicht'ssource to 'src' folder
add jpeglib libpng zlib to 'src' folder
delete file jpeglib/jmemdos.c, jmemmac.c(not used)
add jpeglib/*.h libpng/*.h zlib/*.h to inc_otr
add all example folder to 'src' folder

3. Make Targets panel -> add 'all' target., add 'clean' target
4. compile 'all' target
5. code comletetion test
menu: Project-properties:C/C++ General-path and symbols:
GNU C++ ->add include folder
move to src/jmemmac.c and open main.cpp and play it.
Last edited by doma on Sat Aug 04, 2007 4:07 am, edited 2 times in total.
Perceval
Posts: 158
Joined: Tue May 30, 2006 2:42 pm

Post by Perceval »

Nice Howto, it should be useful for some people :)
doma
Posts: 6
Joined: Tue Mar 27, 2007 7:24 am

Post by doma »

Post Reply