Page 1 of 4

macOS Build of Version 2017.2?

Posted: Sat 15. Apr 2017, 22:12
by philiplb
Hi,

I would like to give this game a try in the latest version but I'm running macOS 10.12.4 at the moment. Any chance to provide a download of Version 2017.2 for macOS? :)

Re: macOS Build of Version 2017.2?

Posted: Sun 16. Apr 2017, 16:23
by philiplb
Ou, just saw that there already is a ticket and project about this. And an hint on the download page.
I'll give building a dmg of commit f2552848f4e9c23944b1d1c964e7f5166f0e41a8 a shot and report back.

Re: macOS Build of Version 2017.2?

Posted: Sun 16. Apr 2017, 16:44
by LinuxDonald
That would be very nice if you could build an dmg file for us :) We dont have any mac maintainer.

Re: macOS Build of Version 2017.2?

Posted: Sun 16. Apr 2017, 16:51
by philiplb
I'm currently following these instructions:
http://www.unknown-horizons.org/download/sources/s-osx/

They seem a bit outdated?

pip install --allow-external Pyrex Pyrex
(--allow-unverified doesn't exist anymore?)
No distributions at all found for Pyrex

So I continued without Pyrex, maybe it isn't important. :)

For fifechan:
cmake . doesn't work, it fails with a "#Please build outside of the source tree!".
It printed the needed command, it is: mkdir _build; cd _build; cmake ..

But building the fifeengine fails for me now. :(
scons -c && scons
->
scons: *** No SConstruct file found.
File "/usr/local/Cellar/scons/2.4.1/libexec/scons-local/SCons/Script/Main.py", line 923, in _main

Any hint would be nice here. :)

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 01:24
by LinuxDonald
Yes mac build guide is really outdated. And we work on an new Homepage and have todo for docs: https://github.com/fifengine/fifengine- ... n-mac.adoc

For last stable releases:

Code: Select all

brew update && brew install swig sdl2 sdl2_image sdl2_ttf freetype openal-soft tinyxml glew libvorbis python2

fifechan:
mkdir build_fifechan; cd build_fifechan; cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install

fife:
mkdir build; cd build; cmake  ..
make
sudo make install

pip:
pip install PyYAML Pillow polib
For fife, fifechan and UH git versions:

Code: Select all

brew update && brew install swig sdl2 sdl2_image sdl2_ttf freetype openal-soft tinyxml glew libvorbis python3

fifechan:
mkdir build_fifechan; cd build_fifechan; cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install

fife:
mkdir build; cd build; cmake -DPYTHON_EXECUTABLE=/usr/local/bin/python3 ..
make
sudo make install

pip:
pip3 install PyYAML Pillow polib future

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 10:06
by philiplb
Thanks. :)
That worked better.
Up to the point I try to start UH (being in the git repo folder of it):
python ./run_uh.py
Failed to find and/or load FIFE.
I think I have to install a specific version of FIFE and not the latest commit on master?

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 10:13
by LinuxDonald
Have you compiled fife git and fifechan git version? They are needed for UH git.

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 12:07
by reaxion
philiplb: Let me know how you get on with your build.

I'd be happy to work with you on getting the Mac version of the game working properly, so please let me know if that's something you're interested in working on, or whether you'd like to help test builds if you're not able to work on the code side of things.

I'm on El Capitan and Sierra.

Thanks

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 16:10
by LinuxDonald
Hey guys i have problems to get fifengine to build on travis:

https://travis-ci.org/fifengine/fifengi ... /222834100

What are the python3 paths?

Python3 Lib dir and Python3 include dir is what i need.

Re: macOS Build of Version 2017.2?

Posted: Mon 17. Apr 2017, 16:51
by reaxion
Python 3.6 lib path:

Code: Select all

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
Python 3.6 include path:

Code: Select all

/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m