-
Notifications
You must be signed in to change notification settings - Fork 15
Building Tonatiuh On Mac
ilescener edited this page Apr 3, 2017
·
5 revisions
To start builing Tonatiuh under Eclipse, you need to download the source code from the repository. Follow the Subversive installation instructions to install SVN integration for Eclipse. Then, define Tonatiuh repository by reading Anonymous Download to anonymous download of Tonatiuh code or reading Upload to Repository to download code and upload changes.
First, build Tonatiuh.
- In the Project Explorer tab, right click on the Tonatiuh project.
- Select properties.
- Expand C/C++ Build and select Environment properties.
- Add new variable:
- Name: TDE_ROOT, Value: /usr.
- Name: TONATIUH_ROOT, Value: /Applications/eclipse/workspace/TonatiuhProject.
- On Settings select Mach-O Parser.
- Apply changes. Ok to finish with properties.
- On the Make Target tab, right click Tonatiuh and select Add Make Target.
- Define the first Make Target as:
- Target Name: qmake
- Make Target: src/Tonatiuh.pro
- Build command:
/usr/local/Trolltech/Qt-4.6.2/bin/qmake -spec macx-g++
- Add new Make Target as:
- Target Name: all
- Make Target: all
- Build command: make
- To generate Makefile run "qmake". When the qmake command finishes run "all".
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License