-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the AdaGate wiki!
This first entry is aimed at helping users get AdaGate to run, especially on their linux distro.
ver 5.9.1 -- 12apr16
-
Fixed critical error within ./gnulibs/ that prevented the GNU-Linux executable from being able to find necessary shared libraries. Several additional softlinks solved this problem.
-
Note that the OS-X build system is now reasonably stable and portable.
Unzip the archive and you will see a new directory appear with a name like "bundle_date", that you should rename to something like "adagate_install_directory".
Linux users should then cd to adagate_install_directory, then type "adagate_gnu" to start the game. You may also double click its icon in file manager.
Mac users may initiate the game by navigating to the installation directory in Finder and clicking the "adagate.app" icon named "AdaGate".
Two [pre-compiled] binary executables are delivered, one for gnu/linux and one for OS-X. The Mac binary should run on most any standard Mac with a recent version of OS-X. The linux binary, adagate_gnu, is intended to run in the presence of the directory "gnulibs", which contains some dynamically loaded libraries that can be, but need not be present on a target system: SDL2, SFML, FLAC, ogg, vorbis, freetype, jpeg, openal.
Build scripts for GNAT2015 or newer are provided. Suggestions or help improving the build process is welcome.
MacOSX => ocmp.sh:
build script for generating a portable executable that will run on most OS-X platforms whether or not they have non-standard libraries SDL2 or SFML installed. This is used to build the executable named adagate_osx. Macs with a recent but standard configuration of OS-X should be able to rebuild using this script, assuming you have GNAT GPL installed.
GNU/Linux => lcmp.sh
utilizes the non-standard static libraries SDL2 & SFML, as well as other more common shared libraries that are delivered in this bundle under ./gnulibs/. This is used to build the [gnu/linux] executable, which should run in the presence of ./gnulibs/, whether or not your system has those shared libraries installed.
The current build is compiled on OpenSUSE v13.2, and uses GLIBC 2.14 [dating from june 2011]. This generally means that if your linux distro uses glibc v2.14 or newer, then the prebuilt binary should probably run on your system (and be rebuildable).
If the delivered linux binary does not run...
- Manually install GNAT GPL from libre.adacore.com/download/.
- Rerun the compile script lcmp.sh.