On Wed, 11 Feb 2009, Szak�ts Viktor wrote:

Hi Viktor,

> I'm happy to report, that GTK+ is in the Harbour.
> Samples building / running just fine, after simply adding a few libs
> to HB_USER_LIBS, -I for the headers and copying in the required RT .dlls.
> Congrats for the xhgtk team, very nice job.

You do not have to use this libs too if you are using MinGW or other
GCC based compiler.
Try to build xhgtk shared library by:
   hb-mkslib libxhgtk libxhgtk.a `pkg-config --libs gtk+-2.0 libglade-2.0`
It will have all references to extenral GTK libraries inside xhgtk.dll
so all what you will have to do is adding -lxhgtk when you link your
application.
If you are using hb* scripts then you can also use -xhgtk switch for
linking (hblnk or hbmk). In such case it will work also for static
xhgtk lib.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to