2024-11-15 17:39:05 +03:00
# [ReAPI](https://github.com/rehlds/ReAPI) [![Download](https://img.shields.io/github/downloads/s1lentq/ReGameDLL_CS/latest/total)](https://github.com/s1lentq/ReAPI/releases/latest) [![Downloads](https://img.shields.io/github/downloads/s1lentq/ReAPI/total)]() [![Percentage of issues still open](http://isitmaintained.com/badge/open/s1lentq/ReAPI.svg)](http://isitmaintained.com/project/s1lentq/ReAPI "Percentage of issues still open") [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
2021-01-04 19:29:35 +03:00
2016-03-30 14:12:54 +03:00
AMX Mod X module, using API regamedll & rehlds
2019-06-23 20:51:29 +03:00
## Build instructions
2021-04-22 18:19:14 +03:00
### Checking requirements
2019-06-23 20:51:29 +03:00
There are several software requirements for building ReAPI:
2021-04-22 18:19:14 +03:00
#### Windows
< pre >
Visual Studio 2015 (C++14 standard) and later
2019-06-23 20:51:29 +03:00
< / pre >
2021-04-22 18:19:14 +03:00
#### Linux
< pre >
git >= 1.8.5
cmake >= 3.10
GCC >= 4.9.2 (Optional)
ICC >= 15.0.1 20141023 (Optional)
LLVM (Clang) >= 6.0 (Optional)
2019-06-23 20:51:29 +03:00
< / pre >
2021-04-22 18:19:14 +03:00
### Building
#### Windows
2024-11-15 17:39:05 +03:00
Use `Visual Studio` to build, open `msvc/ReAPI.sln` and just select from the solution configurations list `Release` or `Debug`
2021-04-22 18:19:14 +03:00
#### Linux
* Optional options using `build.sh --compiler=[gcc] --jobs=[N] -D[option]=[ON or OFF]` (without square brackets)
2019-06-23 20:51:29 +03:00
2021-04-22 18:19:14 +03:00
< pre >
-c=|--compiler=[icc|gcc|clang] - Select preferred C/C++ compiler to build
-j=|--jobs=[N] - Specifies the number of jobs (commands) to run simultaneously (For faster building)
< sub > Definitions (-D)< / sub >
DEBUG - Enables debugging mode
USE_STATIC_LIBSTDC - Enables static linking library libstdc++
2019-06-23 20:51:29 +03:00
< / pre >
2021-04-22 18:19:14 +03:00
* ICC < pre > ./build.sh --compiler=intel</ pre >
* LLVM (Clang) < pre > ./build.sh --compiler=clang</ pre >
* GCC < pre > ./build.sh --compiler=gcc</ pre >
##### Checking build environment (Debian / Ubuntu)
2019-06-23 20:51:29 +03:00
2021-04-22 18:19:14 +03:00
< details >
< summary > Click to expand< / summary >
2019-06-23 20:51:29 +03:00
2021-04-22 18:19:14 +03:00
< ul >
< li >
Installing required packages
< pre >
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
sudo apt-get install -y build-essential
sudo apt-get install -y libc6-dev libc6-dev-i386
< / pre >
< / li >
< li >
Select the preferred C/C++ Compiler installation
< pre >
1) sudo apt-get install -y gcc g++
2) sudo apt-get install -y clang
< / pre >
< / li >
< / ul >
2019-06-23 20:51:29 +03:00
2021-04-22 18:19:14 +03:00
< / details >
2019-06-23 20:51:29 +03:00
## How can I help the project?
Just install it on your game server and report problems you faced.< br / >
Merge requests are also welcome :shipit: