Technical support > Mac

Game does not start at all

<< < (2/8) > >>

Destructavator:
Guys, we really do have people here who are more than willing to help, but those of us who work on the Mac version need more information - specifically, the exact error messages given (if any), and logs, so that the Mac guys here can find out exactly where the issue is.

Simply saying little more than "I download the game and try to run it but it doesn't work" doesn't really help us debug or find out exactly what is broken.

This is like having a car towed to an auto repair shop and telling the mechanic "My car doesn't work - I can't drive it, please fix it."  The mechanic needs to know what
 isn't working. (Does the engine make a strange noise?  Does the steering feel wrong?  Does it not change gears?  Do warning lights come on?)

In the same way, we need some info to work with to trace the issue.

Twenty-four:
Hi

I have no idea of codes and compiling and such stuff, but is it that you are searching? In any case, that was the message I got when I tried to start it (nothing else, no black screen or a movie which stops or something like that, just this error-report).
By the way: 2.3 worked on my computer, this game is just great and thanks to anyone who is trying to fix it and to all those who made this game!


Process:         ufo [592]
Path:            /Applications/UFOAI/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [112]

Date/Time:       2011-01-09 16:20:09.086 +0100
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6

Interval Since Last Report:          108310 sec
Crashes Since Last Report:           2
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      0917D68A-BE31-4C83-BE13-B13B7BFCCA88

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

and after that, a lot of stuff about my computer which seems to be of no interest to you...  ;)

joyboy:
Was about to post the exact same error message as Twenty-four did.

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

...I did!

In any case, keep up the good work!

Jon_dArc:
I had this same issue, but was able to semi-fix it (compiling from HEAD) by editing darwin.mk to remove -F/opt/local/Library/Frameworks from CFLAGS and LDFLAGS (lines 12 and 30) and add -I flags for the actual locations of the SDL framework headers under /Library/Frameworks; my guess is that it's being assumed that the SDL frameworks are being installed via macports, while mine are from the libdsl.org Mac installer.

I say semi-fix because it still doesn't work properly, possibly because my fix is incorrect (the app bundle built with make macinstaller is wrong about the locations of basically all of the frameworks it bundles and is thus effectively unlaunchable, while invoking the non-bundled binary from the command line launches but sits forever when the initial loading progress bar fills), but I've at least been able to make the error message in question disappear.

~J

ashb:
Assuming you copied the game to /Applications you need to do the following:.

- Go and download and mount/open the sdl 1.2 runtime dmg from http://www.libsdl.org/download-1.2.php
- Open a terminal and run the following:

install_name_tool -change /opt/local/Library/Frameworks/SDL_mixer.framework/Versions/A/SDL_mixer @executable_path/../Frameworks/SDL_mixer /Applications/UFOAI.app/Contents/MacOS/ufo
install_name_tool -change /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image /Applications/UFOAI.app/Contents/MacOS/ufo
cp -r /Volumes/SDL/SDL.framework /Applications/UFOAI.app/Contents/Frameworks/

then it should work

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version