Version 21 vs 22
Version 21 vs 22
Edits
Edits
- Edit by Timotheos, Version 22
- Sep 16 2017 9:44 PM
- ·Nicer instructions and formatting
- Edit by 0xseantasker, Version 21
- Sep 16 2017 12:00 PM
« Previous Change | Next Change » |
Edit Older Version 21... | Edit Older Version 22... |
Content Changes
Content Changes
The recommended way to set up your system and build Echo is to do the following.
=Installing Dependencies=
==Prerequisites==
- Ensure you have [[tools|Mercurial]] installed first.
- Ensure you have access to [[/diffusion|the repositories]].
- Ensure you have updated the host fingerprint as per the [[technical_documents/repositories/|Repositories]] page. This will avoid any certificate errors when attempting to clone.
==On Unix-like platforms (Linux, BSD)==
- Clone the {rEI} Echo Installer repository into the desired location:
-- Navigate to the {rEI} page and click the !!Clone!! button. This will show a URL
-- Open a Terminal and navigate to the directory where you want to clone
-- Run the command `hg clone` followed by the URL determined above; e.g. `hg clone https://developer.emblem.net.au/diffusion/EI/echoinstaller/`
-- Enter your https://developer.emblem.net.au Phabricator username and VCS password. If you haven't set up a Version Control System password go to your [[/settings/panel/vcspassword/]] page and set it.
- Navigate to the newly-cloned location in the Terminal.
- Run `sudo ./SetupEcho.sh` and follow the prompts.
-- Note that `./SetupEcho.sh help` will display some help information.
-- Note that this installs build tools for C++, such as the `g++` compiler. If it doesn't work, see [[tools/gpp/|Installing g++]].
==On Windows==
- See [[projects/echo_3/building/windows/|Development on Windows]].
=Building Echo=
The installer script will attempt to build Echo for all targets that were selected (including Debug and Release for Linux). If you want, or need to, to build manually you can do one of the following:
# Navigate to the cloned EchoInstaller directory and run `./BuildEcho.sh`. The default platform is linux. You can specify the platform you want using `PLATFORMS=platformname ./BuildEcho.sh` where `platformname` is the lowercase name of the platform. At the time of this writing the following were available: `linux, android, wii, windowscross`.
# Open the `echo3` project in [[tools/netbeans|NetBeans]] and build using the IDE.
=Verifying things worked=
You should receive output if there were errors to the above processes. The installer will output the build result to a `buildlogs` folder that you can inspect to find errors. Please Please [[https://developer.emblem.net.au/maniphest/task/edit/form/1/|report errors]] that you come across since do want the process to be error free when possible.
To verify that everything built and that you can run an Echo project you can run the tests.
```
make test
```
Will run through the unit tests for the library. A lot of these tests are graphical and are set to timeout after 30 seconds or so but you can close windows early. If 30 seconds elapses and the window doesn't close, chances are we forgot to add the timeout. Please [[/maniphest/task/edit/form/1/|report it]] so we can fix it.
Once you're satisfied and have had fun playing with the tests you can move to the [[projects/echo_3/getting_started/|Getting started]] page for information on building an application.
The recommended way to set up your system and build Echo is to do the following.
=Installing Dependencies=
==Prerequisites==
- Ensure you have [[tools|Mercurial]] installed first.
- Ensure you have access to [[/diffusion|the repositories]].
- Ensure you have updated the host fingerprint as per the [[technical_documents/repositories/|Repositories]] page. This will avoid any certificate errors when attempting to clone.
==On Unix-like platforms (Linux, BSD)==
- Clone the {rEI} Echo Installer repository into the desired location:
-- Open a Terminal and navigate to the directory where you want to clone into
-- Navigate to the {rEI} page and click the {nav icon=download, name=Clone} button. This will show a URL to our server's copy of the project
-- Run the command `hg clone` followed by the URL determined above; e.g. `hg clone https://developer.emblem.net.au/diffusion/EI/echoinstaller/`
-- Enter your https://developer.emblem.net.au Phabricator username and VCS password. If you haven't set up a Version Control System password go to your [[/settings/panel/vcspassword/]] page and set it.
- Navigate to the newly-cloned location in the Terminal.
- Run `sudo ./SetupEcho.sh` and follow the prompts.
-- Note that `./SetupEcho.sh help` will display some help information.
-- Note that this installs build tools for C++, such as the `g++` compiler. If it doesn't work, see [[tools/gpp/|Installing g++]].
==On Windows==
- See [[projects/echo_3/building/windows/|Development on Windows]].
=Building Echo=
The installer script will attempt to build Echo for all targets that were selected (including Debug and Release for Linux). If you want, or need to, to build manually you can do one of the following:
# Navigate to the cloned EchoInstaller directory and run `./BuildEcho.sh`. The default platform is linux. You can specify the platform you want using `PLATFORMS=platformname ./BuildEcho.sh` where `platformname` is the lowercase name of the platform. At the time of this writing the following were available: `linux, android, wii, windowscross`.
# Open the `echo3` project in [[tools/netbeans|NetBeans]] and build using the IDE.
=Verifying things worked=
You should receive output if there were errors to the above processes. The installer will output the build result to a `buildlogs` folder that you can inspect to find errors. Please Please [[https://developer.emblem.net.au/maniphest/task/edit/form/1/|report errors]] that you come across since do want the process to be error free when possible.
To verify that everything built and that you can run an Echo project you can run the tests.
```
make test
```
Will run through the unit tests for the library. A lot of these tests are graphical and are set to timeout after 30 seconds or so but you can close windows early. If 30 seconds elapses and the window doesn't close, chances are we forgot to add the timeout. Please [[/maniphest/task/edit/form/1/|report it]] so we can fix it.
Once you're satisfied and have had fun playing with the tests you can move to the [[projects/echo_3/getting_started/|Getting started]] page for information on building an application.
The recommended way to set up your system and build Echo is to do the following.
=Installing Dependencies=
==Prerequisites==
- Ensure you have [[tools|Mercurial]] installed first.
- Ensure you have access to [[/diffusion|the repositories]].
- Ensure you have updated the host fingerprint as per the [[technical_documents/repositories/|Repositories]] page. This will avoid any certificate errors when attempting to clone.
==On Unix-like platforms (Linux, BSD)==
- Clone the {rEI} Echo Installer repository into the desired location:
-- Navigate to the {rEI} page and click-- Open a Terminal and navigate to the !!Clone!! button. This will show a URLdirectory where you want to clone into
-- Open a Terminal and navigate to the directory where you want to cloneNavigate to the {rEI} page and click the {nav icon=download, name=Clone} button. This will show a URL to our server's copy of the project
-- Run the command `hg clone` followed by the URL determined above; e.g. `hg clone https://developer.emblem.net.au/diffusion/EI/echoinstaller/`
-- Enter your https://developer.emblem.net.au Phabricator username and VCS password. If you haven't set up a Version Control System password go to your [[/settings/panel/vcspassword/]] page and set it.
- Navigate to the newly-cloned location in the Terminal.
- Run `sudo ./SetupEcho.sh` and follow the prompts.
-- Note that `./SetupEcho.sh help` will display some help information.
-- Note that this installs build tools for C++, such as the `g++` compiler. If it doesn't work, see [[tools/gpp/|Installing g++]].
==On Windows==
- See [[projects/echo_3/building/windows/|Development on Windows]].
=Building Echo=
The installer script will attempt to build Echo for all targets that were selected (including Debug and Release for Linux). If you want, or need to, to build manually you can do one of the following:
# Navigate to the cloned EchoInstaller directory and run `./BuildEcho.sh`. The default platform is linux. You can specify the platform you want using `PLATFORMS=platformname ./BuildEcho.sh` where `platformname` is the lowercase name of the platform. At the time of this writing the following were available: `linux, android, wii, windowscross`.
# Open the `echo3` project in [[tools/netbeans|NetBeans]] and build using the IDE.
=Verifying things worked=
You should receive output if there were errors to the above processes. The installer will output the build result to a `buildlogs` folder that you can inspect to find errors. Please Please [[https://developer.emblem.net.au/maniphest/task/edit/form/1/|report errors]] that you come across since do want the process to be error free when possible.
To verify that everything built and that you can run an Echo project you can run the tests.
```
make test
```
Will run through the unit tests for the library. A lot of these tests are graphical and are set to timeout after 30 seconds or so but you can close windows early. If 30 seconds elapses and the window doesn't close, chances are we forgot to add the timeout. Please [[/maniphest/task/edit/form/1/|report it]] so we can fix it.
Once you're satisfied and have had fun playing with the tests you can move to the [[projects/echo_3/getting_started/|Getting started]] page for information on building an application.