Size of compiled DLL

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
skogen
Posts: 2
Joined: Thu May 20, 2004 1:22 pm

Size of compiled DLL

Post by skogen »

I tweaked IRRLICHT with some changes mentioned in this forum about smooth FPS camera setup. I re-compile the engine with no error or issues (actually one warning appears). However I noticed that original DLL size downloaded from Irrlicht website has about 800 KB but my re-compiled library has about 1.2 MB. What did I miss? Note I used the source code coming with the SDK containing the original dll.
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Using MSVC? Compile in release mode rather than debug, optimised size is far smaller.
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Post by Jedive »

The Dll size of the Dev-C++ version is bigger.
skogen
Posts: 2
Joined: Thu May 20, 2004 1:22 pm

Post by skogen »

Yeah, I forgot to mention that. I'm using MS VC++ 6.0 (Standard Edition). And of course I used Release config (otherwise the DLL is even bigger).
Serg Nechaeff
Posts: 162
Joined: Wed Nov 26, 2003 5:24 pm
Location: Europe

Post by Serg Nechaeff »

it depends on many factors: msvc edition, service packs, optimization options and so on...
http://www.javazing.com
P-III-950, WinXP, GeForce FX5600 128 MB ForceWare 52.16, DX9, Eclipse IDE, JRE 1.6
LordNaikon
Posts: 164
Joined: Wed May 05, 2004 5:34 pm
Location: Germany Berlin
Contact:

Post by LordNaikon »

i also istalled MSVC++ in debug mode !! and i have a dll size of 3 megs!!
but the worst is that i lost more than 20% of my FPS game speed!!!! can i easily change to release mode without reinstallation? or am i banished from microsoft to reinstall it ?
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Build->Batch Build->Choose Release Mode and rebuild all.
LordNaikon
Posts: 164
Joined: Wed May 05, 2004 5:34 pm
Location: Germany Berlin
Contact:

Post by LordNaikon »

thx ! now i only compile my projects so. i have increased my FPS up to 20% by irrlicht.dll and additionally 5-10% by the game itself ! COOL I LIKE RELEASE MODE! :mrgreen:

it is bad I program already a wihle and have it always in debug mode done :cry: and lost a lot of speed :cry:
q|^.^|p beeing every time friendly to everyone
sys: 2500+Barton 512MB 6600GT WinXP
Post Reply