From webmaster@orkyden.co.uk Wed May 14 10:58:24 2008 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 01503750170 for ; Wed, 14 May 2008 10:58:24 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: YES X-Spam-Score: 2.676 X-Spam-Level: ** X-Spam-Status: Yes, score=2.676 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_10_20=1.351, HTML_MESSAGE=0.001, HTML_TITLE_EMPTY=0.214, L_P0F_UNKN=0.8, MIME_HTML_ONLY=0.001, TW_GD=0.077, TW_GT=0.077, TW_LG=0.077, TW_TK=0.077] X-Amavis-OS-Fingerprint: UNKNOWN [65535:53:1:68:M1460,N,W1,N,N,T,N,N,?12:.:?:?] (up: 3527 hrs), (link: ethernet/modem), [217.146.188.66] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sPmUKAa1sZ12 for ; Wed, 14 May 2008 10:58:20 +0000 (GMT) Received: from smtp806.mail.ird.yahoo.com (smtp806.mail.ird.yahoo.com [217.146.188.66]) by menubar.gnome.org (Postfix) with SMTP id BD5247500F0 for ; Wed, 14 May 2008 10:58:19 +0000 (GMT) Received: (qmail 90508 invoked from network); 14 May 2008 10:58:17 -0000 Received: from unknown (HELO ?127.0.0.1?) (toby.roworth@btinternet.com@81.151.72.113 with plain) by smtp806.mail.ird.yahoo.com with SMTP; 14 May 2008 10:58:17 -0000 X-YMail-OSG: iuqj_yMVM1moBwjyXyd5SSqWw0XjyWyVKo9SpdF0ZZCfrZYez7ZmWhqrN9UzuVPlJkse7tyS4G0f5d8zk4b9I5pTCJ6xsLaAUvOl5_neV.8orvhcM2Xesbx6KUjK2APmC3KIzdMEnBBceEobzgkTmRUh X-Yahoo-Newman-Property: ymail-3 Message-ID: <482AC5C5.6030908@orkyden.co.uk> Date: Wed, 14 May 2008 11:58:13 +0100 From: Toby Roworth User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: gtkglext-list@gnome.org X-Enigmail-Version: 0.95.6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [GtkGLExt] DLLs and requirements X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 10:58:24 -0000 I've been trying to build my application against GtkGlExtmm , and am encountering linker errors when I compile, despite adding the -Wl,--enable-runtime-pseudo-reloc option as suggested.

I am using MinGW and MSys on 32bit Vista ( :-( ) and compiling with the following command, with the required DLLs in the appropriate directory

g++ -Wl,--enable-runtime-pseudo-reloc source/OpenDisplay.cpp -lsqlite3 -lgtkg
lextmm -lgdkglextmm -o OpenDisplay.exe `pkg-config gtkmm-2.4 --cflags --libs` `
pkg-config --cflags gtkglextmm-1.2`

However, I still get the following errors:

Info: resolving __ZTVN3Gtk2GL11DrawingAreaE by linking to __imp___ZTVN3Gtk2GL11DrawingAreaE (auto-import)
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22a4c): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d68): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d8b): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dac): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dbb): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dc9): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dd7): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23062): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23092): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2324b): undefined reference to `glClearColor@16'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2325c): undefined reference to `glClearDepth@8'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23462): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23696): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD1Ev[__ZN13OpenDisplayGlD1Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD0Ev[__ZN13OpenDisplayGlD0Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'

