Requirements
Before installing syscalls-cpp, ensure your development environment meets these requirements:C++20 Compiler
C++20 Compiler
- MSVC: Visual Studio 2019 16.11 or later
- Clang: Version 10 or later
- GCC: Version 10 or later
Platform
Platform
- Windows x86: 32-bit Windows targets
- Windows x64: 64-bit Windows targets
Linux and macOS are not supported as syscalls-cpp is Windows-specific.
Build System
Build System
- CMake: Version 3.15 or later (recommended)
- MSBuild: Integrated with Visual Studio
vcpkg (Recommended)
The recommended method to install syscalls-cpp is through vcpkg, Microsoft’s C++ package manager.Install syscalls-cpp
Run the following command to install the library:This will download, build, and install syscalls-cpp with automatic integration for MSBuild and CMake projects.
Conan
Alternatively, you can use Conan for package management.Manual Installation
For manual setup without a package manager:Configure include paths
Add the include directory to your compiler’s include path.For CMake:For MSVC:
CMakeLists.txt
- Project Properties → C/C++ → General → Additional Include Directories
- Add the path to the
includefolder
Verification
To verify your installation, create a simple test file:test.cpp
Platform Compatibility Notes
For debugging purposes, you can disable compile-time hashing by defining
SYSCALLS_NO_HASH:- MSVC: Add
/DSYSCALLS_NO_HASHto compiler flags - GCC/Clang: Add
-DSYSCALLS_NO_HASHto compiler flags
Next Steps
Quick Start
Follow our quick start guide to build your first syscall manager