Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NMAKE failing at the end. #287

Open
layer07 opened this issue Jun 5, 2023 · 4 comments
Open

NMAKE failing at the end. #287

layer07 opened this issue Jun 5, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@layer07
Copy link

layer07 commented Jun 5, 2023

cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I....\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcapi.cpp
trcapi.cpp
I:\ZZZ\Detours-4.0.1\samples\traceapi_win32.cpp(4323): error C2065: 'GetThreadLocale': undeclared identifier
I:\ZZZ\Detours-4.0.1\samples\traceapi_win32.cpp(7050): error C2065: 'SetThreadLocale': undeclared identifier
NMAKE : fatal error U1077: 'cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I....\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcapi.cpp ' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\VS\IDE\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe /NOLOGO /L ' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\VS\IDE\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe /NOLOGO / ' : return code '0x2'
Stop.
D3V

@layer07 layer07 added the bug Something isn't working label Jun 5, 2023
@thgiang
Copy link

thgiang commented Aug 1, 2023

Same here

@jcbastosportela
Copy link

same here

@YHF-Code007
Copy link

I also encountered this error, and then I found that GetThreadLocale and SetThreadLocale are in WinNls.h. The following is like this:
~WV4SCLD}%@)IK1QO@72MU3
So I changed the system version number defined in trcapi to 0x500, but I’m not sure what the negative consequences might be.
E``JVED1BGL_9U@CWIH 3}R

@jakydibe
Copy link

jakydibe commented Oct 5, 2023

I also encountered this error, and then I found that GetThreadLocale and SetThreadLocale are in WinNls.h. The following is like this:

idk but it worked ahahahah. did you find some errors when u used detours after you made this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants