[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Gnubg on MacOS High Sierra

From: Marcell Fulop
Subject: Re: [Bug-gnubg] Gnubg on MacOS High Sierra
Date: Sat, 23 Dec 2017 11:47:06 +1100

Hi Michael,


> I've been able to build GNUBG 1.06.001 (from CVS) on MacOS High Sierra.
> I had to coerce it with similar options as Macports uses for the
> project. When it was finished and installed it seems to work fine.

Did you do that with XCode? Can you share details of the this build please?

> I believe I may know why Marcel's build screws up the screen with the
> exception of the OpenGL stuff. By any chance marcel are you using the
> +quartz variant of GTK2, GTKGLEXT and GNUBG? If so that is likely your
> issue. +quartz has never worked properly with GNUBG.

I know and I was advised earlier that OpenGL (or GTK in general?) apps
will not work under Qartz from High Siearra on. I didn't really expect
the build to succeed but to my surprise, with many OpenGL deprecated
warnings, it did but failed to work correctly with the described

> If I use the +x11 variants of
> GTK2, and GTKGLEXT packages it works as expected.

Can you help me determine that? (Or rather, give some instructions on
how to get and use the X11 variants.) I didn't know there were such
variants to these libs. Like I said I installed dependencies from
Homebrew repo. It's worth clarifying that, as mentioned earlier, this
partially functional 3d build only succeeds when it's linked with
"glew" Homebrew package (i.e. GLU_LIBS="-L/usr/local/opt/glew/lib" and
GLU_CFLAGS="-I/usr/local/opt/glew/include") and with HS OpenGL
framework. In this case configure detects GLU, in other cases refuses
to continue with 3d.

> Marcel do you happen to know if you are using +quartz or x11?

Again, I'm not sure but I think so. The GTK brew package info says
"--with-quartz-relocation" (see below). Does this confirm it IS the
Quartz variant?

I'm able run gnubg, after make install, as the command "$ gnub" or "$
gnubg -w" from terminal console and the GTK window pops up (in
background) and the GUI is fully functional. (This is the same for
1.04 and 1.05 when SIMD and 3d is off.)

gtk+: stable 2.24.31 (bottled), HEAD
GUI toolkit
/usr/local/Cellar/gtk+/2.24.31_1 (1,199 files, 53.0MB) *
  Poured from bottle on 2017-12-08 at 16:40:01
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gtk+.rb
==> Dependencies
Build: pkg-config ✔
Required: gdk-pixbuf ✔, atk ✔, pango ✔, gobject-introspection ✔,
hicolor-icon-theme ✔
Optional: jasper ✘
==> Options
Build with jasper support
Build with quartz relocation support
Install HEAD version

gtkglext: stable 1.2.0 (bottled)
OpenGL extension to GTK+
/usr/local/Cellar/gtkglext/1.2.0_2 (78 files, 1.9MB) *
  Poured from bottle on 2017-12-08 at 17:17:52
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gtkglext.rb
==> Dependencies
Build: pkg-config ✔
Required: glib ✔, gtk+ ✔

glew: stable 2.1.0 (bottled), HEAD
OpenGL Extension Wrangler Library
/usr/local/Cellar/glew/2.1.0 (38 files, 3MB) *
  Poured from bottle on 2017-12-09 at 09:51:26
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/glew.rb
==> Dependencies
Build: cmake ✔

reply via email to

[Prev in Thread] Current Thread [Next in Thread]