Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-26-2010, 08:25 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Gonstruct: gtk2.20.1 and gtkglextmm 1.2.0

I was trying to create a MacPort for gonstruct, but I hit a road bump. It looks like there is an incompatibility between gtk2.20.1 and gtkglextmm (on Macs, at least).

With gtk2.20, gonstruct crashes when loading/opening a level with the following error:
NPC Code:
Symbol not found: _GTK_WIDGET_NO_WINDOW



However, when I downgrade gtk to 2.18, the error goes away, and gonstruct works just fine.

I just want to determine if this issue is Mac-related, or widespread... Is anyone running (or tried running) gonstruct with gtk 2.20.1?
Reply With Quote
  #2  
Old 07-27-2010, 05:10 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Do share the port of Gonstruct .
__________________
Reply With Quote
  #3  
Old 07-27-2010, 05:41 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Yeah, I plan on submitting the port to MacPorts when I'm finished (along with premake4, which I had to also port along the way...). When that's done, building/installing gonstruct with MacPorts should be as easy as:
NPC Code:
sudo port install gonstruct


It'll take a while though since the dependencies take forever to build (blame boost! :P).

Anyways, it looks like there is already a MacPort ticket filed for the gtk2/gtkglext incompatibly issue, so hopefully that gets resolved sometime soon (it probably will, since it's a pretty serious issue). I should have the port ready shortly after that's fixed.

EDIT: Looks like Debian fixed the issue in their version of gtkglext, and I've submitted the patch to the maintainer of gtkglext for MacPorts. Hopefully, the maintainer gets around to updating the port sometime soon... otherwise I'll give it a shot.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 07-27-2010 at 06:47 AM..
Reply With Quote
  #4  
Old 07-27-2010, 09:41 AM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Mh, gonstruct doesn't use gtkglext. There's two different OpenGL extensions for GTK, gtkglarea (also just called libgtkgl in some distributions) and gtkglext. Gonstruct just uses gtkglarea 2.0, which hasn't been updated in ages, but there have been problems with gtkglext on Windows, so I ended up using gtkglarea. I don't remember whether gtkglarea was in the MacPorts repository, but I think it was. I'll check later.
__________________
Graal Statistics

Top 3 servers at the moment (players):


Reply With Quote
  #5  
Old 07-27-2010, 10:09 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Both gtkglarea and gtkglarea2 are in the MacPorts tree:
NPC Code:
$ port list | grep gtkglarea
gtkglarea @1.2.3 x11/gtkglarea
gtkglarea2 @1.99.0 x11/gtkglarea2



But, I went with gtkglext because that's what was listed in the README (gtkglextmm) . Should I be using gtkglarea?

Anyways, I went ahead and patched the port for gtkglext and got gonstruct working with gtk2.20.1. Hopefully that will get committed soon... but in the meantime I can finish up the gonstruct port .

EDIT: Aww snap, I went to the old source that was linked off the home page, and not the latest version! It does, indeed, list gtkglarea instead of gtkglext! Oh well, at least I made a few random people happy with the gtkglext patch .
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 07-27-2010 at 10:20 AM..
Reply With Quote
  #6  
Old 07-27-2010, 12:35 PM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Good point though, you want gtkglarea2 not the normal gtkglarea, going to add that to the README.
__________________
Graal Statistics

Top 3 servers at the moment (players):


Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.