Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old April 22, 2009, 00:29   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Is the GTK port broken?

Er, still a Windows user so I wouldn't know myself directly but my partner in crime on Angband/65 says that it doesn't compile when you select 'enable gtk'.

My 'gtk' code is currently unchanged from Vanilla Angband so if mine doesn't compile possibly yours won't either?

The following are the approximate error messages (translated from Japanese).

> gtk/main-gtk.c: In function `init_handlers':
> gtk/main-gtk.c:2625: error: `get_game_command' is not defined (first used in this function)
> gtk/main-gtk.c: In function `init_gtk':
> gtk/main-gtk.c:2731: implicit definition of function `init_display'
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old April 22, 2009, 02:10   #2
amoeba801
Rookie
 
Join Date: Apr 2009
Posts: 3
amoeba801 is on a distinguished road
I have just a few hours ago built a GTK version of Angband 3.1.0 beta which runs successfully in GTK mode with tiles enabled. This is on 386 architecture with 32-bit Ubuntu 8.10:
Code:
./configure --prefix=$HOME/dev/angband-3.1.0beta/ --with-libpath=$HOME/dev/angband-3.1.0beta/lib/  --enable-x11 --enable-gtk --enable-sdl -with-x
My only problems were in installing the right GTK libraries prior to compile. I would write a howto, except I'm not sure of what I installed is what I needed (libgkt2.0-dev, libglade2-dev, etc).
amoeba801 is offline   Reply With Quote
Old April 22, 2009, 05:51   #3
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Ah, sorry, I should have specified that I was talking about the 3.1.1 dev code.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old April 22, 2009, 09:39   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PaulBlay View Post
Ah, sorry, I should have specified that I was talking about the 3.1.1 dev code.
I'm not aware of the gtk code being broken in trunk - but if the wizard(s) who look after it were to pop up in this thread I have some questions of my own ...

I just tried to compile it myself, but libgtk2.0-dev will not install on Debian Lenny. Off to file a bug about this if it hasn't been done already ...
Magnate is offline   Reply With Quote
Old April 22, 2009, 20:29   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PaulBlay View Post
The following are the approximate error messages (translated from Japanese).

> gtk/main-gtk.c: In function `init_handlers':
> gtk/main-gtk.c:2625: error: `get_game_command' is not defined (first used in this function)
> gtk/main-gtk.c: In function `init_gtk':
> gtk/main-gtk.c:2731: implicit definition of function `init_display'
I can now confirm that I get these errors when compiling r1373 with --enable-gtk

....
Magnate is offline   Reply With Quote
Old April 22, 2009, 22:25   #6
ajps
Apprentice
 
Join Date: May 2007
Location: Manchester, UK
Posts: 50
ajps is on a distinguished road
Fixed in svn now.
ajps is offline   Reply With Quote
Old April 22, 2009, 22:34   #7
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by ajps View Post
Fixed in svn now.
Yup, thanks. Spotted that a short while ago and have already 'borrowed' the code for my variant in development.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Angband Java port strangeintp Vanilla 24 September 16, 2012 04:48
[FA] NDS port Donald Jonker Variants 54 October 6, 2011 15:49
Is there a port for Windows Mobile? bdo Vanilla 4 March 31, 2009 12:22
[V] Gtk port Magnate Development 1 February 24, 2009 09:48
Mr. Att icon for Windows port ekolis Vanilla 7 June 10, 2008 18:01


All times are GMT +1. The time now is 03:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.