Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old March 31, 2013, 19:17   #1
rader.wang
Rookie
 
rader.wang's Avatar
 
Join Date: Mar 2013
Location: China
Age: 36
Posts: 15
rader.wang is on a distinguished road
Unhappy compile lastest codes in vc2008 32bit-win7 is wrong

i know this problem is common ,but my situation is unique...

first.
my computer is 32 bit win7 system.
i get the lastest code version
by git clone https://github.com/angband/angband.git


second.
i compiled the codes follow the guide of http://rephial.org/wiki/Compiling#s2_5,

so i do as follow:

Windows + Visual C++

Get and install Microsoft Visual C++ 2008 Express edition.
Start the Visual Studio 2008 command prompt and change to the source directory of angband (e.g. C:\angband-3.1.0beta\src\)
Compile with nmake /fMakefile.nmake.

but the command prompt show that :
Makefile.src(171) : fatal error U1036: 语法错误 : “=”左边的名称太多
Stop.


my english is poor, could you please tell me how to solve this problem?
thank you.


by the way,
1.
i can compile the codes in ubuntu on vmware.
2.
can you tell me what IDE do you use to debug our angband codes?
can someone upload some videos telling how to develope the angband?
rader.wang is offline   Reply With Quote
Old March 31, 2013, 20:03   #2
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
I'm afraid the compilation instructions on rephial are out of date. The latest instructions are in src/win/ I think. I'm afraid I'm not a Windows player so I can't help, but plenty of people can.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old March 31, 2013, 22:26   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Try using mingw/msys. Once you have those installed, the instructions on the compiling page should work.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 1, 2013, 06:12   #4
rader.wang
Rookie
 
rader.wang's Avatar
 
Join Date: Mar 2013
Location: China
Age: 36
Posts: 15
rader.wang is on a distinguished road
Quote:
Originally Posted by Magnate View Post
I'm afraid the compilation instructions on rephial are out of date. The latest instructions are in src/win/ I think. I'm afraid I'm not a Windows player so I can't help, but plenty of people can.
thank you very much, your suggestion is valueable
rader.wang is offline   Reply With Quote
Old April 1, 2013, 06:24   #5
rader.wang
Rookie
 
rader.wang's Avatar
 
Join Date: Mar 2013
Location: China
Age: 36
Posts: 15
rader.wang is on a distinguished road
Smile

Quote:
Originally Posted by Nick View Post
Try using mingw/msys. Once you have those installed, the instructions on the compiling page should work.
thanks very much...
yesterday , i have try vc2008, mingw and cygwin, but there are 3 kinds of different errors...

maybe my mingw and cygwin is not suitable?

anyway, i should try mingw and cygwin again, thanks very much...
rader.wang is offline   Reply With Quote
Old April 1, 2013, 06:35   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by rader.wang View Post
maybe my mingw and cygwin is not suitable?
I find msys better than cygwin.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 1, 2013, 12:05   #7
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
I just tested this, and it worked for me:
  1. Download the mingw/msys installer
  2. Run the installer; it will create a MinGW folder
  3. Unzip angband into the MinGW\msys\1.0\home\<username>\angband folder
  4. Run msys.bat (in the MinGW\msys\1.0 folder)
  5. At the $ prompt in the msys window, cd into angband/src
  6. make -f Makefile.win MINGW=yes

The angband folder should now contain angband.exe, which you can run.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 1, 2013, 13:59   #8
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 38
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Quote:
Originally Posted by Nick
make -f Makefile.win MINGW=yes
Oh, did they finally get the whole make vs. mingw32-make issue sorted out?
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old April 1, 2013, 18:10   #9
rader.wang
Rookie
 
rader.wang's Avatar
 
Join Date: Mar 2013
Location: China
Age: 36
Posts: 15
rader.wang is on a distinguished road
Quote:
Originally Posted by Nick View Post
I just tested this, and it worked for me:
  1. Download the mingw/msys installer
  2. Run the installer; it will create a MinGW folder
  3. Unzip angband into the MinGW\msys\1.0\home\<username>\angband folder
  4. Run msys.bat (in the MinGW\msys\1.0 folder)
  5. At the $ prompt in the msys window, cd into angband/src
  6. make -f Makefile.win MINGW=yes

The angband folder should now contain angband.exe, which you can run.

thanks very much, i do as you tell me to do , and it works!
rader.wang is offline   Reply With Quote
Old April 1, 2013, 18:14   #10
rader.wang
Rookie
 
rader.wang's Avatar
 
Join Date: Mar 2013
Location: China
Age: 36
Posts: 15
rader.wang is on a distinguished road
Quote:
Originally Posted by ekolis View Post
Oh, did they finally get the whole make vs. mingw32-make issue sorted out?
follow the instruction of Nick, i compiled the angband successfully
rader.wang 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
compile lastest codes in vc2008 32bit-win7 is wrong rader.wang Development 0 March 31, 2013 19:03
Chengband Win32 interface slow under Win7 Therem Harth Variants 8 May 19, 2012 18:55
Differently arranged fonts [S, Win7] Fuma Variants 7 February 3, 2012 21:50
Bug report: / on numpad on win7 Remuz Development 6 July 8, 2011 14:16
Not Sure What I'm Doing Wrong... Lachre Vanilla 13 September 27, 2008 01:16


All times are GMT +1. The time now is 19:51.


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