mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +00:00
INSTALL: remove the native win32 build notes
Outdated and should not be maintained as there are many levels of complications. The NOT RECOMMENDED note should suffice. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d6d0fb09f9
commit
55898c07ff
1 changed files with 2 additions and 69 deletions
71
INSTALL
71
INSTALL
|
@ -339,72 +339,5 @@ Building Subsurface on Windows
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
This is NOT RECOMMENDED. To the best of our knowledge there is one single
|
This is NOT RECOMMENDED. To the best of our knowledge there is one single
|
||||||
person who regularly does this (and he provided these instructions). The
|
person who regularly does this. The Subsurface team does not provide support
|
||||||
Subsurface team does not provide support for Windows binary build from
|
for Windows binary build from sources...
|
||||||
sources...
|
|
||||||
|
|
||||||
1) Install msys-git:
|
|
||||||
http://msysgit.github.io
|
|
||||||
|
|
||||||
Tools part of MSYS are required for building Subsurface, while you also
|
|
||||||
need Git to be upstream and contribute to the project.
|
|
||||||
Make sure that the msys/bin (or git/bin) folder is in PATH.
|
|
||||||
|
|
||||||
2) Install Qt
|
|
||||||
http://qt-project.org/downloads
|
|
||||||
|
|
||||||
Subsurface is currently built against Qt 4.8.5.
|
|
||||||
|
|
||||||
3) Install a MinGW toolchain
|
|
||||||
https://docs.google.com/open?id=0B4D8x6CJEmtuczdiQklwMEs4RUU
|
|
||||||
|
|
||||||
Qt 4.8.5 comes without a compiler and you will have to download it from
|
|
||||||
a separate location. Other compiler may work, but there are no guaranties for
|
|
||||||
that. Make sure that the mingw/bin folder is in PATH.
|
|
||||||
|
|
||||||
4) Install Libdivecomputer
|
|
||||||
Use similar steps to the previous section, without the sudo command.
|
|
||||||
|
|
||||||
5) Install CMake (required for building Marble):
|
|
||||||
http://www.cmake.org/cmake/resources/software.html
|
|
||||||
|
|
||||||
Make sure that the cmake/bin folder is in PATH.
|
|
||||||
|
|
||||||
5) Download and build Marble
|
|
||||||
http://marble.kde.org/sources.php
|
|
||||||
http://techbase.kde.org/Projects/Marble/WindowsCompiling#Compiling_Marble_using_MingW
|
|
||||||
|
|
||||||
Make sure you build both the Debug and Release versions.
|
|
||||||
|
|
||||||
6) Install pkg-config
|
|
||||||
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip
|
|
||||||
|
|
||||||
pkg-config depends on DLL files such as libglib-2.0-0.dll and has to be in
|
|
||||||
PATH, so it's best that you copy the executable to msys/bin.
|
|
||||||
|
|
||||||
7) Install other dependencies
|
|
||||||
Subsurface also depends on the following libraries:
|
|
||||||
|
|
||||||
* libxml2
|
|
||||||
http://www.xmlsoft.org/downloads.html
|
|
||||||
* libxslt
|
|
||||||
http://xmlsoft.org/XSLT/
|
|
||||||
* libusb-1.0
|
|
||||||
http://sourceforge.net/apps/trac/libusb-win32/wiki
|
|
||||||
* zlib
|
|
||||||
http://www.zlib.net/
|
|
||||||
* libzip
|
|
||||||
http://www.nih.at/libzip/
|
|
||||||
|
|
||||||
Once you have the libraries, create .pc files (pkg-config) for them and place
|
|
||||||
the files in a folder that is indicated by the PKG_CONFIG_PATH environment
|
|
||||||
variable - e.g. PKG_CONFIG_PATH=c:\msys\pkg-config
|
|
||||||
|
|
||||||
To build subsurface, use:
|
|
||||||
|
|
||||||
$ git clone git://subsurface-divelog.org/subsurface.git
|
|
||||||
$ cd subsurface
|
|
||||||
$ qmake
|
|
||||||
$ make
|
|
||||||
$ make install
|
|
||||||
$ make installer
|
|
||||||
|
|
Loading…
Reference in a new issue