-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile for Linux #26
base: master
Are you sure you want to change the base?
Conversation
I like this, but do not have a sensible way to test it. What I will do is encourage people to examin this PR and use it as they see fit - so I wont close it down. |
I just compiled and tested the running programs, and they all run smoothly on Ubuntu 18.04. I have mint installed somewhere, so I can test that too. |
`Does not seem to work on my Linux Mint, any ideas? olcConsoleGameEngineSDL.h: In member function ‘bool olcSprite::Save(std::wstring)’: ` |
This is a Makefile to build the examples in this repository on GNU Linux. It has been tested on Ubuntu 18.04. Running make will create temporary cpp file that are modified versions of the the original cpp files. Main differences are using
olcConsoleGameEngineSDL.h
instead ofolcConsoleGameEngine.h
and substituting theVK_SHIFT
andVK_CONTROL
flags.You don't need to accept the pull request, I just wanted to let you know about it.
These are the programs that build and run at the moment:
OneLoneCoder_Asteroids
OneLoneCoder_Balls1
OneLoneCoder_ComandLineFPS_2
OneLoneCoder_Frogger
OneLoneCoder_GameOfLife
OneLoneCoder_Matrix
OneLoneCoder_Mazes
OneLoneCoder_OverEngineered
OneLoneCoder_PathFinding_AStar
OneLoneCoder_PerlinNoise
OneLoneCoder_PlatformGame1
OneLoneCoder_Pseudo3DPlanesMode7
OneLoneCoder_RetroArcadeRacer
OneLoneCoder_Splines1
OneLoneCoder_Splines2
OneLoneCoder_SpriteEditor
These are the ones that do not compile:
OneLoneCoder_AR_OpticFlow (missing escapi.h)
OneLoneCoder_Balls2 (missing function max)
OneLoneCoder_CaveDiver (imports Windows.h)
OneLoneCoder_CommandLineFPS (imports Windows.h)
OneLoneCoder_FlappyBird (imports Windows.h)
OneLoneCoder_LogitechG13Twitch (winsock2.h)
OneLoneCoder_LudumDare42 (missing function max)
OneLoneCoder_olcEngine3D_Part1-4 strange errors, haven't checked
OneLoneCoder_PanAndZoom (missing to_wstring)
OneLoneCoder_RacingLines (missing FillTriangle)
OneLoneCoder_Snake (imports Windows.h)
OneLoneCoder_Tetris (imports Windows.h)
OneLoneCoder_Webcam (missing escapi.h)
worms/OneLoneCoder_Worms1-3 (missing escapi.h)