Recent Changes - Search:

User Documentation

Developer Documentation

ToDo

Other

PmWiki ?

edit SideBar

Doc /

BuildingInWindows

Doc.BuildingInWindows History

Hide minor edits - Show changes to output

Mon, 20 Jan 14 17:02:25 +0000 by jesusalva - Added a five-minutes-work for FD Git download, replacing SVN one. Added references to INSTALL file.
Added lines 9-15:
Your Windows may provide a python for you, but us cannot assure if your python version is compatible with FreedroidRPG.
In any case, if you have python, try with it. If you recive an error message related to python, try above.

It worked correctly in my Linux machine with Python 2.7 and Python 3.2 installed. However, I cannot assure that python 2.7 and/or 3.2 will work in your Windows build.

%red%If you have doubts, [+'''''ALWAYS'''''+] recover to %gray%@@INSTALL@@%red% file in your freedroid\ (or freedroidrpg\) folder.
Changed lines 39-53 from:
! SVN installation

Please note that [=FreedroidRPG=] has moved to git. This page has to be updated, and will be updated in a bit.

To retrieve [=FreedroidRPG=] source files
, you will need to use Subversion (SVN in short) (http://subversion.apache.org/). There are several graphical Windows clients for SVN, the most known and used being [=TortoiseSVN=]. Here, we will use the command line client.

To download, extract and
''install'' the SVN tool, type the following commands in a ''[=MinGW Shell=]'':
-> @@[=wget http://alagazam.net/svn-1.6.16/svn-win32-1.6.16.zip=]@@
If that doesn't work, try:
-> @@[=wget slaxer.com/chucks/svn-win32-1.6.16.zip=]@@
-> @@[=unzip svn-win32-1.6.16.zip=]@@
-> @@[=cd svn-win32-1.6.16=]@@
-> @@[=cp -r bin iconv share /=]@@
->
@@[=cd=]@@
to:
!Git installation
!! Need some update/fixing.

There you can get the latest version of the game via Git.

You just need git clone it and follow the instructions
, found on '''''%gray%@@INSTALL@@%%''''' file.
To git clone
in a terminal:
-> @@%gray%[=git clone git://git.code.sf.net/p/freedroid/code freedroid=]%%@@

Done! you have all
the game avalibe in freedroid/ folder. In that folder is a file called '''''%red%@@INSTALL@@%%'''''. Just follow the instructions provided there and you will be ready to run the latest version from the Git repositories!!

If everything went alright, you will find a
@@[=freedroidRPG.exe=]@@ file in the src/ subdirectory. You can launch it from the terminal:
-> @@[=cd src=]@@
-> @@[=./freedroidRPG=]@@

or you can just double-click on the executable's icon from the File Explorer. You will find it in @@[=C:\MinGW\msys\1.0\home\<your_username>\freedroid\src=]@@

Enjoy the game !

[-%gray%@@If you encounter any bugs, please let us know. Windows releases recive less testing, so your bug report is %red%'''VITAL'''%gray% for Windows Release Development.[[<<]]You can find contact informations in [[]]-]
----
! %red% OUTDATED %%
----
Changed line 83 from:
to:
{-
Changed lines 101-108 from:
If everything went alright, you will find a @@[=freedroidRPG.exe=]@@ file in the src/ subdirectory. You can launch it from the terminal:
-> @@
[=cd src=]@@
-> @@[=./freedroidRPG=]@@

or
you can just double-click on the executable's icon from the File Explorer. You will find it in @@[=C:\MinGW\msys\1.0\home\<your_username>\freedroid\src=]@@

Enjoy the game !
to:
-}

! SVN installation

Please note that [=FreedroidRPG=] has moved to git
. This page has to be updated, and will be updated in a bit.
{-
To retrieve
[=FreedroidRPG=] source files, you will need to use Subversion (SVN in short) (http://subversion.apache.org/). There are several graphical Windows clients for SVN, the most known and used being [=TortoiseSVN=]. Here, we will use the command line client.

To download, extract and ''install'' the SVN tool, type the following commands in a ''[=MinGW Shell=]'':
-> @@[=wget http://alagazam.net/svn-1.6.16/svn-win32-1.6.16.zip=]@@
If that doesn't work, try:
-> @@[=wget slaxer.com/chucks/svn-win32-1.6.16.zip=]@@
-> @@[=unzip svn-win32-1.6.16.zip=]@@
-> @@[=cd svn-win32-1.6.16=]@@
-> @@[=cp -r bin iconv share /=]@@
-> @@[=cd=]@@
-}
Sat, 14 Apr 12 21:05:54 +0000 by Sudarshan S - mention move to git
Added lines 33-34:

Please note that [=FreedroidRPG=] has moved to git. This page has to be updated, and will be updated in a bit.
Thu, 08 Sep 11 22:07:12 +0000 by fluzz - typo fix
Changed line 5 from:
Python will be needed during the build of [=FreedroidRPG=], so you frist need to install it.
to:
Python will be needed during the build of [=FreedroidRPG=], so you first need to install it.
Added lines 3-8:
! Installation of [=Python=]

Python will be needed during the build of [=FreedroidRPG=], so you frist need to install it.

* Download and install [=ActivePython=] from http://www.activestate.com/activepython/downloads
Wed, 06 Apr 11 00:29:36 +0000 by JKWood - Added alternative svn download link, since alagazam is down
Added lines 32-33:
If that doesn't work, try:
-> @@[=wget slaxer.com/chucks/svn-win32-1.6.16.zip=]@@
Tue, 05 Apr 11 23:05:44 +0000 by JKWood - Changed svn checkout url to use http instead of https
Changed line 59 from:
-> @@[=svn co https://freedroid.svn.sourceforge.net/svnroot/freedroid freedroid=]@@
to:
-> @@[=svn co http://freedroid.svn.sourceforge.net/svnroot/freedroid freedroid=]@@
Tue, 05 Apr 11 21:54:42 +0000 by JKWood - Added sdltest note
Changed line 66 from:
-> @@[=CFLAGS=-I/include ./configure --without-x=]@@
to:
-> @@[=CFLAGS=-I/include ./configure --without-x --disable-sdltest=]@@
Deleted lines 47-49:
-> @@[=cd=]@@

If you also want to be able to launch the game by double-clicking on the [=freedroidRPG=] executable's icon, type the following commands:
Changed line 50 from:
If you also want to be able to launch the game by double-clicking on the [=freedroidRPG=] executable's icon, also type the following commands:
to:
If you also want to be able to launch the game by double-clicking on the [=freedroidRPG=] executable's icon, type the following commands:
Changed line 15 from:
and a ''[=MinGW Shell=]'' submenu.
to:
and a ''[=MinGW Shell=]'' subentry.
Changed line 22 from:
* If you want a better terminal than the one provided by default, open the properties of the ''[=MinGW Shell=]'' menu entry, change the target to @@[=C:\MinGW\msys\1.0\msys.bat --mintty=]@@, and launch a new ''[=MinGW Shell=]''
to:
* If you want a better terminal than the one provided by default, open the properties of the ''[=MinGW Shell=]'' menu subentry (by right-clicking on it), and change the target to @@[=C:\MinGW\msys\1.0\msys.bat --mintty=]@@, and launch a new ''[=MinGW Shell=]''
Changed line 24 from:
! Library Dependencies
to:
'''Nota''': When you start a ''[=MinGW Shell=]'', the current directory is your '''HOME''' directory. This '''HOME''' directory can be found in @@[=C:\MinGW\msys\1.0\home\<your_username>=]@@
Changed line 26 from:
The following library dependencies are also required to build Freedroid RPG:
to:
! SVN installation
Changed lines 28-35 from:
* SDL
* libogg
* libvorbis
* SDL_Mixer
* zlib
* libjpeg
* libpng
* SDL_Image
to:
To retrieve [=FreedroidRPG=] source files, you will need to use Subversion (SVN in short) (http://subversion.apache.org/). There are several graphical Windows clients for SVN, the most known and used being [=TortoiseSVN=]. Here, we will use the command line client.
Changed lines 30-35 from:
Note that lua is no longer required as an external library, since it ships inside the Freedroid SVN.
to:
To download, extract and ''install'' the SVN tool, type the following commands in a ''[=MinGW Shell=]'':
-> @@[=wget http://alagazam
.net/svn-1.6.16/svn-win32-1.6.16.zip=]@@
-> @@[=unzip svn-win32-1.6.16.zip=]@@
-> @@[=cd svn-win32-1.6.16=]@@
-> @@[=cp -r bin iconv share /=]@@
-> @@[=cd=]@@
Changed line 37 from:
!! Manual installation
to:
! [=FreedroidRPG=] dependencies installation
Changed line 39 from:
To manually install all dependencies, download their source code and build it from the [=MSys=] prompt like this:
to:
In order to compile [=FreedroidRPG=], you have to first install some library dependencies. We provide those libraries in 2 binary packages, so you do not need to compile them yourself.
Changed lines 41-43 from:
CFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr
make
make install
to:
In a ''[=MinGW Shell=]'', type the following commands:
-> @@[=wget http://buildbot.freedroid.org/downloads/freedroidRPG_dev.tar.gz=]@@
-> @@[=wget http://buildbot.freedroid.org/downloads/freedroidRPG_dependencies.zip=]@@
-> @@[=cd /=]@@
-> @@[=tar -xzf ~/freedroidRPG_dev.tar.gz=]@@
-> @@[=cd /bin=]@@
-> @@[=unzip ~/freedroidRPG_dependencies.zip=]@@
-> @@[=cd=]@@
Changed lines 50-53 from:
!! Packaged libraries
to:
If you also want to be able to launch the game by double-clicking on the [=freedroidRPG=] executable's icon, also type the following commands:
-> @@[=cd /c/WINDOWS/system32=]@@
-> @@[=unzip ~/freedroidRPG_dependencies.zip=]@@
-> @@[=cd=]@@
Changed lines 55-56 from:
Alternatively, if you run on 32 bit Windows (2000, XP, Vista, 7), you can download a package with all the required
libraries which I've already built by hand:
to:
! [=FreedroidRPG=] compilation
Changed line 57 from:
http://www.bellverde.org/files/freedroid/frd_deps.zip
to:
So, you are now finally ready to download and compile the game !
Changed line 59 from:
It must be extracted to the MSys root, by default C:\Msys\1.0\
to:
In a ''[=MinGW Shell=]'', do the following:
Changed lines 61-62 from:
! Building Freedroid
to:
* download the source files with svn:
-> @@[=svn co https://freedroid.svn.sourceforge.net/svnroot/freedroid freedroid=]@@
Changed lines 64-65 from:
Before building the game, make sure that all the required DLLs from all the libraries we've compiled can be found on the path.
You can find them all here,
to:
* enter freedroid source directory:
-> @@[=cd freedroid=]@@
Changed lines 67-70 from:
http://www.bellverde.org/files/freedroid/frd_dlls.zip
to:
* compile the game:
-> @@[=./autogen.sh=]@@
-> @@[=CFLAGS=-I
/include ./configure --without-x=]@@
-> @@[=make=]@@
Changed lines 72-77 from:
You can place them in your path by copying them to your /src/ folder or to C:\Windows\System32
to:
'''Nota:''', if an error window opens complaining about ''libgmp-10.dll'' missing, then you used a bugged version of the [=MinGW=] installer (some [=DLLs=] are not correctly installed). To fix the problem, just type the following commands:
-> @@[=cp /mingw/bin/libgmp-10.dll /mingw/libexec/gcc/mingw32/4.5.2=]@@
-> @@[=cp /mingw/bin/libmpc-2.dll /mingw/libexec/gcc/mingw32/4.5.2=]@@
-> @@[=cp /mingw/bin/libmpfr-1.dll /mingw/libexec/gcc/mingw32/4.5.2=]@@
-> @@[=cp /mingw/bin/libiconv-2.dll /mingw/mingw32/bin=]@@
-> @@[=cp /mingw/bin/libintl-8.dll /mingw/mingw32/bin=]@@
Changed lines 79-81 from:
The next step is generating the configure file for Freedroid: change to your source checkout and run autogen
to:
If everything went alright, you will find a @@[=freedroidRPG.exe=]@@ file in the src/ subdirectory. You can launch it from the terminal:
-> @@[=cd src=]@@
-> @@[=./freedroidRPG=]@@
Changed lines 83-84 from:
cd freedroid
./autogen.sh
to:
or you can just double-click on the executable's icon from the File Explorer. You will find it in @@[=C:\MinGW\msys\1.0\home\<your_username>\freedroid\src=]@@
Changed lines 85-90 from:
If autogen fails, make sure you have installed the latest versions of both automake and autoconf.

Now, run the configure file like this:
CFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr

If everything went alright, you can now build Freedroid RPG as usual just by typing "make". If there are any errors, make sure you have installed every single of the required dependencies.
to:
Enjoy the game !
Changed line 7 from:
* Get the last version of [=MinGW=] from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/
to:
* Get the lastest version of [=MinGW=] from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/
Changed line 1 from:
This page explains the required steps to build Freedroid RPG under Windows with [=MinGW=]/[=MSys=].
to:
This page explains the required steps to build [=FreedroidRPG=] under Windows with [=MinGW=]/[=MSys=].
Changed line 3 from:
! Program Dependencies
to:
! Installation of [=MinGW=]
Changed line 5 from:
Before trying to build Freedroid RPG under Windows, the following software must be installed:
to:
Before trying to build [=FreedroidRPG=] under Windows, you need to setup a development environment that will "mimic" a Unix development environment:
Changed lines 7-11 from:
* [=MinGW=]: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download
* [=MSys=]: http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.9/MSYS-1.0.9.exe/download
* [=MSys=] Developer Toolkit: http://downloads.sf.net/mingw/msysDTK-1.0.1.exe?download
* Autoconf 2.65 or newer: http://ftp.gnu.org/gnu/autoconf/
* Automake 1.9 or newer: http://ftp.gnu.org/gnu/automake
/
to:
* Get the last version of [=MinGW=] from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/
Changed lines 9-22 from:
The versions of automake and autoconf packed in the [=MSys=] Developer Toolkit are outdated to build Freedroid; you'll need to manually download and compile more recent versions.
to:
* Run the downloaded installer, and:
-> * Choose to 'download latest repository catalogues'
-> * Choose following destination: [=C:\MinGW=] (if
you choose an other destination, you'll have to adapt the rest of this How-To)
-> * On the components selection screen, add '[=MinGW Developer Toolkit=]'

Once installed, you'll have a new ''[=MinGW=]'' entry in your Start Menu,
and a ''[=MinGW Shell=]'' submenu
.

* Launch ''[=MinGW Shell=]'', and in the terminal window just opened, type:
-> @@mingw-get install msys-wget@@
-> @@mingw-get install msys-unzip@@
-> @@mingw-get install msys-mintty@@

* If you want a better terminal than the one provided by default, open the properties of the ''[=MinGW Shell=]'' menu entry, change the target to @@[=C:\MinGW\msys\1.0\msys.bat --mintty=]@@, and launch a new ''[=MinGW Shell=]''
Sat, 24 Apr 10 09:36:12 +0000 by ahuillet - remove reference to ranlib call, removed in rev 2666
Changed lines 63-70 from:
When the configure file has been created, check your freedroid\src\Makefile.am and make sure the following lines don't exist:

if [=WIN32=]
i686-pc-mingw32-ranlib ../lua/liblua.a
endif

Remove them if they do. Now, run the configure file like this:
to:
Now, run the configure file like this:
Changed line 13 from:
The versions of automake and autoconf packed in the MSys Developer Toolkit are outdated to build Freedroid; you'll need to manually download and compile more recent versions.
to:
The versions of automake and autoconf packed in the [=MSys=] Developer Toolkit are outdated to build Freedroid; you'll need to manually download and compile more recent versions.
Changed line 65 from:
if WIN32
to:
if [=WIN32=]
Changed line 1 from:
This page explains the required steps to build Freedroid RPG under Windows with MinGW/MSys.
to:
This page explains the required steps to build Freedroid RPG under Windows with [=MinGW=]/[=MSys=].
Changed line 9 from:
* MSys Developer Toolkit: http://downloads.sf.net/mingw/msysDTK-1.0.1.exe?download
to:
* [=MSys=] Developer Toolkit: http://downloads.sf.net/mingw/msysDTK-1.0.1.exe?download
Changed line 32 from:
To manually install all dependencies, download their source code and build it from the MSys prompt like this:
to:
To manually install all dependencies, download their source code and build it from the [=MSys=] prompt like this:
Changed lines 7-8 from:
* MinGW: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download
* MSys: http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.9/MSYS-1.0.9.exe/download
to:
* [=MinGW=]: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download
* [=MSys=]: http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.9/MSYS-1.0.9.exe/download
Changed lines 1-73 from:
Describe BuildingInWindows here.
to:
This page explains the required steps to build Freedroid RPG under Windows with MinGW/MSys.

! Program Dependencies

Before trying to build Freedroid RPG under Windows, the following software must be installed:

* MinGW: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download
* MSys: http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.9/MSYS-1.0.9.exe/download
* MSys Developer Toolkit: http://downloads.sf.net/mingw/msysDTK-1.0.1.exe?download
* Autoconf 2.65 or newer: http://ftp.gnu.org/gnu/autoconf/
* Automake 1.9 or newer: http://ftp.gnu.org/gnu/automake/

The versions of automake and autoconf packed in the MSys Developer Toolkit are outdated to build Freedroid; you'll need to manually download and compile more recent versions.

! Library Dependencies

The following library dependencies are also required to build Freedroid RPG:

* SDL
* libogg
* libvorbis
* SDL_Mixer
* zlib
* libjpeg
* libpng
* SDL_Image

Note that lua is no longer required as an external library, since it ships inside the Freedroid SVN.

!! Manual installation

To manually install all dependencies, download their source code and build it from the MSys prompt like this:

CFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr
make
make install

!! Packaged libraries

Alternatively, if you run on 32 bit Windows (2000, XP, Vista, 7), you can download a package with all the required
libraries which I've already built by hand:

http://www.bellverde.org/files/freedroid/frd_deps.zip

It must be extracted to the MSys root, by default C:\Msys\1.0\

! Building Freedroid

Before building the game, make sure that all the required DLLs from all the libraries we've compiled can be found on the path.
You can find them all here,

http://www.bellverde.org/files/freedroid/frd_dlls.zip

You can place them in your path by copying them to your /src/ folder or to C:\Windows\System32

The next step is generating the configure file for Freedroid: change to your source checkout and run autogen

cd freedroid
./autogen.sh

If autogen fails, make sure you have installed the latest versions of both automake and autoconf.

When the configure file has been created, check your freedroid\src\Makefile.am and make sure the following lines don't exist:

if WIN32
i686-pc-mingw32-ranlib ../lua/liblua.a
endif

Remove them if they do. Now, run the configure file like this:

CFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr

If everything went alright, you can now build Freedroid RPG as usual just by typing "make". If there are any errors, make sure you have installed every single of the required dependencies
.
Edit - History - Print - Recent Changes - Search
Page last modified on Mon, 20 Jan 14 17:02:25 +0000