-
Notifications
You must be signed in to change notification settings - Fork 26
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
can not build #16
Comments
Did you install the Visual Studio C++ Tools first? That error message suggests that the compiler isn't correctly installed. |
The system cannot find the file specified.
Submodule 'Detours' (https://github.com/microsoft/Detours.git) registered for path 'Detours'
Cloning into 'C:/Users/zhs/Desktop/lockdown-browser/Detours'...
Submodule path 'Detours': checked out '734ac64899c44933151c1335f6ef54a590219221'
Microsoft (R) Program Maintenance Utility Version 14.36.32532.0
Copyright (C) Microsoft Corporation. All rights reserved.
Created ..\include
Created ..\lib.X86
Created ..\bin.X86
Created obj.X86
cl /nologo /W4 /WX /we4777 /we4800 /Zi /MT /Gy /Gm- /Zl /Od /DDETOUR_DEBUG=0 /DWIN32_LEAN_AND_MEAN /D_WIN32_WINNT=0x501 /Fd..\lib.X86\detours.pdb /Foobj.X86\ /c detours.cpp modules.cpp disasm.cpp image.cpp creatwth.cpp disolx86.cpp disolx64.cpp disolia64.cpp disolarm.cpp disolarm64.cpp
detours.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
modules.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disasm.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
image.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
creatwth.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disolx86.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disolx64.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disolia64.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disolarm.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
disolarm64.cpp
C:\Users\zhs\Desktop\lockdown-browser\Detours\src\detours.h(40): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: 'cl /nologo /W4 /WX /we4777 /we4800 /Zi /MT /Gy /Gm- /Zl /Od /DDETOUR_DEBUG=0 /DWIN32_LEAN_AND_MEAN /D_WIN32_WINNT=0x501 /Fd..\lib.X86\detours.pdb /Foobj.X86\ /c detours.cpp modules.cpp disasm.cpp image.cpp creatwth.cpp disolx86.cpp disolx64.cpp disolia64.cpp disolarm.cpp disolarm64.cpp ' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 14.36.32532.0
Copyright (C) Microsoft Corporation. All rights reserved.
Created obj.X86
copy syelog.h ..\..\include\syelog.h
1 file(s) copied.
cl /nologo /Zi /MT /Gm- /W4 /WX /we4777 /we4800 /Od /DDETOUR_DEBUG=0 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c syelog.cpp
syelog.cpp
syelog.cpp(9): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: 'cl /nologo /Zi /MT /Gm- /W4 /WX /we4777 /we4800 /Od /DDETOUR_DEBUG=0 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c syelog.cpp ' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 14.36.32532.0
Copyright (C) Microsoft Corporation. All rights reserved.
Created obj.X86
NMAKE : fatal error U1073: don't know how to make '..\..\lib.X86\syelog.lib'
Stop.
Directory: C:\Users\zhs\Desktop\lockdown-browser
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 5/31/2023 2:12 PM build
Microsoft (R) C/C++ Optimizing Compiler Version 19.36.32532 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
GetSystemMetrics-Hook.cpp
../src/GetSystemMetrics-Hook.cpp(6): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
cp : Cannot find path 'C:\Users\zhs\Desktop\lockdown-browser\Detours\bin.X86\withdll.exe' because it does not exist.
At C:\Users\zhs\Desktop\lockdown-browser\build.ps1:67 char:5
+ cp ../Detours/bin.X86/withdll.exe . # This is the program that ac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\zhs\De...X86\withdll.exe:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
PS C:\Users\zhs\Desktop\lockdown-browser\runtime_directory> this file is not exist... I try to clone again, but it's also |
Hmm, that's odd. Maybe the Windows SDK isn't installed? You need that in addition to the compilers. Rerun the VS installer and check "Windows SDK Tools" (or something with a similar name). |
it's work. but when I follow the step, it can not open the lockdown browser. could you try the version of my school? |
Any more details? An exact error message would be best.
I don't have a computer that runs Windows, so that would be impossible for me. |
I take a video, could you check it? |
Hmm, I haven't seen that one before. Can you try manually launching the Browser:
then reply with the output? |
I ran this command, but it also like the video. started. but do not open the browser |
Error code 740 means Some ideas:
|
I ran this command, but it also like the video. started. but do not open the browser |
I also ran into the "terminal services" issue when running (along with the DLL and exe not being in the runtime directory). I did a fresh clone and build and it worked fine, so maybe just try it again? |
I used PowerShell by Administrator, and I had put the install package of lockdown browser in runtime_directory
The text was updated successfully, but these errors were encountered: