compile lastest codes in vc2008 32bit-win7 is wrong

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rader.wang
    Rookie
    • Mar 2013
    • 15

    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?
    the avatar is so cute
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    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.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • Nick
      Vanilla maintainer
      • Apr 2007
      • 9647

      #3
      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.

      Comment

      • rader.wang
        Rookie
        • Mar 2013
        • 15

        #4
        Originally posted by 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.
        thank you very much, your suggestion is valueable
        the avatar is so cute

        Comment

        • rader.wang
          Rookie
          • Mar 2013
          • 15

          #5
          Originally posted by Nick
          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...
          the avatar is so cute

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9647

            #6
            Originally posted by rader.wang
            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.

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9647

              #7
              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.

              Comment

              • ekolis
                Knight
                • Apr 2007
                • 921

                #8
                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!

                Comment

                • rader.wang
                  Rookie
                  • Mar 2013
                  • 15

                  #9
                  Originally posted by Nick
                  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!
                  the avatar is so cute

                  Comment

                  • rader.wang
                    Rookie
                    • Mar 2013
                    • 15

                    #10
                    Originally posted by ekolis
                    Oh, did they finally get the whole make vs. mingw32-make issue sorted out?
                    follow the instruction of Nick, i compiled the angband successfully
                    the avatar is so cute

                    Comment

                    • Nick
                      Vanilla maintainer
                      • Apr 2007
                      • 9647

                      #11
                      Originally posted by ekolis
                      Oh, did they finally get the whole make vs. mingw32-make issue sorted out?
                      Looks like it - I was doing this on 64-bit win 7, I don't know if that matters.
                      One for the Dark Lord on his dark throne
                      In the Land of Mordor where the Shadows lie.

                      Comment

                      • nppangband
                        NPPAngband Maintainer
                        • Dec 2008
                        • 926

                        #12
                        Originally posted by Nick
                        Looks like it - I was doing this on 64-bit win 7, I don't know if that matters.
                        It works just fine on a 32 bit as well, so it looks like they did.
                        NPPAngband current home page: http://nppangband.bitshepherd.net/
                        Source code repository:
                        https://github.com/nppangband/NPPAngband_QT
                        Downloads:
                        https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

                        Comment

                        Working...
                        😀
                        😂
                        🥰
                        😘
                        🤢
                        😎
                        😞
                        😡
                        👍
                        👎