2020-10-16 19:18:30 +03:00
## Getting started
2021-01-30 21:30:14 +03:00
- Install the compiler, see [here ](../BUILDING_FROM_SOURCE )
- 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:
2020-10-16 19:18:30 +03:00
```
2021-04-16 18:25:30 +03:00
cargo run edit
2020-10-16 19:18:30 +03:00
```
## Troubleshooting
2020-12-28 13:40:29 +03:00
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.
2021-01-30 21:30:14 +03:00
If you encounter problems with integrated graphics hardware, install `mesa-vulkan-drivers` and `vulkan-tools` .
2020-12-28 13:40:29 +03:00
## Inspiration
We thank the following open source projects in particular for inspiring us when designing the Roc editor:
- [learn-wgpu ](https://github.com/sotrh/learn-wgpu )
- [rgx ](https://github.com/cloudhead/rgx )
2020-12-28 17:41:48 +03:00
- [elm-editor ](https://github.com/jxxcarlson/elm-editor )
- [iced ](https://github.com/hecrj/iced )