Recommendations for compiling on 64-bit Windows 10 Home

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HugoVirtuoso
    Veteran
    • Jan 2012
    • 1237

    Recommendations for compiling on 64-bit Windows 10 Home

    [I posted this separately from the webserver thread to avoid this getting lost]

    In the future, I'll want to try compiling ToME 2.3.11-ah (and maybe other variants) on Windows 10 Home 64-bit. AH already said any recent GCC or Clang would work. But, I want to know what Windows 64-bit compiler(s) you guys actually use.
    My best try at PosChengband 7.0.0's nightmare-mode on Angband.live:
    https://www.youtube.com/watch?v=rwAR0WOphUA

    If I'm offline I'm probably in the middle of maintaining Gentoo or something-Linux or other.

    As of February 18th, 2022, my YouTube username is MidgardVirtuoso
  • EpicMan
    Swordsman
    • Dec 2009
    • 455

    #2
    I use Visual Studio (2008/2012/2015) because I have an MSDN license with work. Visual Studio 2008 appears to be a free download from Microsoft, and very little work has been put in the C/C++ compiler so it should work just as well.

    There are some quirks compiling *bands in visual studio (like projects defaulting to the Multi-byte character set and screwing up the display before you turn character set to "Not set", and needing to include winmm.lib to enable sound). I like it's debugger though.

    But I am at best an amateur programmer.

    Comment

    • AnonymousHero
      Veteran
      • Jun 2007
      • 1393

      #3
      I'm not sure any MS C++ compiler is capable enough to compile ToME-ah, FWIW. Anything before 2015 or so certainly isn't since I'm relying on C++14 features.

      Comment

      • EpicMan
        Swordsman
        • Dec 2009
        • 455

        #4
        Originally posted by AnonymousHero
        I'm not sure any MS C++ compiler is capable enough to compile ToME-ah, FWIW. Anything before 2015 or so certainly isn't since I'm relying on C++14 features.
        According to Wikipedia:
        Microsoft Visual Studio 2017 also has implemented "almost all" C++14 features.

        That means any free version of VS won't work. And the newest paid version probably won't either. Oh well.

        Comment

        • HugoVirtuoso
          Veteran
          • Jan 2012
          • 1237

          #5
          Originally posted by HugoTheGreat2011
          [I posted this separately from the webserver thread to avoid this getting lost]

          In the future, I'll want to try compiling ToME 2.3.11-ah (and maybe other variants) on Windows 10 Home 64-bit. AH already said any recent GCC or Clang would work. But, I want to know what Windows 64-bit compiler(s) you guys actually use.
          If not Windows 64-bit compiler, I will take recommendations for Windows 32-bit compilers as well. I thought it might be a good idea to seek Windows 32-bit compilers in case I encounter a Windows environment that isn't 64-bit (i.e. for compatibility reasons now that I think of it)!
          Last edited by HugoVirtuoso; September 8, 2017, 02:03.
          My best try at PosChengband 7.0.0's nightmare-mode on Angband.live:
          https://www.youtube.com/watch?v=rwAR0WOphUA

          If I'm offline I'm probably in the middle of maintaining Gentoo or something-Linux or other.

          As of February 18th, 2022, my YouTube username is MidgardVirtuoso

          Comment

          • Rydel
            Apprentice
            • Jul 2008
            • 89

            #6
            I use GCC in Min-GW. It has both 32 and 64-bit versions available and, to my knowledge, has full support for C++14.
            I'm trying to think of an analogy, and the best I can come up with is Angband is like fishing for sharks, and Sil is like hunting a bear with a pocket knife and a pair of chopsticks. It's not great. -Nick

            Comment

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