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: Fixed. I add to modify the `CMakeLists.txt` file a bit: include_directories( lib/dbghelp/include ) include_directories( lib/cppformat ) file( GLOB C_format_files lib/cppformat/*.cc ) And add `${C_format_files}` to `ADD_LIBRARY`
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: Fixed. I add to modify the `CMakeLists.txt` file a bit: include_directories( lib/dbghelp/include ) include_directories( lib/cppformat ) file( GLOB C_format_files lib/cppformat/*.cc ) And add `${C_format_files}` to `ADD_LIBRARY`