-
Couldn't load subscription status.
- Fork 1
Building REV
Rev's build system is based on top of CMake, so the first thing you need to do is install it. Then you need to install all of its dependencies. There are some optional modules you can build with rev, appart from the core library (like tests and tools), and some of them also have dependencies.
Currently, the only dependencies for the core engine are pthreads on linux, and Mswsock on windows, so there's usually nothing you really need to do since these two are almost certainly installed in your system
If you want to be able to use OpenGL as your graphics back end, then you need to include and link against OpenGL. CMake usually finds openGL automatically, so all you have to do is to activate the REV_WITH_OPENGL option in CMake
Some of the tools do have dependencies with external libraries you need to have installed before. So, if you use the REV_BUILD_TOOLS option, then you need:
- Assimp: This is an asset import library used by model processor. You can clone it from https://github.com/assimp/assimp.git. If you build assimp using CMake, remember to install it both in debug and release mode, in order to prevent linking errors. The recommended configuration is to not build shared libraries (BUILD_SHARED_LIBS=OFF) and to build your own ZLib even if there is one in your system already (ASSIMP_BUILD_ZLIB=ON)