2023-07-21 00:35:39 -03:00
|
|
|
# Contributing
|
|
|
|
This guide shows how to prepare your environment to contribute for OpenDX.
|
|
|
|
|
|
|
|
## Dependencies
|
2023-07-29 21:25:38 -03:00
|
|
|
`./build.sh` detect and try to install the dependencies for you, but if you want to do it manually, here is the list of dependencies:
|
2023-07-21 00:35:39 -03:00
|
|
|
|
|
|
|
| Dependency | Version |
|
|
|
|
|:-|-:|
|
2023-07-29 21:25:38 -03:00
|
|
|
|[`gcc`](https://packages.ubuntu.com/lunar/gcc)|`12.2.0`|
|
|
|
|
|[`cmake`](https://packages.ubuntu.com/lunar/cmake)|`3.25.1`|
|
|
|
|
|[`make`](https://packages.ubuntu.com/lunar/make)|`4.3`|
|
|
|
|
|[`libgtk-4-dev`](https://packages.ubuntu.com/lunar/libgtk-4-dev)|`4.10.1`|
|
2023-07-21 00:35:39 -03:00
|
|
|
|
|
|
|
|
|
|
|
## Building and running
|
|
|
|
These are the same universal steps for cmake:
|
|
|
|
|
|
|
|
```sh
|
2023-07-29 21:25:38 -03:00
|
|
|
./build.sh
|
2023-07-21 00:35:39 -03:00
|
|
|
```
|
2023-07-29 21:25:38 -03:00
|
|
|
----
|
|
|
|
```sh
|
|
|
|
cd build #for running
|
|
|
|
./dxdiag #runs dxdiag
|
|
|
|
./tests/sample #runs test sample
|
|
|
|
```
|