Difference between revisions of "Build Gideros On Windows"

From Gideros Wiki
Jump to: navigation, search
 
Line 14: Line 14:
  
 
Install GNUWin CoreUtils: http://gnuwin32.sourceforge.net/packages/coreutils.htm
 
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  
 
Then add to your windows PATH the location where they are installed. For me that was  
Line 26: Line 28:
 
Install to location  
 
Install to location  
 
  C:\Qt\Qt5.3.0
 
  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.

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