statically linking Irrlicht

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
qwe
Posts: 112
Joined: Sun Dec 28, 2003 12:54 am
Location: Oregon, USA

statically linking Irrlicht

Post by qwe »

Would it be possible to compile Irrlicht in with the program, rather than depending on a dll? It would be easier to create, say, screensavers with irrlicht if this was possible.
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

yes, it should be. instead of including the .LIB, simply include everything in your irrlicht0.4.2/source/ folder. you'll have to either change your include<irrlicht.h> statements into include "irrlicht.h" or else in project settings add irrlicht/src as one of the places to explicitly look for headers.

you may also need to worry about some of the compile flags that the irrlicht lib uses for .dll/.lib creation.
a screen cap is worth 0x100000 DWORDS
Post Reply