Installation:Windows
Contents
Binary package
The binaries are distributed inside a single .zip file. Extract all the files and the directories to your preferred location and start using it.
All the executable applications are in bin. Among them, GeopsyLand is of interest for Windows users. It provides the list of graphical applications on the left panel and a simple emulation of a Linux terminal on the right panel. Environment variables are properly set by default (PATH) and all command line tools can be directly executed inside the terminal.
If you installed several geopsy or dinver versions, it is mandatory to set the appropriate path for tools and plugins before running them. Run in terminal:
geopsy -clear-tools dinver -clar-plugins
Source package
Compiling from the source package may be an option if the binary package is not yet available. It takes a bit longer and requires several steps. Once a build environment is ready updates are relatively straight forward. Getting Git, Qt and compiling FFTW are required only once. When updating from a previous Geopsy release you can skip these steps and go directly to Geopsy package. As a general comment, do not move directories after their installation, prefer a new installation instead.
This tutorial is under construction, use it at your own risks!
Git
Git is a widely used version control tool, required to access the geopsy and Qt main repositories. The binary package for Windows comes with a bash terminal which is used here also for compilation.
Download the 64-bit standalone installer (version 2.39.1 at the time of writing this tutorial). Start the installer and follow the instructions. Default options are fine except a few detailed hereinafter. Among default options:
* Git components * Vim as editor * Let git decide the name of the initial branch * Git from the command line and also 3rd party software * bundled OpenSSH * OpenSSL library * MinTTY * Default (fast forward or merge) * File system caching * No experimental options
For some other options, the default is not preferred.
* Installation in 'C:\geopsy\Git' (Avoid spaces in directory names like 'Program files') * Select "Checkout as-is, commit Unix-style line endings" for line ending conversions
Mingw-w64
Mingw-w64 provides GNU C++ compiler for Windows. Download w64devkit. This tutorial is based on w64devkit-1.17.0 but another more recent release might also work. Extract the archive to
C:\geopsy\Mingw-w64
and start
C:\geopsy\Mingw-w64\w64devkit.exe
Git, make and g++ should be available
~ $ git --version git version 2.39.1.windows.1 ~ $ make --version GNU Make 4.4 Built for x86_64-w64-mingw32 ~ $ g++ --version g++ (GCC) 12.2.0
Qt
This is an interface library that provides portability to virtually all platforms. A binary package for Microsoft Windows can be downloaded from Qt. Go to "Download. Try". Under "Downloads for open source use", click on "Go open source". Go to the bottom of the page and click on "Download the Qt Online Installer". Click on "Download" button. While writing this tutorial, the installation wizard stopped on an error with OpenSSL handshake. This method is thus left away. A longer path is preferred here based on Qt git repository.
export QT_BRANCH=5.15 git clone git://code.qt.io/qt/qt5.git cd qt5 git checkout $QT_BRANCH perl init-repository mkdir -p ../build/$QT_BRANCH cd ../build/$QT_BRANCH ../../qt5/configure -prefix ../../../install/Qt/$QT_BRANCH -nomake examples -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtgraphicaleffects -skip qtgamepad -skip qtlocation -skip qtmultimedia -skip qtpurchasing -skip qtwebengine -skip qtwebchannel -skip qtwebsockets -skip qtwebview -xcb make -j 2 make install -j 2
Defining the branch and the version
The current branch and the current version are defined by the following variables
export GEOPSY_BRANCH=3.5 export GEOPSY_VERSION=3.5.0-preview