Author Topic: Request for OSX build  (Read 15061 times)

Offline ferdibinger

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Request for OSX build
« on: May 07, 2013, 04:09:10 pm »
Hi!

I'm very exited about the 0.9 version.
Could somebody please provide an OSX build of the amazing new version?

I tried to build myself but failed to install homebrew, which seems to require the
xcode devtools. AFAIU he latter is not provided as stand-alone DL by Apple anymore but only as part of the full xcode package. For several reasons, unfortunately  I can not install / run xcode.
Anyway, I am not a OSX / C developer and not familiar with building on OSX.

Is there already somebody as the "osx maintainer", as mentioned in the download section?

Best regards and thanks for all the effort you guys expend to get this great recode alive!
Ferdi

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Request for OSX build
« Reply #1 on: May 07, 2013, 06:52:29 pm »
antigluten was able to successfully build for OSX, hopefully he'll resurface.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Request for OSX build
« Reply #2 on: May 07, 2013, 06:54:51 pm »
I've also paged marabus since he's usually our regular OSX maintainer.

Offline ferdibinger

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Request for OSX build
« Reply #3 on: May 08, 2013, 11:32:11 am »
thanks!

Offline grrussel

  • Captain
  • ***
  • Posts: 72
    • View Profile
Re: Request for OSX build
« Reply #4 on: May 08, 2013, 10:13:21 pm »
Git builds for OSX should now be appearing automatically at https://bitbucket.org/grrussel/openxcomosx/overview (fingers crossed)
This is a slightly patched version to get the build to work (see issue #465 on github)

Offline ferdibinger

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Request for OSX build
« Reply #5 on: May 09, 2013, 04:13:24 pm »
Thankks grrussel.
I downloaded the OSX builds (the big zip containing several versions, right?) and put the original xcom stuff in the data folder.

I also managed to install the dev tools for xcode and then installed homebrew
and the formlas as described on
https://bitbucket.org/grrussel/openxcomosx/overview

when trying to run the binary it tells
dyld: Library not loaded: /usr/local/lib/libSDL_image-1.2.0.dylib
  Referenced from: /Users/<user>/Desktop/<folder>/grrussel-openxcomosx-2cd2c2574d7d/openxcom_2013-05-08_21-04-00/openxcom_2013-05-08_21-04-00/bin/./openxcom
  Reason: image not found
Trace/BPT trap: 5

looks like something is wrong with my SDL installation, since there is no file
/usr/local/lib/libSDL_image-1.2.0.dylib
but there are symlinks to other SDL-lib, like libSDL_gfx.dylib, libSDL_mixer.dylib and
libSDL-1.2.0.dylib

any help on this appreciated :)

Offline ferdibinger

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Request for OSX build
« Reply #6 on: May 09, 2013, 05:17:26 pm »
yeah, got it fixed!
after googling with no result I started to use my brain and finally had the awesome idea to just install the missing lib. clever me! ;)

brew install sdl_image did it :)

can't wait to start playing!

anyway, for v0.4.5 there was a one-file-solution (.app?) that didn't require to install external libs but just the original game data.
is there a chance of getting such for the current / future releases?


Offline grrussel

  • Captain
  • ***
  • Posts: 72
    • View Profile
Re: Request for OSX build
« Reply #7 on: May 09, 2013, 09:09:38 pm »
The .app OSX application build is a totally different build system, which builds its dependent libraries (SDL,YAML,etc) as OSX frameworks. I don't know how to do that :-|

If the .app build system is resurrected and described in sufficient detail, I can certainly add it to the auto-builder

In the future (1.0? 0.9.1? when OSX build fixes are committed into git) I can look into resurrecting the homebrew formula so that openxcom can be installed on OSX merely by

    brew install openxcom


Offline freeaks

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: Request for OSX build
« Reply #8 on: May 11, 2013, 05:29:47 pm »
@grrussel

wiki instructions for compiling openxcom on osx seems a bit out of date,
the patch did not succed and got compilation errors.
with a bit of digging i could find your builds (they are not listed on the front page atm)
and i can report it works well on osx 10.8.3  :)
thanks  !


Offline luciderous

  • Colonel
  • ****
  • Posts: 108
  • There is no spoon...
    • View Profile
Re: Request for OSX build
« Reply #9 on: May 14, 2013, 08:29:02 am »
My Xcode build is finally out too - you can try it if you like. It should work, I hope  :)

Offline ferdibinger

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Request for OSX build
« Reply #10 on: May 14, 2013, 12:17:58 pm »
Thanks for the build, marabus!

Offline freeaks

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: Request for OSX build
« Reply #11 on: May 14, 2013, 02:32:15 pm »
@grrussel
i have to report a little problem,
i have select resolution 1440x900 (recommended resolution for mbpr)
and each time i quit and relanch the game, the resolution is all wrong, i can barely click on "quit",
let alone trying to switch resolution from within the game, because my mouse cannot go as far as clicking the "ok" button in options. (resolution problem prevent me to do so)
i have to go and manually edit the options.cfg file each time to switch fullscreen to false,
to finally be able to correct resolution and start playing.
other than that no problem so far. i'm enjoying all the added options and bugfixes, i've been playing for a few day and it's really cool.

@marabus
where can i find your build?
is it "app-iffied" ?


Offline luciderous

  • Colonel
  • ****
  • Posts: 108
  • There is no spoon...
    • View Profile
Re: Request for OSX build
« Reply #12 on: May 14, 2013, 03:57:59 pm »
Quote
where can i find your build?
is it "app-iffied" ?

https://openxcom.org/index.php/downloads/
Yes. This is a full-featured OSX app bundle. Just put your data files inside and enjoy :)

Offline boozedog

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Request for OSX build
« Reply #13 on: April 07, 2014, 11:06:56 pm »
Anybody else having trouble with the grrussel binaries?

I'm getting Segmentation fault: 11 when I try to run it ...

I'm on Mac OS X 10.9.2 .