I'm trying to compile VLD with "Visual Studio 2015 Community Update 1" for x64. Downloaded VLD from https://vld.codeplex.com/SourceControl/changeset/view/42a10ae61b58
To generate the VS solution, I use the attached CMakeLists.txt with Cmake 3.4.1. This CMakeLists.txt was working well with VLD 2.2.3 (I only had to add `lib` and `setup` folder include).
When building, I get the following error:
error C2118: indice négatif
for line:
static char dbghelp32_assert[sizeof(IMAGEHLP_MODULE64) == 3256 ? 1 : -1];
The structure has a size of 3264, not 3256.
How can/should I fix that?
Comments: see my issue Please use compiler defined _WIN64 and not self defined WIN64. so you need to set the define WIN64 in your cmakelists.txt
To generate the VS solution, I use the attached CMakeLists.txt with Cmake 3.4.1. This CMakeLists.txt was working well with VLD 2.2.3 (I only had to add `lib` and `setup` folder include).
When building, I get the following error:
error C2118: indice négatif
for line:
static char dbghelp32_assert[sizeof(IMAGEHLP_MODULE64) == 3256 ? 1 : -1];
The structure has a size of 3264, not 3256.
How can/should I fix that?
Comments: see my issue Please use compiler defined _WIN64 and not self defined WIN64. so you need to set the define WIN64 in your cmakelists.txt