You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to build Microsoft Detours for x64 and this is the error I get, I managed to build this correctly few days ago but now I cannot build it again! I couldn't find what could be wrong :(
SET DETOURS_TARGET_PROCESSOR=X64
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
NMAKE
Microsoft (R) Program Maintenance Utility Version 14.28.29915.0
Copyright (C) Microsoft Corporation. All rights reserved.
cd "C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1"
cd "C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\src"
Created ..\include
Created ..\lib.X64
Created ..\bin.X64
Created obj.X64
cl /W4 /WX /Zi /MT /Gy /Gm- /Zl /Od /DWIN32_LEAN_AND_MEAN /D_WIN32_WINNT=0x501 /Fd..\lib.X64\detours.pdb /Foobj.X64\ /c detours.cpp modules.cpp disasm.cpp image.cpp creatwth.cpp disolx86.cpp disolx64.cpp disolia64.cpp disolarm.cpp disolarm64.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29915 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
...
...
...
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X64\vc.pdb /Foobj.X64\ /c trcapi.cpp
trcapi.cpp
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\samples\traceapi\_win32.cpp(4323): error C2065: 'GetThreadLocale': undeclared identifier
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\samples\traceapi\_win32.cpp(7050): error C2065: 'SetThreadLocale': undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1>cd samples\traceapi
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\samples\traceapi>nmake
Microsoft (R) Program Maintenance Utility Version 14.28.29915.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X64\vc.pdb /Foobj.X64\ /c trcapi.cpp
trcapi.cpp
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\samples\traceapi\_win32.cpp(4323): error C2065: 'GetThreadLocale': undeclared identifier
C:\Users\User1\Desktop\Detours-4.0.1\Detours-4.0.1\samples\traceapi\_win32.cpp(7050): error C2065: 'SetThreadLocale': undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\cl.EXE"' : return code '0x2'
Stop.
Please let me know how I can fix this issue,
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
Im trying to build Microsoft Detours for x64 and this is the error I get, I managed to build this correctly few days ago but now I cannot build it again! I couldn't find what could be wrong :(
Please let me know how I can fix this issue,
Thanks
The text was updated successfully, but these errors were encountered: