For the life of me, I can't get scons to link these SFML libraries. I believe I followed everything the scons website says to do regarding library linking, so I'm at a loss as to what to do:
import fnmatch
import os
#Setup environment
file_match = "*.cpp"
#Recursive Glob method to find all source files
matches = []
for root, dirnames, filenames in os.walk("src/"):
for filename in filenames:
if fnmatch.fnmatch(filename, file_match):
matches.append(os.path.join(root, filename))
#Compile the program
env = Environment();
env.Append(LIBS = ["sfml-graphics","sfml-window","sfml-system"]);
env.Append(LIBPATH = "/usr/local/lib");
env.Program(target = "Game", source = matches)
EDIT: This code works, apparently. It appears my computer just needed a couple days off to fix itself.