GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Nov 27, 2014 9:45 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to packing gtk execute program to other computer in the
PostPosted: Thu Apr 10, 2008 9:37 am 
Offline

Joined: Thu Apr 10, 2008 9:08 am
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 10, 2008 10:28 am 
Offline
Familiar Face

Joined: Mon Apr 07, 2008 8:33 pm
Posts: 11
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group