shiva
last version
Search…
⌃K

Installation

Prerequisite:

  • CMake 3.9 (minimum)
  • VCPKG (optional)
  • Scripting (lua and python 3.6 minimum)
  • C++17 Compiler MSVC/Clang/GCC (mingw/cygwin/xcode are not supported)
If you want to install shiva you have two possibilities:
  • Using shiva as a submodule
  • Using vcpkg

Vcpkg:

Windows:

$ ./vcpkg.exe install shiva:x64-Windows
Windows (plugins):
$ ./vcpkg.exe install shiva-(plugins_name):x64-Windows
##! example
$ ./vcpkg.exe install shiva-sfml:x64-Windows
Currently on Windows, only the shared build is supported by shiva

Linux/OSX:

$ ./vcpkg install shiva
Linux/OSX (plugins):
$ ./vcpkg.exe install shiva-(plugins_name)
##! example
$ ./vcpkg.exe install shiva-sfml
On Linux and OSX some extra commands are needed to install lua modules and sfml.
Linux/OSX (extras):
##! Linux
sudo apt-get install luarocks
luarocks install luafilesystem
sudo apt-get install libsfml2.5-dev (or manually install sfml 2.5.0)
##! OSX
brew install luarocks
brew install sfml
luarocks install luafilesystem
To install vcpkg follow the instructions on the following github: https://github.com/Microsoft/vcpkg

Submodules:

Dependancies

If you decide to use shiva without going through VCPKG, you must install the following dependencies
boost-stacktrace
boost-filesystem
boost-dll
entt
lua
luafilesystem
sol2
nlohmann-json
pybind11
spdlog
##plugin
sfml 2.5.0 (minimum)
Last modified 4yr ago