mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 00:09:33 +03:00
1003 B
1003 B
Getting started
- Install the compiler, see here
- On ubuntu run the following to make the clipboard work:
sudo apt install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- Run the following from the roc folder:
cargo run edit examples/hello-world/Hello.roc
Troubleshooting
If you encounter an error like gfx_backend_vulkan ... Failed to detect any valid GPUs in the current config ...
make sure the correct graphics card drivers are installed. On ubuntu sudo ubuntu-drivers autoinstall
can resolve the problem.
If you encounter problems with integrated graphics hardware, install mesa-vulkan-drivers
and vulkan-tools
.
Inspiration
We thank the following open source projects in particular for inspiring us when designing the Roc editor: