Goblin is an Ogre3D library with usefull codes for this rendering engine used by DNTeam applications.
Goblin is released under GNU Lesser General Public License v3.0 or later [https://www.gnu.org/licenses/lgpl.html]
- Ogre3D 1.10 or 2.1 [http://www.ogre3d.org/]
- Kobold [https://github.com/farrer/kobold]
- Kosound [https://github.com/farrer/kosound]
- SDL2 [https://libsdl.org/download-2.0.php]
- OpenAL [http://kcat.strangesoft.net/openal.html]
- Ogg [https://xiph.org/downloads/]
- Vorbis [https://xiph.org/downloads/]
- VorbisFile [https://xiph.org/downloads/]
Usually, you build Goblin with the following commands:
mkdir build
cd build
cmake ..
make
make install
To build for Android, the CMake command call must set the needed NDK variables:
cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeModules/android.toolchain.cmake -DANDROID_NDK=path_to_Android_Ndk -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi-v7a" -DANDROID_NATIVE_API_LEVEL=12 ..
Change those parameters to your needs.
There are some options that could be passed to CMake script:
- GOBLIN_DEBUG -> Build the library with debugging symbols;
- GOBLIN_STATIC -> Build a .a static library, instead of the shared one.