diff --git a/COMPILE.md b/COMPILE.md index c41c229b..9f95a712 100644 --- a/COMPILE.md +++ b/COMPILE.md @@ -39,6 +39,12 @@ mkdir build && cd build cmake .. -G "MSYS Makefiles" -DCMAKE_MAKE_PROGRAM="mingw32-make" ``` +#### Mac OS X + +```bash +brew install Assimp SDL2 SDL2_mixer TinyXML2 Bullet freeimage +cmake ./; +``` If you want to profile the source code pass `-DCMAKE_CXX_FLAGS=-pg` to cmake. @@ -47,6 +53,8 @@ bugtracker https://github.com/GlPortal/glPortal/issues to report an issue. If the command did not produce an error, you can build the binary by typing in: + + ### Building #### Linux ```bash @@ -58,6 +66,12 @@ make mingw32-make ``` +#### Mac OS X +```bash +make +``` + + ### Running If this produces no error you have built the binary and should be able to start GlPortal by typing in: #### Linux @@ -83,9 +97,16 @@ cp /mingw64/bin/{libLinearMath,SDL2{,_mixer},libtinyxml2,libgcc_s_seh-1,libstdc+ mingw32-make run ``` + +#### Mac OS X +```bash +make run +``` + If you get errors, try to build GlPortal again. If you don't manage to fix the error, use the bugtracker https://github.com/GlPortal/glPortal/issues or http://bugs.glportal.de to report what you did, and what error you got. + ## Build with docker Building with docker is still in early testing and not feature complete. It will make compiling easier in the future. ```bash