Game Development Community

VC++ 2008 compiles - and it works - but executable is too big.

by Rui Barbosa · in Technical Issues · 08/16/2008 (8:58 am) · 6 replies

Hello.

When I compile TGEA using VC++ in VS 2008, it works.
It compiles beautifuly, and runs with no problems both when I use the Release and when I use the Debug options.

The problem is that when I compile the template game that comes with TGEA, the executable is 4,5M.
When I compile as Debug, it becomes 9M big.
When I use the Optimized profile, it becomes 6M big.

The original .exe is 1.8M.

Is there anything I am doing wrong?

Thanks,

Rui

#1
08/16/2008 (9:54 am)
You didn't manually pack it with UPX?
#2
08/16/2008 (9:58 am)
Hm. UPX?
So, that is what I missed.
Thanks, Jaimi.
#3
08/16/2008 (10:30 am)
Is the executable file size considered important?
#4
08/16/2008 (11:27 am)
Hi SteVe.
No, the executable size is not important.
I just thought I was doing something wrong, because my compiled executable was much bigger than the executable that comes with TGEA, so I thought "hm... I must be doing something wrong". :D
I turns out I was not compressing the executable.
My bad.
Cheers,
Rui
#5
08/21/2008 (6:48 pm)
Huh....
What is UPX
Does it come with VC 2008 or TGEA?
What does it do?