Ethereal-dev: RE: [Ethereal-dev] config.nmake problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martijn Schipper" <mschipper@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Nov 2003 11:18:38 +0100
David,

I did build a version with GLIB version 2.2.1 and GTK version 1.3.0 and
VC 6.0 without problems. I don't know if GLIB version 2.0 is different
from version 2.2 in this respect.

Best regards,

Martijn Schipper.

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of David Richards
Sent: zaterdag 8 november 2003 9:40
To: Ethereal
Subject: [Ethereal-dev] config.nmake problem

I just tried building  with GLIB_VERSION=2.0 and GTK_VERSION=1.3 and
found
that config.nmake does not work.  I have to comment out the lines marked
with ********   to make it right.  The paths to gtk stuff do not change
by
using different glib.  How have people been building this combination?

I haven't tried 2.0/2.0 combination, so I don't know if that works
correctly.

Section from config.nmake...

!IF "$(GTK_VERSION)" == "1.3"
********   !IF "$(GLIB_VERSION)" == "1.3"
# GTK+ 1.3 with GLib 1.3
GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR) /I$(GTK_DIR)\gdk
GTK_LIBS=$(GTK_DIR)\gtk\gtk-$(GTK_VERSION).lib \
 $(GTK_DIR)\gdk\gdk-$(GTK_VERSION).lib \
 $(GLIB_LIBS)
********   !ELSE
# GTK+ 1.3 with GLib 2.0
********   GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include
/I$(GTK_DIR)\include\gdk \
********    /I$(GTK_DIR)\lib\gtk+\include
********   GTK_LIBS=$(GTK_DIR)\lib\gtk.lib \
********    $(GTK_DIR)\lib\gdk.lib \
********    $(GLIB_LIBS)
********   !ENDIF
!ELSE
# GTK+ 2.x (with GLib 2.x)
GTK_CFLAGS=$(GLIB_CFLAGS) /I$(GTK_DIR)\include\gtk-$(GTK_VERSION) \
 /I$(GTK_DIR)\lib\gtk-$(GTK_VERSION)\include \
 /I$(GTK_DIR)\include\atk-1.0 \
 /I$(GTK_DIR)\include\pango-1.0
GTK_LIBS=$(GTK_DIR)\lib\gtk-win32-$(GTK_VERSION).lib \
 $(GTK_DIR)\lib\gdk-win32-$(GTK_VERSION).lib \
 $(GTK_DIR)\lib\pango-1.0.lib \
 $(GLIB_LIBS)
!ENDIF


Dave Richards


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev


******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the intended recipient.  Any unauthorized review, use or distribution by others is strictly prohibited.  If you have received the message in error, please advise the sender by reply email help@xxxxxxxxxxxxxxxxxxx, and delete the message. Thank you."
****************************************************************