Package Details: gtkglarea 2.1.0-6

Git Clone URL: https://aur.archlinux.org/gtkglarea.git (read-only, click to copy)
Package Base: gtkglarea
Description: GTK/GL Area libraries
Upstream URL: https://mono-project.com/GtkGLArea
Licenses: GPL
Submitter: ConnorBehan
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 4
Popularity: 0.45
First Submitted: 2021-04-22 23:06 (UTC)
Last Updated: 2022-01-22 16:08 (UTC)

Latest Comments

1 2 Next › Last »

PhotonX commented on 2022-01-22 19:55 (UTC)

I see, I will try that, thanks for your support!

ConnorBehan commented on 2022-01-22 19:01 (UTC)

The only reason it found the first part correctly is that #include <gtkgl-2.0/gtkgl/gtkglarea.h> in lightspeed.h is wrong. All knowledge about the gtkgl-2.0 subdirectory should come from the -I flags passed to gcc. And indeed, autoconf is not very smart. The proper fix is to make the configure script use pkgconfig for the CFLAGS the same way it does for the LIBS. But this is best inquired about on forums or IRC.

PhotonX commented on 2022-01-22 18:49 (UTC)

Right, thanks for pointing that out! To be honest, I have no experience with autoconf, I just took the script and tried to adjust it to use gtk2/gtkglarea instead of gtk/gtkglarea1 to the best of my knowledge...

But if this option is not specified, it should use some sane default value, shouldn't it? It worked with gtkglarea1 and also works with other libs like OpenGL. It just fails with gtkglarea for some reason...

As far as I understand, it finds /usr/include/gtkgl-2.0/gtkgl/gtkglarea.h correctly but then in its line 24 there is an include which points to a file which does not exist.

ConnorBehan commented on 2022-01-22 18:07 (UTC)

Also, in case it's not clear. The configure script, as it's currently written, will only pass the flag when you specify --with-gtkgl-prefix=/usr.

PhotonX commented on 2022-01-22 18:06 (UTC)

Sure, thanks for having a look at it! Here is the paste, I told the AUR helper to do a clean build: https://pastebin.com/6KEDH8sd

ConnorBehan commented on 2022-01-22 18:02 (UTC)

If it fails after "make clean" and "autoreconf" I can take a look. But ti would be best to use a pastebin to show the full build output.

PhotonX commented on 2022-01-22 17:59 (UTC)

It didn't solve the issue, lightspeed-git still fails to build when gktglarea1 is not installed, though I changed the line as you proposed: https://github.com/Photon89/lightspeed/blob/main/configure.ac#L70

ConnorBehan commented on 2022-01-22 17:26 (UTC)

GTKGL_CFLAGS should have "include/gtkgl-2.0" instead of just "include".

PhotonX commented on 2022-01-22 17:16 (UTC)

Would you mind having a look at it?

https://github.com/Photon89/lightspeed/blob/main/configure.ac#L78

Thanks!

ConnorBehan commented on 2022-01-22 16:07 (UTC)

It looks like this error occurs when you are trying to build something that depends on gtkglarea. I'm guessing its Makefile passes the flag -I/usr/include when it should also be passing -I/usr/include/gtkgl-2.0. This is what it would get by reading the pkgconfig file.