Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Recommendations for compiling on 64-bit Windows 10 Home (http://angband.oook.cz/forum/showthread.php?t=8540)

HugoTheGreat2011 September 7, 2017 12:39

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.

EpicMan September 7, 2017 19:23

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.

AnonymousHero September 7, 2017 20:56

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.

EpicMan September 7, 2017 23:12

Quote:

Originally Posted by AnonymousHero (Post 123789)
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.

HugoTheGreat2011 September 8, 2017 02:38

Quote:

Originally Posted by HugoTheGreat2011 (Post 123766)
[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)!

Rydel September 8, 2017 14:07

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.


All times are GMT +1. The time now is 16:22.

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