Changeset 754cf5a in opengl-game
- Timestamp:
- Jun 30, 2019, 8:10:49 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- a8c958b
- Parents:
- 972aca1 (diff), 71876b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r972aca1 r754cf5a 1 vulkangame 1 2 newgame 2 3 pong -
CrashLogger.cpp
r972aca1 r754cf5a 5 5 #include <csignal> 6 6 #include <cstring> 7 #include <cstdint> // Check if this lets me remove any windows includes8 7 9 8 #include <fcntl.h> … … 15 14 16 15 #ifdef WINDOWS 16 // Check if this is necessary or lets me remove any windows includes 17 // also check if it's needed in Linux 18 #include <cstdint> 19 17 20 #include <windows.h> 18 21 #include <io.h> … … 33 36 #include <unistd.h> 34 37 #include <execinfo.h> 35 #include <errno.h>36 38 #include <cxxabi.h> 37 #include <cstring> 39 40 // CHeck if these are needed in Linux 41 //#include <errno.h> 42 //#include <cstring> 38 43 39 44 void abortHandler(int signum); -
README.txt
r972aca1 r754cf5a 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 Instructions 49 -------------------- 50 51 Linux: 52 53 Download the Vulkan SDK from ... 54 55 -Compile GLFW3 from source 56 (cmake . && make && sudo make install) 57 58 -sudo apt-get install libxcb1-dev xorg-dev libsdl2-dev libglm-dev -
makefile
r972aca1 r754cf5a 1 # CFLAGS are compiler flags and LIBFLAGS could be renamed LINKER_FLAGS 1 2 OS = $(shell uname) 2 3 CC = g++ 3 CFLAGS = -std=c++ 0x-Wall -pedantic -rdynamic4 CFLAGS = -std=c++11 -Wall -pedantic -rdynamic 4 5 # -rdynamic is to generate debug info for dynamic symbols on debian-based 5 6 # systems (tested on Linux Mint) … … 33 34 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 34 35 36 VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_64 37 CFLAGS_VULKAN = -std=c++17 -I$(VULKAN_SDK_PATH)/include -Wall -pedantic 38 #LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan 39 LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib -lvulkan -lSDL2 40 41 vulkangame: new-vulkan-game.cpp 42 $(CC) $(CFLAGS_VULKAN) -o $@ $^ $(LIBFLAGS) 43 35 44 clean: 36 45 rm -f newgame … … 38 47 rm -f mygame 39 48 rm -f demo 49 rm -f vulkangame
Note:
See TracChangeset
for help on using the changeset viewer.