Hello Matthijs,
I use MSVC6. I can mail my configration as a zip-file to you or anyone else,
who would like to have it.
May be there is some place on the ethereal homepage.
(2.9 MB necessary dlls and files for runtime, 650 kB headers and libs for
compiling)
I will try to generate a makefile, which works with gtk1 and gtk2.
I can provide a nsis script as well.
> Well, I am using, as a debug tool, the GtktreeView widgit. This is
> not available in GTK1 and therfor only works on Linux. I have made an
> attempt to build this on windows as well. My attempt has been put on
> hold when I discovered the file structure of GTK2 is differen from GTK1,
> and I would have to make drastic changes the Makefile.nmake file.
> I see no changes to that file, so I presume you have used a different
> setup than I was planning to.
Instead of making drastic changes to makefile.nmake, I modified the file
structure
of the header files a little bit.
You have to copy "glibconfig.h" to the directory with "glib.h" and
"gdkconfig.h" to the directory with "gdk.h".
I moved also some *.lib files, to make the linker find them.
I moved atk headers and lib to gtk-2.0\atk and pango headers and libs to
gtk-2.0\pango
> I have collected the following files for building with gtk2:
> ethereal-0.9.12.tar.gz
You will need the actual version of "plugins.c" and the rest of the
plugin_api
> gettext-dev-0.10.40-20020904.zip
I did not need that.
> libiconv-1.8.tar.gz
I had problems with this version. I use
libiconv-1.9-w32.2.bin.woe32.zip
Only necessary for runtime.
> net-snmp-5.0.8.tar.gz
I use net-snmp-5.0.6 from ethereal website, but this will probably not
affect gtk2
> pkgconfig-0.14.zip
I did not need that.
> Can you publish somwhere what the exact setup of your build environment
> with respect to the above tools was. And if building was more involved
> than just doing "nmake -f Makefile.nmake", please publish that as well.
In "makefile.nmake" add following libs to ethereal_LIBS :
pango-1.0.lib
gobject-$(GLIB_VERSION).lib
Changes in "config.nmake" :
GTK_VERSION=2.0
GLIB_VERSION=2.0
A lot of new files and subdirectories are necessary to run ethereal with
gtk2 .
I think the ethereal homepage would be a good place for the zip-file.
Regards,
Lars