shiva
last version
last version
  • Shiva Documentation
  • Shiva
    • Changelog
    • FAQ
    • Gallery
    • Installation
    • Modules
      • shiva::box2d
      • shiva::dll
      • shiva::ecs
      • shiva::entt
      • shiva::enums
      • shiva::error
      • shiva::event
      • shiva::filesystem
      • shiva::input
      • shiva::json
      • shiva::lua
      • shiva::meta
      • shiva::pp
      • shiva::pyscripting
      • shiva::range
      • shiva::reflection
      • shiva::scenes
      • shiva::sfml
        • shiva::system-sfml-animation
        • shiva::system-sfml-graphics
        • shiva::system-sfml-inputs
        • shiva::system-sfml-resources
      • shiva::spdlog
      • shiva::stacktrace
      • shiva::timer
      • shiva::world
    • Roadmap
    • Scripting
      • Lua
      • Python
    • Tutorial
      • Quick'start
      • How to create/build/install a system plugin
      • How to create a scripted system
      • How to create a project through the CLI tools and build it
Powered by GitBook
On this page
  • Prerequisite:
  • Vcpkg:
  • Submodules:
  • Dependancies
  1. Shiva

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

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)
PreviousGalleryNextModules

Last updated 6 years ago

To install vcpkg follow the instructions on the following github:

git submodule add

https://github.com/Microsoft/vcpkg
https://github.com/milerius/shiva