libHSPlasma, the universal Plasma Game Engine library!
libHSPlasma uses the CMake build system, which can generate project files for all major operating systems.
A typical build looks something like this:
$ mkdir build $ cd ./build $ cmake ..
To build with Python support run this cmake command:
$ cmake -DENABLE_PYTHON=ON ..
On Unix-like systems (Linux, MacOSX) you should then be able to:
$ make $ sudo make install
On Windows, make sure you have the required libraries as well as Visual Studio (Express Edition works fine), and then use the generated .sln files to compile.
Mac users can also generate XCode project files for libHSPlasma by specifying the XCode generator:
$ cmake -G XCode ..
Note that ARM, PowerPC, etc. compilations may work, but are completely unsupported for now.
libHSPlasma depends on the following libraries; you'll need to have the dev packages installed in order for libHSPlasma to compile successfully:
You will also need CMake and a C++ compiler with at least some C++11 support. The following compiler versions are currently supported (others may work, but are currently untested):
- GCC 4.6 or later
- Clang 3.0 or later
- Microsoft Visual C++ 2013 or later
Win32/64 Special Considerations
Python is pretty straightforward if you only create release builds. The default Windows installations come with the necessary header and lib files, so you just need to point VS to those. Building Debug builds against Python 2.x, however, requires that you get the actual source packages from python.org and compile them yourself. Recent Python 3.x versions now include the debug libraries in the installer, which can be used instead of compiling your own versions.