That makes sense.
I have started portng GtkGlExtMM to GTK3. Here are the workarounds I have done so far, and the problem I am currently facing. 1. On fedora 19, I got the GtkGlExtMM source code by installing gtkglextmm-devel . 2. I started in the gdkglext/gdkmm/gl folder, and created the Makefile SRCS=config.cc context.cc drawable.cc font.cc init.cc pixmap.cc pixmapext.cc query.cc tokens.cc version.cc window.cc windowext.cc wrap_init.cc CPPFLAGS=$(shell pkg-config gtkglext-3.0 gtkmm-3.0 --cflags) -I../.. -I. LDFLAGS=$(shell pkg-config gtkglext-3.0 gtkmm-3.0 --libs) OBJS=$(SRCS:.cc=.o) all: $(OBJS) 3. In this folder, I created the soft link defs.h -> /usr/include/gtkglextmm-1.2/gdkmm/gl/defs.h because there was no defs.h anywhere else that I could find This is odd -- using an older version of the package to find the header file defs.h . 4. I also had to make the following soft-link: gdkglextmm-config.h -> /usr/lib/gtkglextmm-1.2/include/gdkglextmm-config.h 5. The compilation of config.cc failed: In file included from ../../gdkmm/gl/defs.h:25:0, from ../../gdkmm/gl/config.h:27, from config.cc:3: ./gdkglextmm-config.h:17:2: error: #error "Installed GdkGLExt library doesn't have multihead support." #error "Installed GdkGLExt library doesn't have multihead support." Indeed, I checked the gdkglext-config.h created through building the tdz git files, and it does not define multihead support, whereas there is multihead support defined in GDK2 gdkglext-config.h file: #define GDKGLEXT_MULTIHEAD_SUPPORT The problem is, I cannot figure out how to configure multihead support int he tdz git build of GdkGLExt. On 02/10/2014 06:33 PM, Li Yanrui (李延瑞) wrote:
|
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature