1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00

Updated build instructions and dependencies

This commit is contained in:
Eduardo P. Gomez 2023-07-29 21:25:38 -03:00
parent 9daf7764ef
commit aa40009108

View File

@ -2,21 +2,25 @@
This guide shows how to prepare your environment to contribute for OpenDX. This guide shows how to prepare your environment to contribute for OpenDX.
## Dependencies ## Dependencies
First, install these dependencies (older versions might work, but it's not guaranteed). `./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:
| Dependency | Version | | Dependency | Version |
|:-|-:| |:-|-:|
|[`cmake`](https://packages.ubuntu.com/kinetic/cmake)|`3.25.1`| |[`gcc`](https://packages.ubuntu.com/lunar/gcc)|`12.2.0`|
|[`libgtk-4-dev`](https://packages.ubuntu.com/kinetic/libgtk-4-dev)|`4.10.1`| |[`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`|
## Building and running ## Building and running
These are the same universal steps for cmake: These are the same universal steps for cmake:
```sh ```sh
cd build ./build.sh
cmake ..
# run dxdiag
./dxdiag
``` ```
----
```sh
cd build #for running
./dxdiag #runs dxdiag
./tests/sample #runs test sample
```