[ptx] hugin and gtk2

Bruno Postle bruno at postle.net
Sat Nov 15 16:19:15 GMT 2003


I had a hard disk failure so I installed redhat fedora1 (which is
the successor to redhat9).  I'm also using the freshrpms wxGTK rpm
packages but these are now being linked with gtk2 rather than gtk.

..so I thought I'd try and build hugin with gtk2.

Suprisingly, it compiles fine, though I had to make this change to
the configure script:

    $XRC_LFLAGS="-lwx_gtk2_xrc-2.4";
    #$XRC_LFLAGS="-lwx_gtk_xrc-2.4";

It looks _very_ nice with the gtk2 widgets and anti-aliased fonts:

    http://bugbear.blackfish.org.uk/~bruno/hugin/screenshots-2003-11-15/

Everything seems to work fine, except the panorama preview
segfaults.

The images with borders are drawn in the preview, but then
immediately it crashes (it's ok so long as there are no images
loaded):

    TRACE 15:54:47.156010 (MainFrame.cpp:622) OnTogglePreviewFrame():
    TRACE 15:54:47.157071 (PreviewPanel.cpp:323) OnResize():
    TRACE 15:54:47.230708 (PreviewPanel.cpp:244) DrawPreview():
    DEBUG 15:54:47.231136 (PreviewPanel.cpp:286) DrawPreview(): drawing image 0
    Segmentation fault

-- 
Bruno


More information about the ptX mailing list