diasurgical / devilutionX

Diablo build for modern operating systems
Other
8.11k stars 795 forks source link

How to compile cmake in visual studio 2019? #758

Closed uwodb closed 4 years ago

uwodb commented 4 years ago

I selected the release 64/32 but I can't build devilutionx.exe in visual studio 2019. This messages does not appear in debug compile. Can anyone help me with this issue? Thanks in advance :)

[143/144] Building CXX object CMakeFiles\devilutionx.dir\SourceX\dvlnet\tcp_server.cpp.obj Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:

qndel commented 4 years ago

https://github.com/diasurgical/devilutionX/blob/master/Source/drlg_l3.cpp#L1158 make j volatile, it's a bug in vs2019