Changes in / [754cf5a:972aca1] in opengl-game


Ignore:
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r754cf5a r972aca1  
    1 vulkangame
    21newgame
    32pong
  • CrashLogger.cpp

    r754cf5a r972aca1  
    55#include <csignal>
    66#include <cstring>
     7#include <cstdint> // Check if this lets me remove any windows includes
    78
    89#include <fcntl.h>
     
    1415
    1516#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 
    2017   #include <windows.h>
    2118   #include <io.h>
     
    3633   #include <unistd.h>
    3734   #include <execinfo.h>
     35   #include <errno.h>
    3836   #include <cxxabi.h>
    39 
    40    // CHeck if these are needed in Linux
    41    //#include <errno.h>
    42    //#include <cstring>
     37   #include <cstring>
    4338
    4439   void abortHandler(int signum);
  • README.txt

    r754cf5a r972aca1  
    88(Old Linux instructions for compiling game.cpp)
    99-sudo apt-get install cmake xorg-dev  libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
    10 
    11 -Compile GLFW3 from source
    12  (cmake . && make && sudo make install)
     10-
     11--Compile GLFW3 from source
     12- (cmake . && make && sudo make install)
    1313
    1414Installation Instructions for OSX
     
    4444
    4545Open 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

    r754cf5a r972aca1  
    1 # CFLAGS are compiler flags and LIBFLAGS could be renamed LINKER_FLAGS
    21OS = $(shell uname)
    32CC = g++
    4 CFLAGS = -std=c++11 -Wall -pedantic -rdynamic
     3CFLAGS = -std=c++0x -Wall -pedantic -rdynamic
    54# -rdynamic is to generate debug info for dynamic symbols on debian-based
    65# systems (tested on Linux Mint)
     
    3433        $(CC) $^ $(DEP) $(CFLAGS) -o $@
    3534
    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 
    4435clean:
    4536        rm -f newgame
     
    4738        rm -f mygame
    4839        rm -f demo
    49         rm -f vulkangame
Note: See TracChangeset for help on using the changeset viewer.