problems while compiling gtk with MSVC



Hubert Sokolowski writes:
I was trying to compile gtk using msvc. after successfull compilation of
glib  I downloaded the sources for atk and pango from Tor's site.
In atk sources there is no makefile.msc file. Don't know how to make
one.

Sorry, but if you want to use MSVC, you will have to hack together the
makefiles yourself where needed. The ones that are provided are
certain to have bitrotted more or less badly, and need some gentle
editing. The GLib MSVC makefiles might be a bit in better shape, as
you noticed.

in pango sources there is makefile.msc in example directory, but
it uses gtk lib file. I thought that gtk depends on pango, not pango on
gtk.

The example in question (viewer-win32.c) uses GTK but not for text
output. I don't think it has been maintained for many years. It
probably is a mistake to include it (and the makefile.msc) in the
tarballs.

Are there gtk runtime package compiled with msvc available for
download somewhere?

How do you think you will notice the difference between gcc- and
MSVC-compiled executable code?

--tml





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