Changes in / [754cf5a:972aca1] in opengl-game
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r754cf5a r972aca1 1 vulkangame2 1 newgame 3 2 pong -
CrashLogger.cpp
r754cf5a r972aca1 5 5 #include <csignal> 6 6 #include <cstring> 7 #include <cstdint> // Check if this lets me remove any windows includes 7 8 8 9 #include <fcntl.h> … … 14 15 15 16 #ifdef WINDOWS 16 // Check if this is necessary or lets me remove any windows includes17 // also check if it's needed in Linux18 #include <cstdint>19 20 17 #include <windows.h> 21 18 #include <io.h> … … 36 33 #include <unistd.h> 37 34 #include <execinfo.h> 35 #include <errno.h> 38 36 #include <cxxabi.h> 39 40 // CHeck if these are needed in Linux 41 //#include <errno.h> 42 //#include <cstring> 37 #include <cstring> 43 38 44 39 void abortHandler(int signum); -
README.txt
r754cf5a r972aca1 8 8 (Old Linux instructions for compiling game.cpp) 9 9 -sudo apt-get install cmake xorg-dev libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev 10 11 - Compile GLFW3 from source12 (cmake . && make && sudo make install)10 - 11 --Compile GLFW3 from source 12 - (cmake . && make && sudo make install) 13 13 14 14 Installation Instructions for OSX … … 44 44 45 45 Open and run NewOpenGLGame.sln in Visual Studio 2017 and run it. 46 47 48 Vulkan Instructions49 --------------------50 51 Linux:52 53 Download the Vulkan SDK from ...54 55 -Compile GLFW3 from source56 (cmake . && make && sudo make install)57 58 -sudo apt-get install libxcb1-dev xorg-dev libsdl2-dev libglm-dev -
makefile
r754cf5a r972aca1 1 # CFLAGS are compiler flags and LIBFLAGS could be renamed LINKER_FLAGS2 1 OS = $(shell uname) 3 2 CC = g++ 4 CFLAGS = -std=c++ 11-Wall -pedantic -rdynamic3 CFLAGS = -std=c++0x -Wall -pedantic -rdynamic 5 4 # -rdynamic is to generate debug info for dynamic symbols on debian-based 6 5 # systems (tested on Linux Mint) … … 34 33 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 35 34 36 VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_6437 CFLAGS_VULKAN = -std=c++17 -I$(VULKAN_SDK_PATH)/include -Wall -pedantic38 #LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan39 LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib -lvulkan -lSDL240 41 vulkangame: new-vulkan-game.cpp42 $(CC) $(CFLAGS_VULKAN) -o $@ $^ $(LIBFLAGS)43 44 35 clean: 45 36 rm -f newgame … … 47 38 rm -f mygame 48 39 rm -f demo 49 rm -f vulkangame
Note:
See TracChangeset
for help on using the changeset viewer.