-
Notifications
You must be signed in to change notification settings - Fork 5
Set up the compiler toolchain environment for Windows
For Windows, Plug requires the Linux subsystem to build. Reference: https://docs.microsoft.com/en-us/windows/wsl/
Open your Windows PowerShell (you may need to run using Administrator Privilege), run this command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Go to Microsoft Store and search for “Linux”, then select “Ubuntu”. Click Install Ubuntu will finish installing after a while and prompt you to create a new Username and Password.
Now you should be able to use Ubuntu via the CLI. To access your HDD, use
$cd /mnt/<drive letter>/<path>
Note: To be able to “paste” commands into your Ubunto shell, right-click on the Windows border to open up a menu, select “Properties”, and tick “Use Ctrl+Shift+C/V as Copy/Paste”. Selecting “Quick Edit Mode” allows you to paste by right-clicking the console window.
sudo apt update
sudo apt install -y cmake pkg-config libssl-dev git gcc build-essential clang libclang-dev
Now your Linux is ready to install Rust.
Getting Started
PL^G Component Guides
- Attestation
- Doughnut
- Generic Assets (coming soon)
Advanced Topics
External Links