#4760: CMake errors when compiling on 64-bit Windows
---------------------------------+-------------------------------------
Reporter: Forgon | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: Build System Issues | Version: git/master
Keywords: | Blocked By:
Blocking: | Operating System: All/Non-Specific
---------------------------------+-------------------------------------
Using a [https://developer.microsoft.com/en-us/windows/downloads/virtual-
machines Windows 10 virtual machine provided by Microsoft], I failed to
compile the latest master version for the 64-bit architecture due to the
following errors:
{{{
"C:\warzone2100\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj"
(default target) (7) ->
(ClCompile target) ->
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(712): error C2039:
'Eip': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(714): error C2039:
'Esp': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(716): error C2039:
'Ebp': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(774): error C2039:
'Eip': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(776): error C2039:
'Esp': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(778): error C2039:
'Ebp': is not a member of '_CONTEXT'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
C:\warzone2100\lib\exceptionhandler\exchndl.cpp(800): error C2664: 'bool
j_StackWalk(DWORD,HANDLE,HANDLE,LPSTACKFRAME64,PVOID,PREAD_PROCESS_MEMORY_ROUTINE64,PFUNCTION_TABLE_ACCESS_ROUTINE64,PGET_MODULE_BASE_ROUTINE64,PTRANSLATE_ADDRESS_ROUTINE64)':
cannot convert argument 7 from 'PVOID (__cdecl *)(HANDLE,DWORD)' to
'PFUNCTION_TABLE_ACCESS_ROUTINE64'
[C:\warzone2100\build\lib\exceptionhandler\exception-handler.vcxproj]
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/4760>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project