calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
169 stars 41 forks source link

Fix the scons build on macOS High Sierra #193

Closed retropipes closed 5 years ago

retropipes commented 6 years ago

This makes the project compile on macOS High Sierra (10.13), by doing the following:

retropipes commented 6 years ago

For some reason the build fails with this error, but it's not fatal. Restarting the build once this occurs makes it finish and succeed. Any ideas are welcome.

CelticMinstrel commented 6 years ago

Whoa, lots of stuff in here.

I'll try it and see if it works for me as well, though it's probably not a blocker if it doesn't since I use Xcode instead.

retropipes commented 6 years ago

Yeah, the last 20 commits probably should have been squashed together, but... that's because I didn't know what I was doing XD

CelticMinstrel commented 6 years ago

Sorry this is taking so long; I don't have the time during the week to dedicate to testing this, and all sorts of things can come up on weekends. For example, it's not too likely I'll get it done this weekend, because it's going to be really hot which really interferes with my ability to do programming stuff.

I will look at this eventually though, so please just be patient.

retropipes commented 6 years ago

It's OK - I'm in a time crunch myself, so I completely understand. (Quite honestly, I forgot this was still outstanding.)

CelticMinstrel commented 6 years ago

Well, unsurprisingly it doesn't work on my computer - the fix dylibs stage has a lot of "file not found" errors. I'll fiddle with it a bit and see if I can figure out the problem.

CelticMinstrel commented 6 years ago

Looking at it, I see basically two issues:

If you can find a way to deal with these, let me know. If not, I'll probably continue to fiddle with it and figure something else.

Oh, and there might be one other possible issue - I think the dylibs fixing script might also need to support using SFML as frameworks instead of dylibs, since if I recall correctly my Xcode project uses the same script. This only goes for that script, not scons in general, and only if my recollection is accurate.

retropipes commented 6 years ago

Yes, that's the biggest outstanding issue left. The -mt thing for Boost is easy to deal with. The version variance is harder, but still solvable... I think. I'll have to investigate what's needed to get the Xcode build system up to speed with the SCons changes in a separate PR... but that's for later. Right now, what matters is getting the library handling improved and making the build not fail so Travis CI is happy.

CelticMinstrel commented 6 years ago

Sure, but my inability to build it with Xcode is not great.

retropipes commented 5 years ago

Closing this as Mojave makes fixing the issues that remain no longer possible.

CelticMinstrel commented 5 years ago

Not sure what that means, but okay?

retropipes commented 5 years ago

It means I'm both unwilling and unable to move this to the finish line.