Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cookme

Pages: [1]
1
Builds & Ports / Re: OSX port does not include libraries in bundle?!
« on: June 16, 2014, 08:54:39 am »
Hey guys! Here goes an updated and (hopefully) fixed build - https://www.mediafire.com/download/2fa4290aj1pxy1u/OpenXcom-20140616-1.zip

Changes:
I've ditched buggy .dylibs for more 'canon' Frameworks - this should help to remedy SDL-crashes. Unfortunately, there are no prebuilt frameworks for SDL_gfx and YAML-cpp around, so these have to be statically linked still. If this setup works without further problems - I'll leave it like that. If not - I'll have to recompile those 2 frameworks manually, but that might take some time.

Have it a go and tell me if it works for you!  ;)

works for me.

2
Builds & Ports / Re: OSX port does not include libraries in bundle?!
« on: June 16, 2014, 04:28:57 am »
It is me again.
I am able to launch new updated bundle ONLY after I replaces openxcom.app/content/frameworks/libSDL-1.2.0.dylib with libSDL-1.2.0.dylib from my computer.
So I think that libSDL-1.2.0.dylib bundled with new version of bundle is hard coded to other frameworks/dylibs form computer in tas compilated on.
Maybe this advice can help anyone.


Same here. It worked when I replaced libSDL-1.2.0.dylib using one of the same version from another game's bundled framework. I have not tested it using an older version. I then tested with another libSDL-1.2.0.dylib that used @rpath and it also worked. Not sure if the link path is the core issue, but here it is:

Code: [Select]
> otool -L ...*snip*.../UFO\ Enemy\ Unknown/OpenXcom.app/Contents/Frameworks/libSDL-1.2.0.dylib

...*snip*.../UFO Enemy Unknown/OpenXcom.app/Contents/Frameworks/libSDL-1.2.0.dylib:
@loader_path/../Frameworks/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 20.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 157.0.0)
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 492.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.11.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1265.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 59.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1056.0.0)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)


> otool -L ...*snip*.../DROD\ GatEB.app/Contents/Frameworks/libSDL-1.2.0.dylib

...*snip*.../DROD GatEB.app/Contents/Frameworks/libSDL-1.2.0.dylib:
/usr/local/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 17.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 41.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 153.0.0)
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 53.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 635.19.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 833.24.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1138.32.0)


> otool -L ...*snip*.../FTL.app/Contents/Frameworks/libSDL-1.2.0.dylib

...*snip*.../FTL.app/Contents/Frameworks/libSDL-1.2.0.dylib:
@rpath/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 17.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 41.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 153.0.0)
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1094.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 53.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 635.21.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 833.25.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1138.47.0)


I have xCode 5.1.1 & command line tools installed.

-----------------------------

Edit: I just realized that I don't have a /usr/local/lib/libSDL-1.2.0.dylib... so for the 2nd test (DROD GatEB.app/Contents/Frameworks/libSDL-1.2.0.dylib) it was probably a fallback?

Also, forgot to mention, I am on 10.8.5.

Pages: [1]