Difference between revisions of "Build Gideros On Windows"

From Gideros Wiki
Jump to: navigation, search
(Building Gideros on Windows)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
In order to build the libgideros.so, install
 
In order to build the libgideros.so, install
  
Android NDK - https://developer.android.com/tools/sdk/ndk/index.html
+
* Java JDK (both version 6 and 7 are working fine)
 +
* Apache Ant - http://ant.apache.org/bindownload.cgi
 +
* Android SDK (get the SDK for an existing IDE) - http://developer.android.com/sdk/index.html
 +
* Android NDK - https://developer.android.com/tools/sdk/ndk/index.html
  
Download and extract to c:\android-ndk
+
Android NDK should be extracted to  
 +
c:\android-ndk
  
The "windows" build scripts use linux commands like mv/rm. To use these commands in windows, Install GNUWin CoreUtils:
+
The "windows" build scripts use linux commands like mv/rm. To use these commands in windows  
  
http://gnuwin32.sourceforge.net/packages/coreutils.htm
+
Install GNUWin CoreUtils: http://gnuwin32.sourceforge.net/packages/coreutils.htm
  
Then add to your windows PATH the location where they are installed. For me that was C:\Program Files\GnuWin32\bin
+
And GNUmake: http://gnuwin32.sourceforge.net/packages/make.htm
 +
 
 +
Then add to your windows PATH the location where they are installed. For me that was  
 +
C:\Program Files\GnuWin32\bin
  
 
To build the QT projects (exporter, etc.), install QT
 
To build the QT projects (exporter, etc.), install QT
  
Download and run the QT 5.3 ONLINE INSTALLER
+
Download and run the QT 5.3 ONLINE INSTALLER: http://qt-project.org/qt5/qt53
 
+
http://qt-project.org/qt5/qt53
+
  
 
Click next and expand Qt5.3 and make sure MinGW is checked.  
 
Click next and expand Qt5.3 and make sure MinGW is checked.  
  
Install to location (C:\Qt\Qt5.3.0)
+
Install to location  
 +
C:\Qt\Qt5.3.0
 +
 
 +
Then you will need to install QScintilla: http://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.8.4/QScintilla-gpl-2.8.4.zip
 +
 
 +
And build it:
 +
cd Qt4Qt5
 +
qmake qscintilla.pro
 +
make
 +
make install
 +
 
 +
Then you will be able to run buildqt.bat, all_windows.bat and copyall.bat
  
 
Copy the .bat files from QT5 into the main SCRIPTS folder to run them.
 
Copy the .bat files from QT5 into the main SCRIPTS folder to run them.
Line 27: Line 43:
 
After doing the above, You will be able to build all QT executables and the libgideros file.
 
After doing the above, You will be able to build all QT executables and the libgideros file.
  
Thanks to [http://giderosmobile.com/forum/discussion/comment/38484#Comment_38484]EricCarr for tutorial
+
Thanks to EricCarr (http://giderosmobile.com/forum/discussion/comment/38484#Comment_38484) for tutorial

Latest revision as of 12:07, 20 September 2014

Here are some basic steps to build Gideros on Windows

In order to build the libgideros.so, install

Android NDK should be extracted to

c:\android-ndk

The "windows" build scripts use linux commands like mv/rm. To use these commands in windows

Install GNUWin CoreUtils: http://gnuwin32.sourceforge.net/packages/coreutils.htm

And GNUmake: http://gnuwin32.sourceforge.net/packages/make.htm

Then add to your windows PATH the location where they are installed. For me that was

C:\Program Files\GnuWin32\bin

To build the QT projects (exporter, etc.), install QT

Download and run the QT 5.3 ONLINE INSTALLER: http://qt-project.org/qt5/qt53

Click next and expand Qt5.3 and make sure MinGW is checked.

Install to location

C:\Qt\Qt5.3.0

Then you will need to install QScintilla: http://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.8.4/QScintilla-gpl-2.8.4.zip

And build it:

cd Qt4Qt5
qmake qscintilla.pro
make
make install

Then you will be able to run buildqt.bat, all_windows.bat and copyall.bat

Copy the .bat files from QT5 into the main SCRIPTS folder to run them.

After doing the above, You will be able to build all QT executables and the libgideros file.

Thanks to EricCarr (http://giderosmobile.com/forum/discussion/comment/38484#Comment_38484) for tutorial