vaniton icon indicating copy to clipboard operation
vaniton copied to clipboard

Can you add build instruction to readme?

Open zkhrg opened this issue 1 year ago • 1 comments

I have some problems with build your project from source, ada and gpr is not popular tools so.. Add please build steps to readme

zkhrg avatar Jan 03 '24 03:01 zkhrg

Hello,

Setting up Ada compiler and gprbuild is system-dependent and can change drastically from one operating system version to another. Adding this information to the readme ensures that it would always be out of date :)

My advice would be to first check out your operating system's package manager, as for example Debian has both GNAT Ada compiler and gprbuild readily available. Otherwise, you could try alire that can pull the compiler and gprbuild along with all needed dependencies on other platforms such as Windows.

For build steps, check out GitHub workflow files for Windows and Linux - apart from installing the toolchain and some necessary libraries, the only command for building the application is

$ gprbuild -P vaniton.gpr -XBUILD=RELEASE -j0

Make sure to recursively clone the repository and have OpenSSL library installed.

AntonMeep avatar Jan 09 '24 18:01 AntonMeep