 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
Simpson
Joined: 10 Apr 2008 Posts: 1
|
Posted: Thu Apr 10, 2008 9:37 am Post subject: How to packing gtk execute program to other computer in the |
|
|
Hello!
How to packing gtk+ execute program to other computer in the MS windows?
I have write a gtk+ program in the MS windows
But, I can’t run this program on other computer that no gtk environments like dll, etc, lib, share. But these total files need about 160 MB big spaces.
Dose anyone know how to release run able gtk+ program?
Thanks
Simpson |
|
| Back to top |
|
 |
RamDas Familiar Face
Joined: 07 Apr 2008 Posts: 7
|
Posted: Thu Apr 10, 2008 10:28 am Post subject: |
|
|
Hi Simpson,
You cannot run any dynamically compiled GTK+ programs without including/installing the GTK+ runtime libraries or environment.
What all you can do is include or copy all those required runtime libraries in to the folder where your application reside and create a GTK+ runtime environment. Of course, doesn't matter how small your application file size is, the distribution packages size will increase depending on the required runtime libraries which your application use. To get better understanding, look at the following Windows version of the applications.
Wireshark - Very good network protocol analyzer
(Old project name is 'Ethereal' http://www.ethereal.com/ )
http://www.wireshark.org/
Inkscape - It is a Vector Graphics Editor
http://www.inkscape.org/
Another way of doing is getting source code of the GTK+ runtime and compile them statically in to your application. But still file size is not going to decrease. Here the GNU LGPL license issue will arise if your binary distribution is not going to give free the source code of the application. If you are interested about license please look in to their specific website.
At last, try to Install windows specific official GTK+ Runtime for commonly available for all GTK+ Applications. This is the recommended way in Win32 environment.
http://ftp.gnome.org/pub/gnome/binaries/win32/
There are few other sites offer readily builded installer version of minimum GTK+ runtime packages for windows as well.
example: 3.5 MB zipped
http://surfnet.dl.sourceforge.net/sourceforge/gimp-win/gtk+-2.6.10-20050823-setup.zip
Look at in the internet for latest version of the installer.
Thanks
Ram Das |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|