Re: [Gtk-osx-users] Compiling gtk program using gtk-osx
- From: Victor Tsang <ikutakun gmail com>
- To: "GTK+-2 OSX Users" <gtk-osx-users lists sourceforge net>
- Cc: John Ralls <jralls ceridwen us>
- Subject: Re: [Gtk-osx-users] Compiling gtk program using gtk-osx
- Date: Thu, 10 Mar 2011 07:12:12 -0800
Thanks for your tip! I compiled my program using gcc. Now I have another issue. When I do "jhbuild build gtk-quartz-engine", it seems to download version 0.1 which has a missing configuration file so I couldn't build it. I see there is a version 0.2 on the repository. How can I fix this problem?
Victor
On Wed, Mar 9, 2011 at 8:26 PM, John Ralls
<jralls ceridwen us> wrote:
On Mar 9, 2011, at 1:11 PM, Victor Tsang wrote:
> Hi there,
>
> I have installed gtk-osx using jhbuild. Now I am confused on how to compile my program. After installing gtk-osx, I should have all the gtk libraries in my computer correct? can I simply use a make file to compile my program? If I do use make file to compile, do I lose the ability to bundle up my program since I didn't use jhbuild to compile my program? It will be great you guys can provide me some hints on how to get the jhbuild compiling my program.
Um, jhbuild builds and installs a lot of things, including Gtk+ (assuming that you've built meta-gtk-osx-core), but there isn't anything called "gtk-osx" to build. Gtk-osx is the collection of scripts and modulesets that make jhbuild work on OSX. If Gtk+ is your only dependency, then you need to bootstrap and build meta-gtk-osx-bootstrap and meta-gtk-osx-core. If you have a non-trivial program with other dependencies, then you'll have to build the other dependencies, too. Many are supported in the modulesets, but many more aren't. You may very well have to write a special moduleset to get everything you need built. You'll have to learn that from the jhbuild manual.
No, I can't tell you how to build your app. If you've actually read the build instructions, you know that you can run `jhbuild shell` to set up your environment; from there you can do whatever you usually do to build your program, whether it's autotools, cmake, ant, boost jam, or any number of other build environments.
If you want to learn how to write a module, go read the jhbuild documentation: http://library.gnome.org/devel/jhbuild/unstable/
Regards,
John Ralls'
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]