. - .
 
Hively Tracker
News ::  About ::  Forum ::  Download ::  Tunes ::  Screenshots ::  Competition ::  Links
 
. - .
. - .
 
User 
Password 
Create new account
 
. - .

. - .
 
Cool Sites
 
. - .

. - .
 
Link to us
 
. - .

. - .
  Forums > Hively Tracker Support > Hively1.8 Mac10.6.8 bug

Page: 1

Hively1.8 Mac10.6.8 bug

Samurai_Crow
Posted: 2014-10-27 16:14:57
Occasional visitor
Posts: 16

Member since:
2007-01-16 00:52:06
I discovered that on my Snow Leopard Mac, the bundle fails to open due to the SDL framework failing to load. Looking at the executable with the OTool command reveals the culprit:

Sams-Mac-Mini:MacOS samuraicrow$ otool -L Hivelytracker
 
Hivelytracker:
/System/Library/Frameworks/Cocoa.framework/Versions/A/C
ocoa (compatibility version 1.0.0, current version
 20.0.0)
@executable_path/../Frameworks/SDL_image.framework/Vers
ions/A/SDL_image (compatibility version 1.0.0, current
 version 9.4.0)
@executable_path/../Frameworks/SDL_ttf.framework/Versio
ns/A/SDL_ttf (compatibility version 1.0.0, current version
 11.1.0)
@rpath/SDL.framework/Versions/A/SDL (compatibility
 version 1.0.0, current version 12.4.0)
/System/Library/Frameworks/Foundation.framework/Version
s/C/Foundation (compatibility version 300.0.0, current
 version 1056.16.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0,
 current version 228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version
 1.0.0, current version 1197.1.1)
/System/Library/Frameworks/AppKit.framework/Versions/C/
AppKit (compatibility version 45.0.0, current version
 1265.21.0)
/System/Library/Frameworks/ApplicationServices.framewor
k/Versions/A/ApplicationServices (compatibility version
 1.0.0, current version 48.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Ver
sions/A/CoreFoundation (compatibility version 150.0.0,
 current version 855.17.0)
Sams-Mac-Mini:MacOS samuraicrow$ 


Notice how the line that loads SDL uses @rpath/ instead of @executable_path/../Frameworks/? It looks like Deltafire forgot that @rpath wasn't introduced until OSX 10.7+. I'll see if I can use OTool to fix the problem on my end without the sourcecode.
Samurai_Crow
Posted: 2014-10-27 17:07:27
Occasional visitor
Posts: 16

Member since:
2007-01-16 00:52:06
Ok, I couldn't find the OTool option to edit the code in place but checking out the read-only source from Google Code and running the project in XCode 4.1 worked out of the box. Shall I prepare another DMG file with the fixed code?
Samurai_Crow
Posted: 2014-10-27 17:13:09
Occasional visitor
Posts: 16

Member since:
2007-01-16 00:52:06
Hmmm... My executable is twice the size of the original. It must still have debugging code enabled.
Xeron
Posted: 2014-10-31 22:33:51
Supreme Being
Posts: 435

Member since:
2006-12-13 11:34:00
Nice work. Feel free to email a .dmg to pete _at_ petergordon /dot/ org dot uk and i'll stick it up on the download page :-)
AHX forever!
Xeron
Posted: 2014-11-28 23:43:35
Supreme Being
Posts: 435

Member since:
2006-12-13 11:34:00
and its up :)

(sorry for the delay)

AHX forever!
Samurai_Crow
Posted: 2014-12-24 17:05:35
Occasional visitor
Posts: 16

Member since:
2007-01-16 00:52:06
No problem!

Page: 1
 
. - .