Can't compile on macOS
Tue, 2018-01-09 00:22
I'm trying to compile this game on macOS.
I already trying installing SDL2 using Homebrew or downloading from official site and put the framework on /Library/Frameworks directory, but in both case I receive the same error message:
Quote:
➜ hedgewars-src-0.9.23 make
[ 14%] Built target lua
[ 14%] Built target physfs
[ 14%] Building C object misc/libphyslayer/CMakeFiles/physlayer.dir/physfsrwops.c.o
In file included from /Users/macabeus/Desktop/hedgewars-src-0.9.23/misc/libphyslayer/physfsrwops.c:25:
/Users/macabeus/Desktop/hedgewars-src-0.9.23/misc/libphyslayer/physfsrwops.h:28:10: fatal error: 'SDL.h' file not found
#include "SDL.h"
^~~~~~~
1 error generated.
make[2]: *** [misc/libphyslayer/CMakeFiles/physlayer.dir/physfsrwops.c.o] Error 1
make[1]: *** [misc/libphyslayer/CMakeFiles/physlayer.dir/all] Error 2
make: *** [all] Error 2
How to fix it?
So, I'm not at all familiar w/ OSX (although that looks like a missing dependency to me).
But, I'd like to note a couple of things.
① https://hg.hedgewars.org/hedgewars/shortlog/0.9.23 koda has 2 recent fixes on the 0.9.23 branch for build issues
② https://hedgewars.org/download.html koda packaged OSX today - should have a torrent as well soon I hope
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
If anyone has a compile that is not dependent on OS X 10.12, that would be fantastic. I am running 10.11 but am not intending to upgrade to Apple's Sierra "We are all iPhones, upgrade every 6 month please" stuff anytime soon – contrary to what that company seems to assume about it's today's customers, there are actually people who are not part of the Smartphone Victim Cloud-Click-Colour-Addicted Masses and actually use OS X for work (and Hedgewars).
If I find the time to compile it myself then I would post a link, of course. Though that might also take some time ...
| BRW Touchy Barrels :: Snowstorm — get a frosty burial | What is Jugger? Video
But you are still a victim of Apple
My stuff
Someone added a OSX version in Download page. Nice! Thank you! =]
When I was trying to compile in my mac, I wrote some annotations. Maybe is good added it in wiki page:
The option NOAUTOUPDATE is useful to simplify, and the wiki page doesn't say this command.
Disputable that this would be a bad thing up to 10.11 (it works extremely fine in a productive environment still, even on 2012 Mac Pros), yet with 10.12 it would feel like joining the brainless iPhone victim masses ... indeed.
I mean, I could fetch an axe every time Win10 comes brawling in with their oh-so-important, ooops we just have installed some random software update, sorry your settings are all reset mate, not our working time, get lost ...
| BRW Touchy Barrels :: Snowstorm — get a frosty burial | What is Jugger? Video
Windows 7 was the last acceptable MS OS and I migrated to GNU/Linux before they ruined Windows 7 with telemetry.
My stuff
macabeus, any idea whether the compile would also work for 10.11? I guess it should?
| BRW Touchy Barrels :: Snowstorm — get a frosty burial | What is Jugger? Video