User forums > Help

Large output file size

<< < (2/2)

thomas:
In short, if you use wxWidgets, then don't complain about disk space. wxWidgets is huge, both in functionality and code size, and using it always means to use a lot more space on disk -- this is the price you have to pay for using a huge framework. It's the same with using languages like C++ that offer exception handling and universal standard libraries. Those things aren't free.
On modern computers, 5 MB are nothing, anyway. It's not like 5 MB is half of the size of your hard disk like in the 1980s :)
Most people nowadays don't even notice 5 MB when they have to download them (that's how long...2 seconds?), thanks to widely available high bandwidth internet. Remember the time when 2400-bit/s was top of the line...

yeyidogan:
Thanks for all answers.
As I understand the above descriptions, I created a new project with that settings:
Preffered GUI Builder: wxSmith
Application Type: Frame Based
wxWidgets' Location: D:\SourceCode\Libraries\wxWidgets2.8 (wxPack_v2.8.9.02)
Compiler: GNU GCC Compiler
wxWidgets Library Settings: checked Use wxWidgets Dll, checked wxWidgets is build as a monolithic library, checked Enable unicode.
Miscellaneous Settings are unchecked.

I compiled that project:
Release output file size: 71.50 KB  (wonderful  :D)
Debug output file size: 1984 KB

But to run mytemp.exe, wxmsw28ud_gcc.dll is required in the same directory. But it is 91 MB.

Is there any way to use exe file with dynamically linked libraries as firefox :)

with best regards,
Yilmaz Eyidogan

frithjofh:
hi,

the library wxmsw28ud_gcc.dll is the unicode debug version of wxWidgets, it may be bigger than a non-debug version to link dynamically.

also you could search for or try to compile wxWidgets not as monolithic, but as modular, and not include those parts of wxWidgets you don't need for your app, that could save some space for the dynamic library too.

regards

nausea

yeyidogan:
Hi,

I will work on wxWidgets.
So I have to read all wxWidgets documents in wxwidgets.org

Vbr,
Yilmaz Eyidogan

Navigation

[0] Message Index

[*] Previous page

Go to full version