|
|
|
|
@ -16,7 +16,8 @@ Building:
|
|
|
|
|
install dependencies for your environment: |
|
|
|
|
Arch) $ sudo pacman -S assimp glew glm sdl2 catch2 gcc make |
|
|
|
|
Fedora) $ sudo dnf install assimp-devel glew-devel glm-devel \ |
|
|
|
|
SDL2-devel catch-devel gcc-c++ make |
|
|
|
|
SDL2-devel catch-devel gcc-c++ make cmake |
|
|
|
|
NOTE: fedora (33) see note below about assimp |
|
|
|
|
checkout, and initialise submodule dependencies: |
|
|
|
|
$ git submodule update --init --recursive |
|
|
|
|
build: |
|
|
|
|
@ -29,18 +30,3 @@ Building:
|
|
|
|
|
|
|
|
|
|
$ USE_INTERNAL_ASSIMP=y make |
|
|
|
|
|
|
|
|
|
then, to run the demo, |
|
|
|
|
|
|
|
|
|
$ cd bin |
|
|
|
|
$ LD_LIBRARY_PATH=../ext/tangerine/ext/assimp/lib ./orbital_shipping |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: |
|
|
|
|
# (libTangerine) fold in build_assimp to make dependency |
|
|
|
|
# turn off unused default features of internal assimp |
|
|
|
|
# compile assimp as static lib into libTangerine if built internal |
|
|
|
|
# (can remove LD_LIBRARY_PATH requirement) |
|
|
|
|
# (orbital_shipping) update makefile $(LIB) target |
|
|
|
|
# make sure git submodule hashes are updated |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
|