project-navigation
Personal tools

Author Topic: 2.4 Stable crashes on start up  (Read 13942 times)

Offline LucianoLanna

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: 2.4 Stable crashes on start up - Beggining of a Solution.
« Reply #15 on: July 12, 2012, 12:09:13 am »
SMART PEOPLE out there.
Fiirst, the usual, the game is A f mazing, well done. I love it.

On the possible fix, while researching for possiblities outside the box, I found the reason ( supposedly) it doesn't work on mine.
Its just a command, that works on 10.6 but not on the older versions.

I found this solution, but it requires someone who understands it. I don't.

---------------------------------------------------------
How to fix a specific OS X dynamic loader problem (dyld - 0×80000022)
The problem: You compile your C code on a OS X 10.6 machine like this:
gcc-4.2 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk ...

When trying to run the executable on a OS X 10.5 machine, you may get this error:
Dyld Error Message: unknown required load command 0x80000022

The reason is that OS X 10.5 doesn’t understand the load command  'LC_DYLD_INFO_ONLY' (0×80000022)
that was used by the OS X 10.6 linker.

Solution: Make sure you are using a deployment target by setting the environment variable just before your link command:
export MACOSX_DEPLOYMENT_TARGET=10.5
(or   setenv MACOSX_DEPLOYMENT_TARGET=10.5)
You can always check the load commands of the executable like this:
(without using deployment target)
otool -l binary

Load command 4
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 0
rebase_size 0
bind_off 462848
bind_size 1320
weak_bind_off 0
weak_bind_size 0
lazy_bind_off 464168
lazy_bind_size 2624
export_off 466792
export_size 4568

(using deployment target)
otool -l binary

Load command 4
cmd LC_DYLD_INFO
cmdsize 48
rebase_off 0
rebase_size 0
bind_off 466944
bind_size 1400
weak_bind_off 0
weak_bind_size 0
lazy_bind_off 468344
lazy_bind_size 2656
export_off 471000
export_size 4568

Offline fetterkey

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #16 on: July 22, 2012, 09:25:22 pm »
I run 10.6.8 and I'm getting the same crash on startup.

Offline leftishut

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #17 on: July 22, 2012, 11:06:31 pm »
I really don't think it's going to be on mac any more.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #18 on: July 22, 2012, 11:18:14 pm »
I really don't think it's going to be on mac any more.

Hmm?

-geever

Offline leftishut

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #19 on: July 23, 2012, 06:15:16 pm »
 A whole release went out without a mac playable version. This one has been out for a bit without one yet. Non mac versions are definitely the priority. It makes sense mac have a smaller market and have never been gaming machines. This game is being taken on at the expense and hard work of developers no doubt hard pressed for time, and the mac version is (from what I have heard) narrowed even further down to one developer. I don't image it's due to a lack of want or will, but a lot of work. But I wouldn't be surprised if mac is finally officially dropped.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #20 on: July 23, 2012, 06:28:14 pm »
I'm sure it's frustrating for Mac users, but I think you've got it backwards. 2.5-dev seems to be the most stable the game has been for Mac in several years. It's still far from stable, apparently, but it's been a pattern of improvement rather than regression.

Until we have an experienced programmer dedicated to keeping our game stable and running on Mac, support for the platform is likely to be patchy and reactive. But that doesn't mean it will ever be "dropped". I think everyone on the dev team would oppose any design decision that would close the door on future support for Mac. We're pretty committed to open-source, cross-platform development.

Offline scube

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: 2.4 Stable crashes on start up
« Reply #21 on: July 25, 2012, 05:39:52 pm »
Thanks for the update concerning the mac support. Great to hear taht you won't let it die.

Is there any chance to download the 2.5-dev somewhere. I'm not really into git... and so it's nearly impossible for me to compile it on my own.

Thanks anyway - great game!

Nokim

  • Guest
Re: 2.4 Stable crashes on start up
« Reply #22 on: July 25, 2012, 07:10:30 pm »
Is there any chance to download the 2.5-dev somewhere. I'm not really into git... and so it's nearly impossible for me to compile it on my own.
Compiling on your own is not so hard as it looks. Just try it. I did it just by following wiki. The only tricky thing for me was figuring out exact names of packages with required libs (some of them is different on Gentoo). And you should download not only source but game data too (instructions is in wiki).

As i understand - absence of mac version caused solely by absence of maintainer with Mac OS on his PC. :)