Hello Brave Team,
Operating System: Windows 10 x64.
All day today, I have been trying to compile the source code from the Brave Browser.
I followed the instructions from here, including all of the prerequisites.
I had a few problems, originally with the setup_toolchain.py file. I took care of that after creating my environment variables.
Now, Brave Browser won’t build, and I am very confused.
After I took care of the problems on setup_toolchain.py, I started getting these issues that the header files cannot be found. It’s funny, because I had to copy the header files from C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt and C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\shared to the Visual Studio include directory
(C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include)
What is a better way than doing it like this? I know this isn’t the best way possible. I know this is part of the problem on why my Brave source code will not build. I know I shouldn’t be copying files from the Microsoft SDK to the Visual Studio include directory. I know there is a better way.
I have Visual Studio 2019 Enterprise Installed, and I have Visual Studio 2017 installed. I installed all of the C++ libraries, along with the Microsoft SDK (Version 10.0.18362.0).
I will post a reply to show environment variables
I copied and pasted my entire contents of my command prompt. You can view that here
Do I have to uninstall Visual Studio 2019? I had that prior to installing Visual Studio 2017. I am primarily a C# for my day job. 1. I installed the C++ packages for both VS 2017 and VS 2019.
I am lost on what to do. I cannot figure out what am I doing wrong so the installation and build process can read the dependencies from the appropriate directories.
I want to give back to the Brave community. Unfortunately, I find it a bit challenging to build this.