Skip to contentSkip to conversation

wxGTK-2.4.0

DISCUSSION Jonathan Naylor 2 participants 3 messages Jan 15, 2003 – Jan 16, 2003

lore
Share & tools
lore
#0 lore raw

Hi again

I've had a very enjoyable day building different version of wxGTK-2.4.0 and building LinWSJT and finding what does and doesn't work with it !

LinWSJT does work with wxGTK-2.4.0 but not with all build types:

It will work with wxGTK-2.4.0 built with GTK+ 1.x.y (in my case 1.2.10), this is achieved by using "./configure --with-gtk" for wxGTK.

It will sort of work with wxGTK-2.4.0 and GTK+ 2 (in my case 2.2.0) but without Unicode support by "./configure --with-gtk --enable-gtk2". When I means "sort of works", I mean that the numbers on the spectrum graph (the square graph on the right) do not appear, but otherwise FSK441 operates correctly, JT44 is perfectly OK.

The currently released LinWSJT will not build as Unicode, the next release is Unicode compliant but suffers from the same problems as above. I think this is a bug in wsGTK-2.4.0 and I will report it to the bug tracking database. If I build wxGTK for debugging I get an assertion failure when dealing with Pango.

So I recommend using wxGTK-2.4.0 with GTK+ 1.x.y and you should be fine, of course you may have to install pkg-config to get it to build in the first place.

Jonathan HB9DRD/G4KLX

#1 lore raw

wxGTK-2.4.0 (3)

I had a fiddle with the ./configure script to find out what was happening.

Installed is GTK+2
(gtk+2-1.3.13-2mdk and libgtk+2-devel-1.3.13-2mdk)

And also GTK+1.2:
(libgtk+1.2-1.2.10-25mdk and libgtk+1.2-devel-1.2.10-25mdk)
for some legacy stuff.

When doing a "./configure", the script apparently assumes GTK+2.

It compares GTK+2 to the 'min_gtk_version' of 2.0.0

Mine (1.3.13) failed this test. As a result, the script then (for unknown reasons) doesn't run pkg-config. So, it doesn't get the CFLAGS and the conftest fails with a misleading error message.

The upshot is, I need GTK+2 version 2.0.0 or later.

Quoted 2 lines

It will work with wxGTK-2.4.0 built with GTK+ 1.x.y (in my case 1.2.10), this is achieved by using "./configure --with-gtk" for wxGTK.

                             ^^^^^^^^^^^^^^^^^^^^^^^

Sure enough..that worked. It is, in fact, mentioned in the wxGTK-2.4.0 README-GTK.txt...<sheepish grin>...but it doesn't make mention of the GTK+2 requirement.

Anyway, I'll carry on with wxGTK-2.4.0 and GTK+ 1.2.10 first.

Many thanks for the pointers, everyone.

Wilbert, ZL2BSJ

#2 lore raw

Re: wxGTK-2.4.0 (3)

In reply to Jonathan Naylor

A quick correction to my previous note (due to a dodgy cache):

  ./configure --with-gtk --disable-gtk2

...will work, if you have both gtk+ and gtk+2 installed, and the gtk+2 is earlier than version 2.0.0

Wilbert, ZL2BSJ