tdz / gtkglext Goto Github PK
View Code? Open in Web Editor NEWPort of gtkglext to GTK+ 3
License: GNU General Public License v2.0
Port of gtkglext to GTK+ 3
License: GNU General Public License v2.0
i'm already using the gtkglext port with GTK3 version of my application on linux, would be great to support OSX too. right now, i have to #ifdef all opengl stuff in OSX builds.
Since GTK 3.16, gtkglarea was built-in and have conflict with GdkGLExt at least for its gdkglcontext.h file and GdkGLContext namespace. Can we still use GdkGLExt?
I tried to build gtkglext, when running:
git clone git://github.com/tdz/gtkglext.git
cd gtkglext/cd gtkglext/
./bootstrap
./configure
the following error occured:
./configure: line 16192: syntax error near unexpected token 1.30.0' ./configure: line 16192:
GOBJECT_INTROSPECTION_CHECK(1.30.0)'
Good luck and good night
Holger Seelig
I tried to build (under ubuntu 12.04) without having gtk-doc installed and got the following error from autoreconf --install --force (and from bootstrap):
docs/reference/gtkglext/Makefile.am:112: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
docs/reference/gtkglext/Makefile.am:192: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
Installing gtk-doc-tools made this error disappear.
Hi,
I wonder how to create '.lib' file instead of '.a' using the build. I opened ".a" with Dependency Walker and it is not recognized.
Any idea?
Many thanks
Hello
Following the tutorial:
clone git project
go to the cloned directory
$ env ACLOCAL_FLAGS='-I /pkgconfig/share/aclocal -I /gtk/share/aclocal' \
./autogen.sh --prefix=${HOME}/gtkglext \
--enable-debug=yes
[root@myhost gtkglext]# env ACLOCAL_FLAGS='-I /pkgconfig/share/aclocal -I /gtk/share/aclocal' \
> ./autogen.sh --prefix=${HOME}/gtkglext \
> --enable-debug=yes
env: ‘./autogen.sh’: No such file or directory
best regards
Hi,
I'm having a compile error with the 'gdkglcontext.h' when running 'make' tool.
The 'GdkGLDrawable' has no declaration in any h files.
The file 'gdk\gdkgltypes.h' has declaration for '_GdkGLConfig', '_GdkGLContext' and '_GdkGLWindow' that exists in other h files except for '_GdkGLDrawable' which not does exist anywhere.
Any clue?
Thanks
-r.
'gdk\gdkgltypes.h'
typedef struct _GdkGLConfig GdkGLConfig;
typedef struct _GdkGLContext GdkGLContext;
typedef struct _GdkGLDrawable GdkGLDrawable;
typedef struct _GdkGLWindow GdkGLWindow;
../gdk/gdkglcontext.h:56:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLContext *gdk_gl_context_new (GdkGLDrawable *gldrawable,
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:65:1: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *gdk_gl_context_get_gl_drawable (GdkGLContext *glcontext);
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:67:1: error: unknown type name 'GdkGLConfig'; did you mean 'GdkGLContext'?
GdkGLConfig *gdk_gl_context_get_gl_config (GdkGLContext *glcontext);
^~~~~~~~~~~
GdkGLContext
../gdk/gdkglcontext.h:76:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *draw,
^~~~~~~~~~~~~
GdkGLDrawableAttrib
../gdk/gdkglcontext.h:77:48: error: unknown type name 'GdkGLDrawable'; did you mean 'GdkGLDrawableAttrib'?
GdkGLDrawable *read);
^~~~~~~~~~~~~
GdkGLDrawableAttrib
I'm trying to execute provided bootsrap script for the first time and I got the following error
u-ones@uones-Satellite-L310:~/gtk+/gtkglext/gtkglext-master$ ./bootstrap
configure.ac:58: warning: macro 'AM_CONFIG_HEADER' not found in library
configure.ac:105: warning: macro 'AM_DISABLE_STATIC' not found in library
configure.ac:126: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4macros/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:126: the top level
configure.ac:126: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4macros/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:126: the top level
configure.ac:126: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4macros/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:126: the top level
configure.ac:126: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4macros/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:126: the top level
configure.ac:58: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:105: error: possibly undefined macro: AM_DISABLE_STATIC
configure.ac:185: error: possibly undefined macro: AC_MSG_WARN
configure.ac:298: error: possibly undefined macro: AS_IF
configure.ac:299: error: possibly undefined macro: AC_MSG_FAILURE
autoreconf: /usr/bin/autoconf failed with exit status: 1
Bootstrapping complete. Now, change to your build directory and run
"configure"; e.g.:
$ cd mybuilddir
$ path/to/gtkglext-srcdir/configure
and here is my pkg-config --libs gtk+-3.0 output
-pthread -lgtk-3 -lgdk-3 -latk-1.0 -lcairo-gobject -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0
after no luck, I tried to run configure script and it said
./configure --prefix=/usr --datarootdir=/usr/share --enable-x11-backend
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Any helps, would be appreciated, thank you !
i posted a question about a segmentation fault at stackoverflow that appears sometimes.
http://stackoverflow.com/questions/19299949/segmentation-fault-using-python-gtk3-with-pyopengl
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.