Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac build requires 10.12 (Sierra) #935

Open
unknown-- opened this issue Jul 29, 2017 · 14 comments
Open

Mac build requires 10.12 (Sierra) #935

unknown-- opened this issue Jul 29, 2017 · 14 comments

Comments

@unknown--
Copy link

Reporting a bug? Please make sure you've given the following information - thanks!

Operating system and version:

OS X - 10.11.4

Is this for single player or multiplayer?

Both

Description of the bug (and if possible, steps to reproduce the bug):

Mac builds since January are 10.12 only. Can you please explain why and if it's possible for the user to manually change the version requirement.

@ensiform
Copy link
Member

@MazterQyou are you still hosting the builder? Wonder what would have changed here

@redsaurus @xycaleth

@MazterQyou
Copy link
Contributor

I'm still hosting the builder, but I'm not configuring how it builds. Cat is in charge of that

@ensiform
Copy link
Member

@deepy do you recall any configuration changes for mac builds recently?

@MazterQyou
Copy link
Contributor

@unknown-- how did you figure that Sierra is required? Can you provide crashlog or something?

@deepy
Copy link
Contributor

deepy commented Jul 29, 2017

As far as I know there's been no configuration changes in the Mac builds for a long time

@unknown--
Copy link
Author

@MazterQyou I get this message:
screen shot 2017-07-30 at 3 01 50 pm

@deepy
Copy link
Contributor

deepy commented Jul 30, 2017

deepy added a commit that referenced this issue Aug 11, 2017
@deepy
Copy link
Contributor

deepy commented Aug 11, 2017

@unknown-- could you please try https://builds.openjk.org/openjk-2017-08-11-a0828f06-osx.dmg and see if that works?

@unknown--
Copy link
Author

@deepy

I'm afraid it still gives the error.

@ensiform
Copy link
Member

@deepy did you force a fresh build with rerun cmake without cache?

@Klezstyle
Copy link

The problem with that 2017-08-11 build is the path of the LibSDL2 library:

This is the straightforward error:
_

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
  Referenced from: /Volumes/VOLUME/*/openjk_sp.x86_64.app/Contents/MacOS/openjk_sp.x86_64
  Reason: image not found

_

In macOS the SDL Library is:
"/Library/Frameworks/SDL2.framework"

@MazterQyou
Copy link
Contributor

Looks like CMake is building against Homebrew SDL2. I guess cmake args have to be changed to force build against system SDL2.framework.
Although afaik macOS doesn’t cone with SDL2 at all. So it should actually be bundled inside app and rpaths have to be set correctly upon packaging a .dmg.

@ensiform
Copy link
Member

Mind trying to rearrange that ? So it doesn't require homebrew? The current wiki and instructions seem to discuss requiring it.

@kencu
Copy link
Contributor

kencu commented Dec 16, 2017

I just built it on 10.6.8 without any trouble using MacPorts sudo port -v install openjk (also builds and runs on every system up to 10.13).

deathsythe47 pushed a commit to jkanewmod/NewJK that referenced this issue Aug 18, 2018
eternalcodes pushed a commit to eternalcodes/EternalJK that referenced this issue Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants