-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from brenocq/0.3.0.0
Linux compilation
- Loading branch information
Showing
20 changed files
with
272 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,40 +77,70 @@ Arrows show dependencies between modules. Green boxes show which features are im | |
This project aims to simulate complex systems like this, mainly composed of robots. | ||
|
||
## Build & test | ||
#### Dependencies | ||
To build atta properly, you need to have cmake installed. | ||
Dependencies for some operating systems: | ||
|
||
**Windows:** | ||
```bash | ||
choco install cmake | ||
``` | ||
|
||
**MacOS:** | ||
```bash | ||
brew install cmake | ||
``` | ||
|
||
**Linux:** | ||
```bash | ||
sudo apt-get install cmake xorg-dev curl | ||
``` | ||
|
||
#### Clone | ||
Atta should build without errors when the **compiller supports C++17** (g++ >= 9.0). | ||
<!------------ Windows ------------> | ||
<details><summary> Windows </summary> | ||
<h4>Dependencies</h4> | ||
To build atta properly, you need to have cmake installed. | ||
<pre><code>choco install cmake</code></pre> | ||
Also, be sure that your <strong>compiller supports C++17</strong> (g++ >= 9.0). | ||
|
||
If you found any errors, please do not hesitate to [create an issue](https://github.com/brenocq/atta/issues/new?assignees=brenocq&labels=fix&template=bug_report.md&title=) :wink:. | ||
<h4>Run</h4> | ||
<pre><code>git clone [email protected]:brenocq/atta.git | ||
cd atta | ||
mkdir build | ||
cd build | ||
cmake .. | ||
</code></pre> | ||
|
||
You can now use Visual Studio to open the <code>atta.sln</code> file. | ||
</details> | ||
<!------------ MacOS ------------> | ||
<details><summary> MacOS </summary> | ||
<h4>Dependencies</h4> | ||
To build atta properly, you need to have cmake installed. | ||
<pre><code>brew install cmake</code></pre> | ||
Also, be sure that your <strong>compiller supports C++17</strong> (g++ >= 9.0). | ||
|
||
```bash | ||
git clone [email protected]:brenocq/atta.git | ||
<h4>Run</h4> | ||
<pre><code>git clone [email protected]:brenocq/atta.git | ||
cd atta | ||
./scripts/build.sh --help | ||
./scripts/build.sh | ||
./build/release/bin/atta_test | ||
./build/release/bin/atta | ||
``` | ||
</code></pre> | ||
</details> | ||
<!------------ Linux ------------> | ||
<details><summary> Linux </summary> | ||
<h3>Dependencies</h3> | ||
To build atta, you need: | ||
<ul> | ||
<li>g++ >= 9.0</li> | ||
<li>cmake >= 3.14</li> | ||
</ul> | ||
|
||
<strong>Ubuntu:</strong> | ||
<pre><code>sudo apt-get install g++ cmake git xorg-dev curl</code></pre> | ||
<i>Note: If your ubuntu is old, you may need to install the latest cmake/g++ manually.</i> | ||
|
||
<strong>Fedora:</strong> | ||
<pre><code>sudo yum install g++ cmake git glfw-devel curl</code></pre> | ||
|
||
<strong>Arch:</strong> | ||
<pre><code>sudo pacman -Sy g++ cmake git glfw-x11 curl</code></pre> | ||
|
||
<h3>Run</h3> | ||
<pre><code>git clone [email protected]:brenocq/atta.git | ||
cd atta | ||
./build.sh --help | ||
./build.sh | ||
./build/release/bin/atta_test | ||
./build/release/bin/atta | ||
</code></pre> | ||
</details> | ||
|
||
_Obs: The build script should help the user with dependencies. If you found ploblems please let me know_ | ||
If you found any errors, please do not hesitate to [create an issue](https://github.com/brenocq/atta/issues/new?assignees=brenocq&labels=fix&template=bug_report.md&title=) :wink:. | ||
|
||
## Discussions | ||
If you want to contribute, have ideas, or have questions about atta, feel free to [start a discussion](https://github.com/brenocq/atta/discussions). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.