LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-19-2006, 01:35 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
GTK+ programs on Windows without having to install GTK+, GLib, etc


I wrote a user interface for another program in GTK+ and what I need to know is, is it possible to build it on Windows and give the executable to people without them having to download and install GTK+ and all of the dependencies?

I have GTK+ installed on my laptop, but when I copy the executable (and all the required .dll files) to another Windows machine, the program doesn't work. There's some error message about Pango, which I can't remember right now.

I'm going to have to rewrite it in a different toolkit, aren't I?

Thanks.
 
Old 02-19-2006, 02:31 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Couldn't you just statically link everything?

As for windows, why don't you simply redistribute all the needed downloads with your application?
 
Old 02-19-2006, 02:33 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
I read on a thread in the GTK+ mailing list that you can't statically link GTK (not that I would know how, anyway).

Hmm, yeah, I could but I think people would complain since they wouldn't know what all the stuff is .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK 1.2.0 and GLIB 1.2.0 install errors!!! Scrob Linux - Newbie 6 10-31-2012 01:57 AM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 07:07 PM
CANT INSTALL GTK and GLIB please HELP! cantrooper Linux - Software 0 08-15-2003 10:27 AM
GTK, GLIB + install structures sparrot Linux - Newbie 2 04-06-2003 09:24 AM


All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration