AmiKo/CoMed for Linux done with wxWidgets and C++, 64 bit.
Prerequisites:
-
GTK 3
$ sudo apt install libgtk-3-dev
-
WebKit2
$ sudo apt install libwebkit2gtk-4.0-dev
-
SQlite is built-in into the application, so there is no dependency on system libraries.
-
JSON nlohmann
$ git submodule init $ git submodule update
then enable this in
steps.conf
STEP_CONFIGURE_JSON=y STEP_BUILD_JSON=y STEP_COPY_LANG_FILES=y
-
Install:
sudo apt install libcurl4-openssl-dev
Or build:
STEP_DOWNLOAD_SOURCES_CURL=y STEP_CONFIGURE_CURL=y STEP_BUILD_CURL=y
-
OpenSSL development libraries, required for the calculation of the patient hash (SHA256)
$ sudo apt install libssl-dev
-
Smart card support
-
Developers
$ sudo apt install libpcsclite-dev
-
Developers and users
$ sudo apt install pcscd
-
-
uuidgen for the generation of prescription UUIDs
$ uuidgen
-
To install dependencies on Gentoo:
$ emerge net-libs/webkit-gtk x11-libs/wxGTK sys-apps/pcsc-lite
- Download and install latest wxWidgets from source using build script.
- Build script also has to download all data files, see OSX version.
- Build script has to build executables named
AmiKo
andCoMed
.
In the file ~/AmiKo
you can set language=57
on the first line. That will put the interface to English. In case you want to test in English.
- Run
build.sh
- Edit
steps.conf
- Edit
seed.conf
- Run
build.sh
again.
- For Mac in
steps.conf
STEP_CONFIGURE_WXWIDGETS=y
STEP_COMPILE_WXWIDGETS=y
STEP_CONFIGURE_JSON=y
STEP_BUILD_JSON=y
- For Mac in
seed.conf
CONFIG_GENERATOR_MK=y
- For Mac in
steps.conf
STEP_CONFIGURE_APP=y
STEP_COMPILE_APP=y
- For Mac in seed.conf
CONFIG_GENERATOR_XC=y
- Create a .pkg Installer for macOS that installs all the DB files in to
~/.AmiKo
or~/.CoMed