Closed jasonwatkinspdx closed 4 years ago
I just cloned and built on OS X (sierra) without any issue. Not sure if it makes a difference or not but I had just done the brew install scons sdl2 sdl2_image sdl2_ttf
step and then immediately scons
. The versions it installed are on this gist. The scons
build output there is totally clean and I didn't have to touch the Sconsfile
.
I have the same issue with Jason. After I follow Jason's method, I also encountered that the library
No issues with macOS Sierra and homebrew here.
I can't reproduce this. First thing I can think of: do you have the Xcode CLI tools installed?
I got the same problem and fixed it with the above flags. For those with no issues, it could be an OS version thing (I'm running El Cap, not Sierra).
Xcode CLI is installed in my system.
I'll leave this open for now. I'll try to test in on other Mac machines and see if I can reproduce it.
I also don't have a problem building latest version on Sierra 10.12.5.
I'm gonna assume this works now. Let me know if it doesn't.
Building on OSX for me needed some extra flags in the SConstruct.
Error:
I get a successful build with:
But it also has a bunch of build spam like:
clang: warning: argument unused during compilation: '-L/usr/local/lib'
for every unit that doesn't need SDL. I'm an ignoramus when it comes to scons so posting an issue vs a pull request in the hope someone else knows how to resolve that trivially.