Closed hoanghiep1x0 closed 1 year ago
You need to follow the build instruction in this repo: https://github.com/ungoogled-software/ungoogled-chromium-windows
@Nifury I tried following all the instructions but got the same error. I tried to fix it many times before asking..
./tools/gn/bootstrap/bootstrap.py --skip-generate-buildfiles -j4 -o out/Default/
indicates you are using ungoogled-chromium repo instead of ungoogled-chromium-windows.
@Nifury Yes. An error similar to ungoogled-chromium-windows and I try to reproduce the problem by separating the run statement with ungoogled-chromium. A similar error is emitted.
I also try to create virtual machine and try setting "Setup Prerequisites for Build"
Theater at an error as such as when typing py build.py
Can you please post the output of the command py --version
?
Based on your deleted comment: Do you use cmd.exe
or the Developer Command Prompt for VS
?
@teeminus can you refer to help me C:\Users\Administrator>python --version Python 3.8.10 C:\Users\Administrator>where python C:\tools\python3\python.exe C:\Users\Administrator>python3 --version Python 3.8.10 system variable has been added as instructed: vs2019_install=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community WINDOWSSDKDIR=C:\Program Files (x86)\Windows Kits\10 GYP_MSVS_VERSION=2019 I'm trying to re-initialize the problem. There's been a problem with windowskits/10/include/10.0.20348.0 I'll get back to you.
i use "cmd" run with adminitrator
Try using the Developer Command Prompt for VS
.
Sorry I already know where the problem is depot_tools and path run command ungoogled-software not by ungoogled-software-windows.
C:\Users\Administrator>python --version Python 3.8.10 C:\Users\Administrator>where python C:\tools\python3\python.exe C:\Users\Administrator>python3 --version Python 3.8.10
system variable has been added as instructed: vs2019_install=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community WINDOWSSDKDIR=C:\Program Files (x86)\Windows Kits\10 GYP_MSVS_VERSION=2019
Note exists OS version build when installing with Microsoft Visual Studio. "C:\Program Files (x86)\Windows Kits\10\ + OS_VERSION".
then run the command in cmd.exe (as administrator):
git clone --recurse-submodules https://github.com/ungoogled-software/ungoogled-chromium-windows.git
cd ungoogled-chromium-windows
py build.py
then it should work properly.
Sorry for wasting your time, thanks for your help.
Are you still developing using VS2019?
i tried almost every tutorial but don't know how to debug.