Re: libraries linked for gtk



On Wed, 2003-02-12 at 19:49, Simon Chu wrote:

>    --> My question: I need to link in gtk gdk glib gmodule and gthread
> libraries, do I just pass
> the libglib-2.0.so.0.200.0 files to g++ in the final link?  I looked
> at the gtk-demo make as reference
> (I included the make output below, there are a mix of direct linking
> of .so and using -lgmodule-2.0
> -lglib2.0, etc.  why is the mix, how do I create .a  (archives), I saw
> in the gtk-demo in the LDADDS
> target it does a strip but I tried to do a strip on the .la it says
> file format not recognized.
> 
>     I linked in my application with the libglib-2.0.so.0.200.0 files
> it linked but immediately crashed
> when I run it.

- This list is about the development of GTK+ itself, questions about
  using GTK+ should go to gtk-app-devel-list.

- See http://developer.gnome.org/doc/API/2.2/gtk/gtk-compiling.html
  for information about how to build GTK+ apps.

Regards,
                                                Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]