I'm trying to build detours library, and I encountered some problems that I did not succeeded to solve. I ran on Windows 7 and 10 64bit, Visual Studio 2015.
I tried in all possible command prompts( WOW64/ VS), ran vcvarsall.bat/vcvars32.bat.
Please find attached the errors that I've got.
Is there any other way to do it? or what could be the problem? Thanks.
Since the Detours Express only supports 32-bit processes, some of the files, such as
disolx64.cpp
anddisolarm.cpp
, cannot be compiled.To work around the problem, try commenting the
#include "disasm.cpp"
directives in thedisol*.cpp
files that generate the fatal error messages (i.e. exceptingdisolx86.cpp
). Then compile usingnmake
command.Or better find and download
DetourExpress.msi
.