Hi,
BTW, if anyone has experience with building XHGTK on Windows,
I'd appreciate any information.
After installing a great amount of GTK dependencies, I stuck with this:
--
Package pixman-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman-1.pc'
(...)
include\xhgtk.h(22) : fatal error C1083: Cannot open include file:
'glib.h': No such file or directory
--
I've not tried to compile xhgtk, but I've successfully compiler gtk
libraries together with harbour code.
I've used mingw to compile gtk code. gtk related libraries was: atk-dev,
cairo-dev, glib-dev, gtk+-dev, pango-dev.
Here is a simple compile.bat:
===========================================
SET PATH=c:\mingw\bin;c:\gtk\bin;c:\harboursvn\bin
erase hello.exe
harbour.exe -n -w -gc -Ic:\harboursvn\include hello.prg
gcc -Wall -W hello.c -o hello.exe -mwindows -mms-bitfields
-Ic:\mingw\include -Ic:\harboursvn\include -Ic:\gtk\include
-Ic:\gtk\include\gtk-2.0 -Ic:\gtk\include\cairo
-Ic:\gtk\include\pango-1.0 -Ic:\gtk\include\glib-2.0
-Ic:\gtk\lib\gtk-2.0\include -Ic:\gtk\lib\glib-2.0\include
-Ic:\gtk\include\atk-1.0 -Lc:\harboursvn\lib -Lc:\gtk\lib
-Wl,--start-group -lvm -lrtl -lcommon -lrdd -lmacro -lgtwin
-Wl,--end-group -lgtk-win32-2.0 -lglib-2.0 -lgobject-2.0 2 > compile.log
erase hello.c
===========================================
It's an old harbour version, Harbour library names should be changed.
AFAIK, pixman is a part of cairo library.
Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour