Build Gideros On Mac

From Gideros Wiki
Revision as of 06:07, 17 September 2014 by Ar2rsawseen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can build Gideros on Mac standalone, but it is really recommended to use Macports or Homebrew

homebrew http://brew.sh/ or macports https://www.macports.org/ is extremely helpful while working/developing on mac

In this case we will use MacPorts So at first you need to install dependent libraries

sudo port install jpeg
sudo port install libpng
sudo port install freetype
sudo port install zlib
sudo port install glew

Then try running first build script, to build QT libs

qt5/buildqtlibs.sh

It should complete successfully, if some library is missing, install it again through macports

Then try building plugins

qt5/buildplugins.sh

Then try to build Gideros Studio and other software

qt5/buildqt.sh

If it fails with fatal error: 'Qsci/qsciscintilla.h' file not found

Then install QScintilla: http://www.riverbankcomputing.co.uk/software/qscintilla/download

Install QSci.....2.8.3.tar.gz, untar it

goto folder Qt4Qt5 edit `qscicommandset.cpp` and put line

#define DONT_USE_OSX_KEYS

after the includes

Then call

qmake qscintilla.pro
make
make install

Note: QMake should be located by default in `/Qt/Qt5.3.1/5.3/clang_64/bin/qmake`

Also if your QT PAth is different, you should also modify `gideros/ui/ui.pro` file

Find line:

INCLUDEPATH += /Qt/Qt5.3.0/5.3/clang_64/include

And edit it to your path

Now you should be able to build

qt5/buildqt.sh

And you have a Gideros running on Your Mac machine