![]() set GYP_MSVS_VERSION=2019Ĭreate the folder where the code base will be placed. The GYP build tool must be informed about the version of the Visual Studio we're using. Let's inform depot_tools that we don't have access to Google's internal tools. It means that for the duration of this terminal session, when you execute git you're calling Google's git, not the one was previously installed in your dev box. ![]() One of the programs sitting in the depot_tools folder is a batch file named git. Keep in mind that the previous command gave priority to programs sitting in that folder. Set the path environment variable to execute commands in the depot_tools folder. Let's not clutter our dev box, so feel free to delete the depot_tools.zip file. Tar -xf depot_tools.zip -C c:\depot_tools Use the following command to unzip depot_tools in the root folder of the c: drive. The following command will download depot_tool.zip to the current folder. You can download it with curl that is now shipped with Windows. WebRTC uses Chromium's build tools named depot_tools. Acquiring WebRTC code base Getting depot_tools You just need to call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" from an opened command prompt. We can configure any command prompt (like Windows Terminal) with the environment variables for calling VS tools. Executing the batch file with the configuration.The following are two options for opening a developer command prompt:Ĭlick on Start Menu → Visual Studio 2019 → 圆4 Native Tools Command Prompt for VS 2019 You'll need a command prompt configured for calling Visual Studio tools. Please go to Control Panel → Programs → Programs and Features → Select the most recent Windows Software Development Kit → Change → Change → Select Debugging Tools For Windows → Change. When installed by Visual Studio, the Windows SDK doesn't have the SDK Debugging Tools installed. If you want to build for ARM/ARM64, also select the C MFC and ATL for latest v142 build tools and C Universal Windows Platform support for v142 build tools for the corresponding architecture. Make sure C MFC for latest v142 build tools (x86
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |