Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old April 19, 2009, 17:20   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Compile error - latest Vanilla Angband SVN

I'm getting the following error:

4879 C:\RL\angband311\src\main-win.c `win_get_cmd' undeclared (first use in this function)

I don't think I'm missing any files from my (Dev-C++ or VC++) compile. Any hints?

[EDIT] If I change it back to get_init_cmd (which it seems to have been before) it compiles, but the game freezes on 'File -> New'.

cmd_get appears to be eternally returning CMD_NEWGAME, (if I use 'get_init_cmd) which makes sense looking at the code but I still don't know what (or where) 'win_get_cmd' is supposed to be.

cmd_queue in cmd_get is just piling up CMD_NEWGAME's.
__________________
Currently turning (Angband) Japanese.

Last edited by PaulBlay; April 19, 2009 at 19:04.
PaulBlay is offline   Reply With Quote
Old April 19, 2009, 19:09   #2
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
I guess I'll just try reverting to 1363 and seeing how that behaves.

[EDIT] The 'get_init_cmd' version works just fine if I use File->Open, so it's the 'New' bit that's causing problems (I guess).
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old April 19, 2009, 21:05   #3
ajps
Apprentice
 
Join Date: May 2007
Location: Manchester, UK
Posts: 50
ajps is on a distinguished road
Yeah, default_get_cmd should have been called win_get_cmd (I think). Should be fixed in svn.
ajps is offline   Reply With Quote
Old April 19, 2009, 21:20   #4
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by ajps View Post
Yeah, default_get_cmd should have been called win_get_cmd (I think). Should be fixed in svn.
OK, thanks, it's working now.
__________________
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
Getting Unangband/Angband from SVN and Compiling on Windows andrewdoull Development 133 April 7, 2011 14:28
Small feature patch for Angband SVN PaulBlay Development 8 February 23, 2009 09:49
How to compile Angband page PaulBlay Oook! 2 February 20, 2009 12:51
Angband SVN down? PaulBlay Vanilla 6 February 19, 2009 16:44
Getting Visual C++ 2008 Express Edition to compile Angband 3.0.9 Orillian Vanilla 5 February 10, 2008 09:23


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


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