Interface of adbClient.
MacOs:
Due to apple clang support std::format since Xcode15.3, for which developer have to install llvm previously.
- Install
llvm-toolchain;
brew install llvm@17 - Append llvm-toolchain to
PATH;
echo 'export PATH="/opt/homebrew/opt/llvm@17/bin:$PATH" ' >> ~/.bash_profile
echo 'export PATH="/opt/homebrew/opt/llvm@17/bin:$PATH" ' >> ~/.zprofileWindows:
- Install visual studio 2019 or later.
- Append visual studio
cmake.exe,cl.exeand other relative tools toPATH;
# Example:
add "D:\visual studio 2019\2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64" to PATH
add "D:\visual studio 2019\2019\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin" to PATHLinux:
- Install
cmakeand other tools.
sudo apt install cmake- Update G++ to g++-13.
sudo apt install g++-13$ mkdir build && cd build
$ cmake ..
$ cmake --build .