Am I putting the extra argument in the wrong place (I've tried many permutations), do I need annother DLL or is something else wrong. (Note I renamed the DLLs)

--

Sent by Toby Roworth (webmaster@orkyden.co.uk)
This message is intended for the named reciepients only, and should not be forwarded without permission
The conents of this message may be ©Toby Roworth

From webmaster@orkyden.co.uk Wed May 14 10:59:03 2008 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id CF5D7750251 for ; Wed, 14 May 2008 10:59:01 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: YES X-Spam-Score: 2.954 X-Spam-Level: ** X-Spam-Status: Yes, score=2.954 tagged_above=-999 required=2 tests=[BAYES_80=2, L_P0F_UNKN=0.8, TW_GT=0.077, TW_TK=0.077] X-Amavis-OS-Fingerprint: UNKNOWN [65535:53:1:68:M1460,N,W1,N,N,T,N,N,?12:.:?:?] (up: 3527 hrs), (link: ethernet/modem), [217.146.188.66] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RLq0bk66QU4I for ; Wed, 14 May 2008 10:58:56 +0000 (GMT) Received: from smtp806.mail.ird.yahoo.com (smtp806.mail.ird.yahoo.com [217.146.188.66]) by menubar.gnome.org (Postfix) with SMTP id BCEBD7500F0 for ; Wed, 14 May 2008 10:58:55 +0000 (GMT) Received: (qmail 91676 invoked from network); 14 May 2008 10:58:53 -0000 Received: from unknown (HELO ?127.0.0.1?) (toby.roworth@btinternet.com@81.151.72.113 with plain) by smtp806.mail.ird.yahoo.com with SMTP; 14 May 2008 10:58:53 -0000 X-YMail-OSG: HuQtlsUVM1l4QPwBiRf1EbNmUYYTphwtcWZxoXc2LQe21iIT9wtgVKsdUxpIJMB_qupQT._jNJw6KFVN_UfdarkIbWd66uc0qSKqEMSasr56lMjxUrcrsHo.tvwncR_08St1z2bak329yYzSPeyuHdv5 X-Yahoo-Newman-Property: ymail-3 Message-ID: <482AC5E8.5020306@orkyden.co.uk> Date: Wed, 14 May 2008 11:58:48 +0100 From: Toby Roworth User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: gtkglext-list@gnome.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [GtkGLExt] Windows precompiled binary v1.2.0 X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 10:59:03 -0000 I found this yesterday, after having trouble compiling gtkglextmm on windows - it may be helpful to have a link to it on the site (I think the owner seemed fine about this) http://vpython.org/download/gtkglextmm1.2-MinGW-binaries.zip Toby Roworth -- ------------------------------------------------------------------------ Sent by Toby Roworth (webmaster@orkyden.co.uk) This message is intended for the named reciepients only, and should not be forwarded without permission The conents of this message may be ©Toby Roworth From webmaster@orkyden.co.uk Wed May 14 10:59:15 2008 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id BCF2275029A for ; Wed, 14 May 2008 10:59:15 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.109 X-Spam-Level: * X-Spam-Status: No, score=1.109 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_UNKN=0.8, TW_GD=0.077, TW_GT=0.077, TW_LG=0.077, TW_TK=0.077] X-Amavis-OS-Fingerprint: UNKNOWN [65535:52:1:68:M1460,N,W1,N,N,T,N,N,?12:.:?:?] (up: 1204 hrs), (link: ethernet/modem), [217.146.188.72] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yxb9IyH8ZhKp for ; Wed, 14 May 2008 10:59:12 +0000 (GMT) Received: from smtp812.mail.ird.yahoo.com (smtp812.mail.ird.yahoo.com [217.146.188.72]) by menubar.gnome.org (Postfix) with SMTP id 19EF9750251 for ; Wed, 14 May 2008 10:59:11 +0000 (GMT) Received: (qmail 90265 invoked from network); 14 May 2008 10:59:09 -0000 Received: from unknown (HELO ?127.0.0.1?) (toby.roworth@btinternet.com@81.151.72.113 with plain) by smtp812.mail.ird.yahoo.com with SMTP; 14 May 2008 10:59:09 -0000 X-YMail-OSG: .TrvUs4VM1nM5K.Zbb90aqbccKIEfx_TGV.GDNPwsEQkl9_ZxiR4Sok1qa2rORaGdUvgK_Z1G2ZeY6nMo6.lu9Z7ZU8HGpHzaGUYU3UXLkOdYsPP646i0_z0LsdWwMBmdKI- X-Yahoo-Newman-Property: ymail-3 Message-ID: <482AC5F7.90801@orkyden.co.uk> Date: Wed, 14 May 2008 11:59:03 +0100 From: Toby Roworth User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: gtkglext-list@gnome.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: [GtkGLExt] DLLs and requirements X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 10:59:16 -0000 I've been trying to build my application against GtkGlExtmm , and am encountering linker errors when I compile, despite adding the -Wl,--enable-runtime-pseudo-reloc option as suggested. I am using MinGW and MSys on 32bit Vista ( :-( ) and compiling with the following command, with the required DLLs in the appropriate directory g++ -Wl,--enable-runtime-pseudo-reloc source/OpenDisplay.cpp -lsqlite3 -lgtkg lextmm -lgdkglextmm -o OpenDisplay.exe `pkg-config gtkmm-2.4 --cflags --libs` ` pkg-config --cflags gtkglextmm-1.2` However, I still get the following errors: Info: resolving __ZTVN3Gtk2GL11DrawingAreaE by linking to __imp___ZTVN3Gtk2GL11DrawingAreaE (auto-import) ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22a4c): undefined reference to `vtable for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d68): undefined reference to `VTT for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d8b): undefined reference to `VTT for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dac): undefined reference to `vtable for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dbb): undefined reference to `vtable for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dc9): undefined reference to `vtable for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dd7): undefined reference to `vtable for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23062): undefined reference to `VTT for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23092): undefined reference to `VTT for OpenDisplayGlArea' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2324b): undefined reference to `glClearColor@16' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2325c): undefined reference to `glClearDepth@8' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23462): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()' ./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23696): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()' ./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD1Ev[__ZN13OpenDisplayGlD1Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()' ./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD0Ev[__ZN13OpenDisplayGlD0Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()' Am I putting the extra argument in the wrong place (I've tried many permutations), do I need annother DLL or is something else wrong. (Note I renamed the DLLs) -- ------------------------------------------------------------------------ Sent by Toby Roworth (webmaster@orkyden.co.uk) This message is intended for the named reciepients only, and should not be forwarded without permission The conents of this message may be ©Toby Roworth From webmaster@orkyden.co.uk Fri May 23 13:16:06 2008 Return-Path: X-Original-To: gtkglext-list@gnome.org Delivered-To: gtkglext-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 47D217501B5 for ; Fri, 23 May 2008 13:16:06 +0000 (GMT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.032 X-Spam-Level: * X-Spam-Status: No, score=1.032 tagged_above=-999 required=2 tests=[BAYES_50=0.001, L_P0F_UNKN=0.8, TW_GL=0.077, TW_GT=0.077, TW_TK=0.077] X-Amavis-OS-Fingerprint: UNKNOWN [65535:44:1:68:M1460,N,W1,N,N,T,N,N,?12:.:?:?] (up: 597 hrs), (link: ethernet/modem), [217.146.188.61] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cGneSdcPQPhe for ; Fri, 23 May 2008 13:16:00 +0000 (GMT) Received: from smtp801.mail.ird.yahoo.com (smtp801.mail.ird.yahoo.com [217.146.188.61]) by menubar.gnome.org (Postfix) with SMTP id EFBC57501DB for ; Fri, 23 May 2008 13:15:59 +0000 (GMT) Received: (qmail 96232 invoked from network); 23 May 2008 13:15:57 -0000 Received: from unknown (HELO ?127.0.0.1?) (toby.roworth@btinternet.com@81.151.72.113 with plain) by smtp801.mail.ird.yahoo.com with SMTP; 23 May 2008 13:15:57 -0000 X-YMail-OSG: vDOXx2EVM1m81HmVZEFPgHU8Sm4lG7L0JcpblT_deq4sf6RGdXWk8JQ1Al366NwRRXfcSuueWS4i2iWIMT2sqyIhf1rEcjV.Mwj2R7dGpZvNUMzPh4l6nDzEX9tWHpUmzfQ- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4836C38B.1060402@orkyden.co.uk> Date: Fri, 23 May 2008 14:15:55 +0100 From: Toby Roworth User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: m.hudson@rockfield.co.uk, gtkglext-list@gnome.org References: EBEKILKMLFELGLCNBNIDKEOKCFAA.m.hudson@rockfield.co.uk X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [GtkGLExt] segfault on configure event X-BeenThere: gtkglext-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Discussion of GtkGLExt, OpenGL Extension to GTK+" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 13:16:06 -0000 I may be having a similar problem (although I'm using gtkglextmm) - my program segfaults whenever I configure or realize Looking at the debug from GDM, it might be something to do with reference pointers, although I'm not sure how. If you work anything out, please let me know Toby Mike Hudson wrote: Hi all, Newbie here. I am trying to create an opengl canvas for our gtk app ui (one of many interfaces) and am having little luck. I have followed the example laid out in template.c in order to try and create a "canvas" area but am consistently getting a segfault when (as per the example configure-event handler) I call gtk_widget_get_gl_context(). I've built the libraries from source on fc7 (not too sure if that is relevant). Below is the output from a ddd session, with some content coming from setting debug output on glext, some is mine (but based on calls to glglext functions) I hope someone might be able to see something out of the ordinary..? GNU DDD 3.3.11 (i686-redhat-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller. Copyright © 1995-1999 Technische Universität Braunschweig, Germany. Copyright © 1999-2001 Universität Passau, Germany. Copyright © 2001 Universität des Saarlandes, Germany. Copyright © 2001-2004 Free Software Foundation, Inc. Using host libthread_db library "/lib/libthread_db.so.1". (gdb) break gtk_canvas_configure_event Breakpoint 1 at 0x805fd19: file uio_gtk.c, line 431. (gdb) run -i gtk newtest_ui.u [Thread debugging using libthread_db enabled] [New Thread -1208350992 (LWP 5372)] GdkGLExt-Message: - gdk_gl_config_new () GdkGLExt-Message: -- gdk_gl_config_new_common () GdkGLExt-Message: -- Server GLX_VENDOR : NVIDIA Corporation GdkGLExt-Message: -- Server GLX_VERSION : 1.4 GdkGLExt-Message: -- Server GLX_EXTENSIONS : GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_texture_from_pixmap GLX_ARB_multisample GLX_NV_float_buffer GdkGLExt-Message: -- Client GLX_VENDOR : NVIDIA Corporation GdkGLExt-Message: -- Client GLX_VERSION : 1.4 GdkGLExt-Message: -- Client GLX_EXTENSIONS : GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGI_video_sync GLX_NV_swap_group GLX_NV_video_out GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_swap_control GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_fbconfig_packed_float GLX_EXT_texture_from_pixmap GdkGLExt-Message: ** glXChooseVisual () GdkGLExt-Message: - gdk_gl_config_new () GdkGLExt-Message: -- gdk_gl_config_new_common () GdkGLExt-Message: ** glXChooseVisual () GdkGLExt-Message: -- glXChooseVisual: screen number = 0 GdkGLExt-Message: -- glXChooseVisual: visual id = 0x23 GdkGLExt-Message: -- gdk_gl_config_class_init () GdkGLExt-Message: -- gdk_gl_config_impl_x11_class_init () GdkGLExt-Message: -- gdk_gl_config_setup_colormap () GdkGLExt-Message: -- gdk_gl_config_get_std_rgb_colormap () GdkGLExt-Message: -- Colormap: new GdkGLExt-Message: -- Colormap: visual id = 0x23 Got config! gtkgl successfully initialised Canvas widget is: 0x98225c0 GtkGLExt-Message: - gtk_widget_set_gl_capability () Created canvas Internal: Setting a label on a list with no current label GtkGLExt-Message: -- gtk_gl_widget_style_set () GtkGLExt-Message: -- gtk_gl_widget_size_allocate () GtkGLExt-Message: -- gtk_gl_widget_configure_event () GtkGLExt-Message: -- gtk_gl_widget_realize () GdkGLExt-Message: - gdk_window_set_gl_capability () GdkGLExt-Message: - gdk_gl_window_new () GdkGLExt-Message: -- gdk_gl_window_class_init () GdkGLExt-Message: -- gdk_gl_window_impl_x11_class_init () GdkGLExt-Message: -- gdk_gl_window_impl_x11_gl_drawable_interface_init () GdkGLExt-Message: - window->bg_pixmap = (nil) GdkGLExt-Message: - window->bg_pixmap = 0x2 [Switching to Thread -1208350992 (LWP 5372)] Breakpoint 1, gtk_canvas_configure_event (widget=0x98225c0, event=0x98210b0, data=0x0) at uio_gtk.c:431 (gdb) next configure_event passed widget 0x98225c0 (gdb) next (gdb) next widget is gl capable (gdb) next (gdb) next gl window of widget 0x98225c0 is: 0x9836060 (gdb) step gtk_widget_get_gl_context (widget=0x98225c0) at gtkglwidget.c:476 /home/mike/gtkglext-1.2.0/gtk/gtkglwidget.c:476:13733:beg:0x1178fd (gdb) next ... (gdb) next (gdb) step gtk_widget_create_gl_context (widget=0x98225c0, share_list=0x0, direct=1, render_type=32788) at gtkglwidget.c:428 /home/mike/gtkglext-1.2.0/gtk/gtkglwidget.c:428:12536:beg:0x1177a4 (gdb) next (gdb) next GtkGLExt-Message: - gtk_widget_create_gl_context () (gdb) next ... (gdb) print gldrawable No symbol "gldrawable" in current context. (EDIT: Think this is a build/debugger issue?) ... (gdb) step Program received signal SIGSEGV, Segmentation fault. 0x00a51207 in XVisualIDFromVisual () from /usr/lib/libX11.so.6 Basically I get through the creation of the widget ok, but as soon as the configure_event handler is called, I get this segfault when trying to create a gl context. FYI the template example builds and runs perfectly. Any feedback/requests for more info gratefully received (apologies if this is a little long). Regards, M Hudson -- ------------------------------------------------------------------------ Sent by Toby Roworth (webmaster@orkyden.co.uk) This message is intended for the named reciepients only, and should not be forwarded without permission The conents of this message may be ©Toby Roworth