You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if on linux, make sure you installed all of the necassary libraries
then go to the folder that you have the source at and type this into a file called Makefile cc = g++ src = #put cpp file names here (main.cpp, game.cpp,etc..) lib = -lSDL2 -lSDL2main -lSDL2_image (etc) out = -o cavestory all: $(src) [TAB] $(cc) $(src) $(out) $(lib)
then run (w/o the $)$ make
How do I compile this with g++?
The text was updated successfully, but these errors were encountered: