OpenXcom Forum

Contributions => Builds & Ports => Topic started by: darklord42 on June 13, 2014, 09:49:37 pm

Title: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 13, 2014, 09:49:37 pm
I noticed that the current osx bundle does not include necessary libraries inside the app bundle.  This really isn't ideal, as I'm sure you know.  For starters, as I mentioned in another thread, I, like a few others, am already slaved to macports (or someone could be using fink). If you can't link it to standard framework libraries, then might I suggest this very handy tool I use in my xboard work.

https://github.com/auriamg/macdylibbundler/

It checks the linked binaries of the app, copies them from wherever on your system to a specified folder in the bundle, and relinks them to to the binary for you.   It's really handy and I can't recommend it enough!
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 14, 2014, 09:06:28 pm
I noticed that the current osx bundle does not include necessary libraries inside the app bundle.  This really isn't ideal, as I'm sure you know.  For starters, as I mentioned in another thread, I, like a few others, am already slaved to macports (or someone could be using fink). If you can't link it to standard framework libraries, then might I suggest this very handy tool I use in my xboard work.
Yes, there are no dynamic libraries/frameworks within the bundle. Nor are they needed - the binary is statically linked with all the dependencies. So it doesn't matter whether you use macports or fink or whatever - nothing is loaded dynamically at startup.
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 14, 2014, 11:53:06 pm
Really? I get this when I try to open the current build.

Quote
$ /Users/me/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom ; exit;
dyld: Library not loaded: /usr/local/lib/libSDL_image-1.2.0.dylib
  Referenced from: /Users/me/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
  Reason: image not found
Trace/BPT trap: 5
logout

That must be a slight on your part.
---
I guess I was confused by this:
https://bitbucket.org/grrussel/openxcomosx
in the nightly builds, which were current at the time of posting.

I suppose you can statically link the libraries, but that is hardly common practice.  Not to mention more work.  I'm not sure, but would it interfere with licensing? as the library isn't represented, despite being used.  I believe SDL to be pretty liberal with their license, but still.
Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 15, 2014, 08:18:38 am
I'm not sure if this is the right thread, but it's the closest one I can find. I had no problems installing build 0.9. I really want to play 1.0 but I can't get the game to even launch. I get copy the data folders part, but I'm getting an error when I launch the game. I'm running on OSX 10.9, what do I do? This is beyond my comprehension.

Date/Time:       2014-06-15 01:08:48.259 -0400
OS Version:      Mac OS X 10.9 (13A603)
Report Version:  11

Crashed Thread:  0

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

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/lib/libSDL_image-1.2.0.dylib
  Referenced from: /Users/USER/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
  Reason: image not found

Binary Images:
    0x7fff6ee5d000 -     0x7fff6ee90817  dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
    0x7fff8ced3000 -     0x7fff8ced3fff  com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 15, 2014, 10:00:29 am
I am looking into the matter right now.
There is a temporary solution, however, if you want to play the game right away. Install Homebrew - https://brew.sh/, and afterwards run the following command in your terminal:
Code: [Select]
$ brew install yaml-cpp sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis
Anyway, I'll post in this thread when the fixed build is ready. Sorry for inconvenience.
Title: Re: OSX port does not include libraries in bundle?!
Post by: MrK on June 15, 2014, 02:26:38 pm
Hello I have same problim on OSX 10.8.5. Sme error.
I use macports to get sdl but it didnt't work, I try to cope libsdl... to usr/local/lib no effect.
I don't want to install brew because it can interfere with macports6 can you give me an advice how to mac openxcom see dyld?
Thank you.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 15, 2014, 02:51:52 pm
The fixed build is ready, you can get it here - https://www.mediafire.com/download/cezhbh7ba46596c/OpenXcom-1.0.dmg
Or you can wait until SupSuper updates the official Downloads section.
Title: Re: OSX port does not include libraries in bundle?!
Post by: MrK on June 15, 2014, 02:58:29 pm
Updated bundle doesn't work

Process:         OpenXcom [2257]
Path:            /Applications/OpenXcom.app/Contents/MacOS/OpenXcom
Identifier:      SupSuper.OpenXcom
Version:         1.0 (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [234]
User ID:         502

Date/Time:       2014-06-15 15:56:58.337 +0400
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          13094398 sec
Crashes Since Last Report:           73
Per-App Crashes Since Last Report:   2
Anonymous UUID:                     

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

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

Dyld Error Message:
  Symbol not found: ___strlcpy_chk
  Referenced from: /Applications/OpenXcom.app/Contents/MacOS/../Frameworks/libSDL-1.2.0.dylib
  Expected in: /usr/lib/libSystem.B.dylib

Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 15, 2014, 03:01:21 pm
I suppose you can statically link the libraries, but that is hardly common practice.  Not to mention more work.  I'm not sure, but would it interfere with licensing? as the library isn't represented, despite being used.  I believe SDL to be pretty liberal with their license, but still.
We can argue about 'common practice' notion and the rationale for different options here, but it is irrelevant right now. I prefer static builds because they help to avoid dependency hell in portable apps. Yet it turned out, that Xcode made its own decision despite my preference, and went with dynamic linking instead. Both ways on Mac have their caveats, but to fix the issue ASAP, I adapted back to dynamic linking for now.
As for the licensing issue - your assumption is wrong. Static linking does not interfere with licensing requirements unless you are linking to strong copyleft code and fail to provide the source for your app under the same copyleft terms. Since OpenXcom project is under GPL - this is a non-issue in our case.
Title: Re: OSX port does not include libraries in bundle?!
Post by: MrK on June 15, 2014, 03:19:34 pm
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.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 15, 2014, 03:27:42 pm
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.
It's very odd, because libSystem.B.dylib library should exist on any functional OS X install. Perhaps your fiddling with Macports (e.g. installing/uninstalling different packages) somehow botched the original system.
In any case, I'd need some other people's feedbacks on the new build as well, to see if this is a general issue, or something specific to your environment.
Title: Re: OSX port does not include libraries in bundle?!
Post by: MrK on June 15, 2014, 03:31:44 pm
It's very odd, because libSystem.B.dylib library should exist on any functional OS X install. Perhaps your fiddling with Macports (e.g. installing/uninstalling different packages) somehow botched the original system.
In any case, I'd need some other people's feedbacks on the new build as well, to see if this is a general issue, or something specific to your environment.
Thank you for your support.
libSystem.B.dylib is present on my system in usr/lib
Lets hope this problem is only on my system ;)
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 15, 2014, 04:15:49 pm
I say "Common Practice" because the number of OSX apps I have seen that have done that are quite few, in fact never.

The libSystem.B.dylib error isn't just his system. (of course it's on his system or OSX wouldn't boot) I've seen it before.  The problem is the way the libraries are linked to each other.  I know it doesn't look like it makes sense as the library is suppose to be where it's looking, but there you go.  Welcome to Dependency Hell.

Seriously give that program a try.  It's one command in the commandline and you're done.  No mucking about with dependency hell, that's the whole point after all. This is far more problematic then it's worth, and there is in the end there is no difference if it's statically linked or not given apple's app layout.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 15, 2014, 05:10:55 pm
The libSystem.B.dylib error isn't just his system. (of course it's on his system or OSX wouldn't boot) I've seen it before.
Have you tried the newest build I suggested above? I'm curious to get as much feedback from different sources as I can.

Seriously give that program a try.  It's one command in the commandline and you're done.  No mucking about with dependency hell, that's the whole point after all. This is far more problematic then it's worth, and there is in the end there is no difference if it's statically linked or not given apple's app layout.
I'll have a look at it.
Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 15, 2014, 05:12:24 pm
Thanks for the quick support on the build. But the updated build didn't work for me and gave me a different error. I can't find libSDL on my computer to replace the one bundled as  MrK suggested. The error message was very long, let me know if you want me to e-mail you the whole error. Anyways, here's the error for me:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
/Users/mchin617/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x00000001024ca6e4 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6cb89c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6cb89dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6cb86a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6cb868f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6cb7a1da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff6cb7d560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6cb7927b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6cb7905e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x00000001024ca6e0  rcx: 0x00007fff5d9acd70  rdx: 0x00007fff5d9acd10
  rdi: 0x0000000000000001  rsi: 0x00007fff5d9acd00  rbp: 0x00007fff5d9ab2f0  rsp: 0x00007fff5d9ab2f0
   r8: 0x00007fff6cbac178   r9: 0x00007fff5d9ab200  r10: 0x00007fff92ac8543  r11: 0x00000001025aae21
  r12: 0x000000000000001e  r13: 0x00007fff6cbac0b0  r14: 0x00007fff6cbb2ed8  r15: 0x0000000102597578
  rip: 0x00000001024ca6e4  rfl: 0x0000000000010246  cr2: 0x00000001024ca6e0
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6

Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 15, 2014, 05:16:04 pm
Hello,

Mac build also not working for me.

Process:         OpenXcom [6963]
Path:            ...
Identifier:      SupSuper.OpenXcom
Version:         1.0 (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [270]
Responsible:     OpenXcom [6963]

Date/Time:       2014-06-15 16:09:30.821 +0200
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x00000001030bb6e4 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6b3f3c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6b3f3dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6b3f0a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6b3f08f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6b3e41da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff6b3e7560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6b3e327b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6b3e305e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x00000001030bb6e0  rcx: 0x00007fff5cdbbd20  rdx: 0x00007fff5cdbbca0
  rdi: 0x0000000000000002  rsi: 0x00007fff5cdbbc88  rbp: 0x00007fff5cdba270  rsp: 0x00007fff5cdba270
   r8: 0x00007fff6b416178   r9: 0x00007fff5cdba100  r10: 0x00007fff99e6bfa7  r11: 0x0000000000073ba1
  r12: 0x000000000000001e  r13: 0x00007fff6b4160b0  r14: 0x00007fff6b41ced0  r15: 0x0000000103188578
  rip: 0x00000001030bb6e4  rfl: 0x0000000000010246  cr2: 0x00000001030bb6e0
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6


hope it helps, and BTW guys, THX for the great work you're doing!!!
Title: Re: OSX port does not include libraries in bundle?!
Post by: Tony Soprano on June 15, 2014, 05:22:01 pm
Thank you very much for looking into this! I tried both, the homebrew solution and your build, but OpenXcom always crashes on startup with this error:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
/Applications/OpenXcom 1.0 geht nicht.app/Contents/MacOS/OpenXcom

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x0000000105bc1cb4 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6c94bc2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6c94bdba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6c948a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6c9488f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6c93c1da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff6c93f560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6c93b27b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6c93b05e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000105bc1cb0  rcx: 0x00007fff5a2b4d60  rdx: 0x00007fff5a2b4d00
  rdi: 0x0000000000000001  rsi: 0x00007fff5a2b4cf0  rbp: 0x00007fff5a2b32e0  rsp: 0x00007fff5a2b32e0
   r8: 0x00007fff6c96e178   r9: 0x00007fff5a2b3200  r10: 0x00007fff9209d940  r11: 0x0000000105ca1e21
  r12: 0x000000000000001e  r13: 0x00007fff6c96e0b0  r14: 0x00007fff6c974ed8  r15: 0x0000000105c8e578
  rip: 0x0000000105bc1cb4  rfl: 0x0000000000010246  cr2: 0x0000000105bc1cb0
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 15, 2014, 06:18:08 pm
Do these builds work for you? https://bitbucket.org/grrussel/openxcomosx
They should have the same features as 1.0, only it's a brew-based executable instead of a self-contained app package.
Title: Re: OSX port does not include libraries in bundle?!
Post by: Tony Soprano on June 15, 2014, 07:53:07 pm
SupSuper, I was able to run the suggested build. However, when I quit the game, I got an error message and now I can't start it again. Terminal says: "yaml-cpp: error at line 0, column 0: bad file".
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 15, 2014, 08:37:51 pm
Same crashes here...

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x0000000103c4d6e4 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6a0b7c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6a0b7dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6a0b4a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6a0b48f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6a0a81da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff6a0ab560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6a0a727b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6a0a705e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000103c4d6e0  rcx: 0x00007fff5c229d80  rdx: 0x00007fff5c229d28
  rdi: 0x0000000000000001  rsi: 0x00007fff5c229d18  rbp: 0x00007fff5c228300  rsp: 0x00007fff5c228300
   r8: 0x00007fff6a0da178   r9: 0x00007fff5c228200  r10: 0x00007fff924d52e3  r11: 0x0000000103d2de21
  r12: 0x000000000000001e  r13: 0x00007fff6a0da0b0  r14: 0x00007fff6a0e0ee0  r15: 0x0000000103d1a578
  rip: 0x0000000103c4d6e4  rfl: 0x0000000000010246  cr2: 0x0000000103c4d6e0


Tried the brew approach too, but ran into errors with when I tried to brew install  sdl_image, sdl_gfx, and sdl_mixer...

Windows flavor works fine.
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 15, 2014, 08:46:38 pm
Exact same crashes here with the updated port.  Haven't tried to use the brew approach.  Running OSX 10.9.
Title: Re: OSX port does not include libraries in bundle?!
Post by: Tony Soprano on June 15, 2014, 11:26:47 pm
Ok, somehow my options.cfg were broken and I had to delete it. Everything works great now! There is just one little problem with sound settings. When I choose Version 1.0 sounds instead of 1.4 sounds, the game crashes. Don't know why, but I can live with that. :)
Title: Re: OSX port does not include libraries in bundle?!
Post by: cookme 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.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 16, 2014, 08:22:59 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!  ;)
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 16, 2014, 08:44:41 am
Thanks - but it still seems to crash...

Code: [Select]
Process:         OpenXcom [803]
Path:            /Users/USER/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
Identifier:      SupSuper.OpenXcom
Version:         1.0 (git20140527)
Code Type:       X86-64 (Native)
Parent Process:  launchd [263]
Responsible:     OpenXcom [803]
User ID:         501

Date/Time:       2014-06-15 23:36:18.605 -0600
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  C6F87492-BFC0-0F97-A2DC-D9D8E04EEC4B

Sleep/Wake UUID: 1B3942B1-82B0-49C6-8112-A16C5A22EAAE

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
OpenXcom

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom              0x000000010be71d14 _GLOBAL__I_a + 4
1   dyld                          0x00007fff6d657c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                          0x00007fff6d657dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                          0x00007fff6d654a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                          0x00007fff6d6548f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                          0x00007fff6d6481da dyld::initializeMainExecutable() + 189
6   dyld                          0x00007fff6d64b560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                          0x00007fff6d64727b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                          0x00007fff6d64705e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x000000010be71d10  rcx: 0x00007fff54004d78  rdx: 0x00007fff54004d18
  rdi: 0x0000000000000002  rsi: 0x00007fff54004d00  rbp: 0x00007fff54003260  rsp: 0x00007fff54003260
   r8: 0x00007fff6d67a178   r9: 0x00007fff54003100  r10: 0x00007fff8e216850  r11: 0x000000010bf5f631
  r12: 0x000000000000001e  r13: 0x00007fff6d67a0b0  r14: 0x00007fff6d680ee0  r15: 0x000000010bf4b568
  rip: 0x000000010be71d14  rfl: 0x0000000000010246  cr2: 0x000000010be71d10
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6


Binary Images:
       0x10bbfb000 -        0x10bf49ff7 +SupSuper.OpenXcom (1.0 - git20140527) <73356B5E-21C5-36E8-9816-30060FCC4D35> /Users/USER/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
       0x11011f000 -        0x110176fff +SDL (1.2.14 - 1.2.14) <C726704D-C3D9-37D1-800E-9D92D9870EAE> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL.framework/Versions/A/SDL
       0x110190000 -        0x1101aaff7 +org.libsdl.SDL-mixer (1.2.12 - 1.2.12) <3F00C757-83F6-3FE7-9F3D-FBFCAF64B659> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/SDL_mixer
       0x1101db000 -        0x1101e0ff7 +org.libsdl.SDL-image (1.2.12 - 1.2.12) <3555965E-D30C-3CCF-9080-C6D180FF6052> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_image.framework/Versions/A/SDL_image
       0x1101e6000 -        0x110215fff +mikmod (3.1.10r2 - 3.1.12) <0C15B955-F059-41B5-FFB2-60A2C41D59A7> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod
       0x110227000 -        0x110260fe7 +smpeg (0.0.1d1) <ECF95B79-C1ED-3D62-B138-1A88DFB72B1E> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg
       0x11028b000 -        0x11028efff +org.xiph.ogg (1.1.4 - 1.1.4) <34F101AC-3447-3FB2-93BB-388D96163BBB> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/Ogg.framework/Versions/A/Ogg
       0x110294000 -        0x11055cff7 +org.xiph.vorbis (1.2.3 - 1.2.3) <1C923733-F7FE-36DA-9042-20F068CCC8BC> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/Vorbis.framework/Versions/A/Vorbis
       0x11059c000 -        0x1105defe7 +FLAC (1.2.1 - 1.2.1) <E0E4B970-A168-3848-BAB1-4CA390D06F33> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/FLAC.framework/Versions/A/FLAC
       0x1105f1000 -        0x110624ff7 +webp (3) <910AF710-5485-3A13-8861-F361D8D68632> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_image.framework/Versions/A/Frameworks/webp.framework/Versions/A/webp
    0x7fff6d646000 -     0x7fff6d679817  dyld (239.4) <2B17750C-ED1B-3060-B64E-21897D08B28B> /usr/lib/dyld
    0x7fff8013d000 -     0x7fff8014eff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
    0x7fff80289000 -     0x7fff8034dff7  com.apple.backup.framework (1.5.2 - 1.5.2) <A3C552F0-670B-388F-93FA-D917F96ACE1B> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff806d0000 -     0x7fff80717fff  libFontRegistry.dylib (127) <A77A0480-AA5D-3CC8-8B68-69985CD546DC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8071f000 -     0x7fff807abff7  com.apple.ink.framework (10.9 - 207) <8A50B893-AD03-3826-8555-A54FEAF08F47> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff808ee000 -     0x7fff8093fff3  com.apple.audio.CoreAudio (4.2.0 - 4.2.0) <BF4C2FE3-8BC8-30D1-8347-2A7221268794> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff80940000 -     0x7fff80958ff7  com.apple.GenerationalStorage (2.0 - 160.2) <79629AC7-896F-3302-8AC1-4939020F08C3> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff80959000 -     0x7fff80991ff7  com.apple.RemoteViewServices (2.0 - 94) <3F34D630-3DDB-3411-BC28-A56A9B55EBDA> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff80c70000 -     0x7fff80c74fff  libpam.2.dylib (20) <B93CE8F5-DAA8-30A1-B1F6-F890509513CB> /usr/lib/libpam.2.dylib
    0x7fff80ec9000 -     0x7fff80ff9ff7  com.apple.desktopservices (1.8.2 - 1.8.2) <76D6ED93-9D5A-3941-8B88-A1773290AE74> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff80ffc000 -     0x7fff81017ff7  libPng.dylib (1042) <36FF1DDA-9804-33C5-802E-3FCA9879F0E6>
......

Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 16, 2014, 08:50:23 am
Definitely appreciate the quick work on trying to get these fixes out for us Mac users. I tried your newest version and got this error message.

Code: [Select]
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
/Users/mchin617/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom              0x0000000102b54d14 _GLOBAL__I_a + 4
1   dyld                          0x00007fff6153bc2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                          0x00007fff6153bdba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                          0x00007fff61538a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                          0x00007fff615388f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                          0x00007fff6152c1da dyld::initializeMainExecutable() + 189
6   dyld                          0x00007fff6152f560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                          0x00007fff6152b27b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                          0x00007fff6152b05e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000102b54d10  rcx: 0x00007fff5d321d70  rdx: 0x00007fff5d321d10
  rdi: 0x0000000000000001  rsi: 0x00007fff5d321d00  rbp: 0x00007fff5d320260  rsp: 0x00007fff5d320260
   r8: 0x00007fff6155e178   r9: 0x00007fff5d320100  r10: 0x00007fff90ff7543  r11: 0x0000000102c42631
  r12: 0x000000000000001e  r13: 0x00007fff6155e0b0  r14: 0x00007fff61564ed8  r15: 0x0000000102c2e568
  rip: 0x0000000102b54d14  rfl: 0x0000000000010246  cr2: 0x0000000102b54d10
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6
Title: Re: OSX port does not include libraries in bundle?!
Post by: cookme 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.
Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 16, 2014, 09:02:05 am
Is there anything we can download and just paste into the frameworks folder to get it to work?
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 16, 2014, 09:16:34 am
Is there anything we can download and just paste into the frameworks folder to get it to work?
No, not in this case, unfortunately.  :(
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 16, 2014, 03:55:29 pm
Damn It's still crashing for me aswell. Here is my crash report
Part1 (stupid post limit)
Code: [Select]
Process:         OpenXcom [81018]
Path:            /Users/USER/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
Identifier:      OpenXcom
Version:         1.0 (git20140527)
Code Type:       X86-64 (Native)
Parent Process:  bash [81013]
Responsible:     Terminal [25170]
User ID:         501

Date/Time:       2014-06-16 08:51:17.154 -0400
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11
Anonymous UUID:  B5F105E8-A871-4B39-64DC-CA53CCBFDFF7

Sleep/Wake UUID: 89516FD8-B888-46D5-B2AF-944A15BDCB8B

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
/Users/herecomethej/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom              0x0000000109ed5d14 _GLOBAL__I_a + 4
1   dyld                          0x00007fff6642ec2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                          0x00007fff6642edba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                          0x00007fff6642ba62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                          0x00007fff6642b8f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                          0x00007fff6641f1da dyld::initializeMainExecutable() + 189
6   dyld                          0x00007fff66422560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                          0x00007fff6641e27b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                          0x00007fff6641e05e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000109ed5d10  rcx: 0x00007fff55fa0b60  rdx: 0x00007fff55fa0ac0
  rdi: 0x0000000000000001  rsi: 0x00007fff55fa0ab0  rbp: 0x00007fff55f9f010  rsp: 0x00007fff55f9f010
   r8: 0x00007fff66451178   r9: 0x00007fff55f9ef00  r10: 0x00007fff95766862  r11: 0x0000000000075321
  r12: 0x000000000000001e  r13: 0x00007fff664510b0  r14: 0x00007fff66457ed8  r15: 0x0000000109faf568
  rip: 0x0000000109ed5d14  rfl: 0x0000000000010246  cr2: 0x0000000109ed5d10
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6


Binary Images:
       0x109c5f000 -        0x109fadff7 +SupSuper.OpenXcom (1.0 - git20140527) <73356B5E-21C5-36E8-9816-30060FCC4D35> /Users/USER/Desktop/OpenXcom.app/Contents/MacOS/OpenXcom
       0x10e184000 -        0x10e1dbfff +SDL (1.2.14 - 1.2.14) <C726704D-C3D9-37D1-800E-9D92D9870EAE> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL.framework/Versions/A/SDL
       0x10e1ee000 -        0x10e208ff7 +org.libsdl.SDL-mixer (1.2.12 - 1.2.12) <3F00C757-83F6-3FE7-9F3D-FBFCAF64B659> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/SDL_mixer
       0x10e23a000 -        0x10e23fff7 +org.libsdl.SDL-image (1.2.12 - 1.2.12) <3555965E-D30C-3CCF-9080-C6D180FF6052> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_image.framework/Versions/A/SDL_image
       0x10e245000 -        0x10e274fff +mikmod (3.1.10r2 - 3.1.12) <0C15B955-F059-41B5-FFB2-60A2C41D59A7> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/mikmod.framework/Versions/A/mikmod
       0x10e286000 -        0x10e2bffe7 +smpeg (0.0.1d1) <ECF95B79-C1ED-3D62-B138-1A88DFB72B1E> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/smpeg.framework/Versions/A/smpeg
       0x10e2ea000 -        0x10e2edfff +org.xiph.ogg (1.1.4 - 1.1.4) <34F101AC-3447-3FB2-93BB-388D96163BBB> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/Ogg.framework/Versions/A/Ogg
       0x10e2f1000 -        0x10e5b9ff7 +org.xiph.vorbis (1.2.3 - 1.2.3) <1C923733-F7FE-36DA-9042-20F068CCC8BC> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/Vorbis.framework/Versions/A/Vorbis
       0x10e5f9000 -        0x10e63bfe7 +FLAC (1.2.1 - 1.2.1) <E0E4B970-A168-3848-BAB1-4CA390D06F33> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_mixer.framework/Versions/A/Frameworks/FLAC.framework/Versions/A/FLAC
       0x10e650000 -        0x10e683ff7 +webp (3) <910AF710-5485-3A13-8861-F361D8D68632> /Users/USER/Desktop/OpenXcom.app/Contents/Frameworks/SDL_image.framework/Versions/A/Frameworks/webp.framework/Versions/A/webp
    0x7fff6641d000 -     0x7fff66450817  dyld (239.4) <042C4CED-6FB2-3B1C-948B-CAF2EE3B9F7A> /usr/lib/dyld
    0x7fff877e3000 -     0x7fff877f4ff7  libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
    0x7fff87b12000 -     0x7fff87b39ff7  libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
    0x7fff87b3a000 -     0x7fff87b72ff7  com.apple.RemoteViewServices (2.0 - 94) <3F34D630-3DDB-3411-BC28-A56A9B55EBDA> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff87b73000 -     0x7fff87c37ff7  com.apple.backup.framework (1.5.3 - 1.5.3) <088FEDED-BF5C-33F4-A51A-646C8149BDAA> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff87cc3000 -     0x7fff87e70f27  libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
    0x7fff87e71000 -     0x7fff87ea0ff9  com.apple.GSS (4.0 - 2.0) <44E914BE-B0D0-3E05-9451-CA9E539AFA52> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff87ea1000 -     0x7fff88a17ff7  com.apple.AppKit (6.9 - 1265.20) <D2A7AF23-0FEA-3D7D-9CF5-B4E262224577> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff88a1b000 -     0x7fff88a88fff  com.apple.SearchKit (1.4.0 - 1.4.0) <B9B8D510-A27E-36B0-93E9-17146D9E9045> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff88a89000 -     0x7fff88a8afff  liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
    0x7fff88b91000 -     0x7fff88beafff  libTIFF.dylib (1043) <D7CAE68F-6087-3B40-9CB8-EC6DB47BF877> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff88beb000 -     0x7fff88cadff5  com.apple.CoreText (367.20 - 367.20) <B80D086D-93A9-3C35-860E-9C3FDD027F3B> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff88cae000 -     0x7fff88cb3fff  com.apple.DiskArbitration (2.6 - 2.6) <A4165553-770E-3D27-B217-01FC1F852B87> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff891d8000 -     0x7fff891dbfff  libCoreVMClient.dylib (58.1) <EBC36C69-C896-3C3D-8589-3E9023E7E56F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff891dc000 -     0x7fff891e6ff7  com.apple.CrashReporterSupport (10.9 - 539) <B25A09EC-A021-32EC-86F8-05B4837E0EDE> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff89456000 -     0x7fff89462ff3  com.apple.AppleFSCompression (56 - 1.0) <5652B0D0-EB08-381F-B23A-6DCF96991FB5> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff89463000 -     0x7fff89463fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff89857000 -     0x7fff898c6ff1  com.apple.ApplicationServices.ATS (360 - 363.3) <546E89D9-2AE7-3111-B2B8-2366650D22F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff898c7000 -     0x7fff898c7ffd  com.apple.audio.units.AudioUnit (1.10 - 1.10) <68B21135-55A6-3563-A3D6-3E692A7DEB7F> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff898c8000 -     0x7fff898e0ff7  com.apple.openscripting (1.4 - 157) <B3B037D7-1019-31E6-9D17-08E699AF3701> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff898e1000 -     0x7fff898e5ff7  libGIF.dylib (1043) <AF0FE71A-27AB-31E0-8CEA-BC0BF2091FA8> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff898e6000 -     0x7fff898e6ffd  libOpenScriptingUtil.dylib (157) <19F0E769-0989-3062-9AFB-8976E90E9759> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff898e7000 -     0x7fff898e7fff  com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8a885000 -     0x7fff8a88dfff  libsystem_dnssd.dylib (522.90.2) <A0B7CF19-D9F2-33D4-8107-A62184C9066E> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8a8b1000 -     0x7fff8a8b8ff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
    0x7fff8a8b9000 -     0x7fff8a8bfff7  libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
    0x7fff8a8ed000 -     0x7fff8a950ffb  com.apple.SystemConfiguration (1.13.1 - 1.13.1) <2C8E1A73-5AD6-3A7D-8ED8-D6755555A993> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8aa17000 -     0x7fff8aa17fff  com.apple.ApplicationServices (48 - 48) <3E3F01A8-314D-378F-835E-9CC4F8820031> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8aa18000 -     0x7fff8aa66fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
    0x7fff8ac64000 -     0x7fff8af4efff  com.apple.CoreServices.CarbonCore (1077.17 - 1077.17) <3A2E92FD-DEE2-3D45-9619-11500801A61C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8af60000 -     0x7fff8af6dfff  com.apple.Sharing (132.2 - 132.2) <F983394A-226D-3244-B511-FA51FDB6ADDA> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fff8af7b000 -     0x7fff8b160fff  com.apple.CoreFoundation (6.9 - 855.16) <A63E680E-E4B2-368B-8564-9DBE0D8DDB91> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8b2c5000 -     0x7fff8b303ff7  libGLImage.dylib (9.6.1) <5E02B38C-9F36-39BE-8746-724F0D8BBFC0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8b313000 -     0x7fff8b31bff7  com.apple.speech.recognition.framework (4.2.4 - 4.2.4) <98BBB3E4-6239-3EF1-90B2-84EA0D3B8D61> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8b31c000 -     0x7fff8b40dff9  libiconv.2.dylib (41) <BB44B115-AC32-3877-A0ED-AEC6232A4563> /usr/lib/libiconv.2.dylib
    0x7fff8b40e000 -     0x7fff8b41bff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
    0x7fff8b446000 -     0x7fff8b448ff7  com.apple.securityhi (9.0 - 55005) <18C42525-688C-3D47-B9C9-1E0F8F58FA64> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff8b583000 -     0x7fff8b586ff7  libdyld.dylib (239.4) <7C9EC3B7-DDE3-33FF-953F-4067C743951D> /usr/lib/system/libdyld.dylib
    0x7fff8b58e000 -     0x7fff8b593ff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
    0x7fff8b710000 -     0x7fff8b72cfff  libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
    0x7fff8b73a000 -     0x7fff8b73efff  libpam.2.dylib (20) <B93CE8F5-DAA8-30A1-B1F6-F890509513CB> /usr/lib/libpam.2.dylib
    0x7fff8b78e000 -     0x7fff8b7e0fff  libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
    0x7fff8b834000 -     0x7fff8b91bff7  libxml2.2.dylib (26) <A1DADD11-89E5-3DE4-8802-07186225967F> /usr/lib/libxml2.2.dylib
    0x7fff8b952000 -     0x7fff8b956fff  com.apple.CommonPanels (1.2.6 - 96) <6B434AFD-50F8-37C7-9A56-162C17E375B3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff8b9d5000 -     0x7fff8b9e3fff  com.apple.opengl (9.6.1 - 9.6.1) <B22FA400-5824-36AF-9945-5FEC31995A0E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8bab1000 -     0x7fff8bab4ffc  com.apple.IOSurface (91.1 - 91.1) <D00EEB0C-8AA8-3986-90C1-C97B2486E8FA> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8c034000 -     0x7fff8c08cff7  com.apple.Symbolication (1.4 - 129.0.2) <B1F008C4-184D-36A2-922F-4A67A075D512> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff8c08d000 -     0x7fff8c116ff7  libsystem_c.dylib (997.90.3) <6FD3A400-4BB2-3B95-B90C-BE6E9D0D78FA> /usr/lib/system/libsystem_c.dylib
    0x7fff8c117000 -     0x7fff8c130ff7  com.apple.Kerberos (3.0 - 1) <F108AFEB-198A-3BAF-BCA5-9DFCE55EFF92> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8c627000 -     0x7fff8c631fff  libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8c658000 -     0x7fff8c902ff5  com.apple.HIToolbox (2.1.1 - 698) <A388E773-AE7B-3FD1-8662-A98E6E24EA16> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff8c932000 -     0x7fff8c961fd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
    0x7fff8c9fa000 -     0x7fff8c9fcfff  libCVMSPluginSupport.dylib (9.6.1) <FB37F4C4-1E84-3349-BB03-92CA0A5F6837> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8cac2000 -     0x7fff8cb01fff  libGLU.dylib (9.6.1) <AE032555-3E2F-3DBF-A26D-EA4576061605> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff8cb02000 -     0x7fff8cb02ff7  libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
    0x7fff8cb03000 -     0x7fff8cb6ffff  com.apple.framework.IOKit (2.0.1 - 907.100.13) <057FDBA3-56D6-3903-8C0B-849214BF1985> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8cbc2000 -     0x7fff8cbf1fff  com.apple.DebugSymbols (106 - 106) <E1BDED08-523A-36F4-B2DA-9D5C712F0AC7> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff8cc51000 -     0x7fff8cc8cfff  com.apple.bom (14.0 - 193.1) <EF24A562-6D3C-379E-8B9B-FAE0E4A0EF7C> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff8cc95000 -     0x7fff8ce4dffb  libicucore.A.dylib (511.32) <A7CE7DAD-D3AD-36A2-BE4F-25C5F21FADBB> /usr/lib/libicucore.A.dylib
    0x7fff8ce4e000 -     0x7fff8cfbcff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8d050000 -     0x7fff8d059fff  com.apple.speech.synthesis.framework (4.7.1 - 4.7.1) <383FB557-E88E-3239-82B8-15F9F885B702> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8d05a000 -     0x7fff8d0a8ff9  libstdc++.6.dylib (60) <0241E6A4-1368-33BE-950B-D0A175C41F54> /usr/lib/libstdc++.6.dylib
    0x7fff8d0fb000 -     0x7fff8d0fdff3  libsystem_configuration.dylib (596.15) <4998CB6A-9D54-390A-9F57-5D1AC53C135C> /usr/lib/system/libsystem_configuration.dylib
    0x7fff8d110000 -     0x7fff8d135ff7  com.apple.ChunkingLibrary (2.0 - 155.1) <B845DC7A-D1EA-31E2-967C-D1FE0C628036> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff8d3c8000 -     0x7fff8d3c9ff7  com.apple.print.framework.Print (9.0 - 260) <EE00FAE1-DA03-3EC2-8571-562518C46994> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff8d62d000 -     0x7fff8d647fff  libdispatch.dylib (339.92.1) <C4E4A18D-3C3B-3C9C-8709-A4270D998DE7> /usr/lib/system/libdispatch.dylib
    0x7fff8d648000 -     0x7fff8d653fff  libGL.dylib (9.6.1) <4B65BF9F-F34A-3CD1-94E8-DB26DAA0A59D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff8d654000 -     0x7fff8d65bfff  com.apple.NetFS (6.0 - 4.0) <8E26C099-CE9D-3819-91A2-64EA929C6137> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff8ddb5000 -     0x7fff8ddf6fff  com.apple.PerformanceAnalysis (1.47 - 47) <7B73DFF4-75DB-3403-80D2-0F3FE48764C3> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff8de01000 -     0x7fff8de43ff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
    0x7fff8ded0000 -     0x7fff8df59fff  com.apple.ColorSync (4.9.0 - 4.9.0) <B756B908-9AD1-3F5D-83F9-7A0B068387D2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8e167000 -     0x7fff8e1defff  com.apple.CoreServices.OSServices (600.4 - 600.4) <C63562F5-6DF5-3EE9-8897-FF61A44C8251> /System/Library/Frameworks
 

Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 16, 2014, 03:59:28 pm
Part 2
Code: [Select]
/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8e22b000 -     0x7fff8e250ff7  com.apple.CoreVideo (1.8 - 117.2) <4674339E-26D0-35FA-9958-422832B39B12> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8e251000 -     0x7fff8e2a2ff3  com.apple.audio.CoreAudio (4.2.0 - 4.2.0) <BF4C2FE3-8BC8-30D1-8347-2A7221268794> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff8e2a7000 -     0x7fff8e2a8ff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8e336000 -     0x7fff8e347ff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
    0x7fff8e348000 -     0x7fff8e34cff7  libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
    0x7fff8e34d000 -     0x7fff8e35cff8  com.apple.LangAnalysis (1.7.0 - 1.7.0) <8FE131B6-1180-3892-98F5-C9C9B79072D4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8ec3a000 -     0x7fff8ed8eff3  com.apple.audio.toolbox.AudioToolbox (1.10 - 1.10) <69B273E8-5A8E-3FC7-B807-C16B657662FE> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff8eded000 -     0x7fff8edf5ffc  libGFXShared.dylib (9.6.1) <25BBF325-AC57-3BAA-9427-2D14CC243AE6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff8edfd000 -     0x7fff8ee36ff7  com.apple.QD (3.50 - 298) <C1F20764-DEF0-34CF-B3AB-AB5480D64E66> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8ee37000 -     0x7fff8ee5bfff  libxpc.dylib (300.90.2) <AB40CD57-F454-3FD4-B415-63B3C0D5C624> /usr/lib/system/libxpc.dylib
    0x7fff8ee5c000 -     0x7fff8ee5dff7  libSystem.B.dylib (1197.1.1) <E303F2F8-A8CF-3DF3-84B3-F2D0EE41CCF6> /usr/lib/libSystem.B.dylib
    0x7fff8eea6000 -     0x7fff8f176ffc  com.apple.CoreImage (9.2.8) <1509987F-5671-3AE3-91C7-18E952ED90C7> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8f177000 -     0x7fff8f5aaffb  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <F42BFC9C-0B16-35EF-9A07-91B7FDAB7FC5> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff8f5ab000 -     0x7fff8f5abfff  com.apple.Accelerate (1.9 - Accelerate 1.9) <509BB27A-AE62-366D-86D8-0B06D217CF56> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8f5ac000 -     0x7fff8f638ff7  com.apple.ink.framework (10.9 - 207) <8A50B893-AD03-3826-8555-A54FEAF08F47> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff8f639000 -     0x7fff8f63dff7  libheimdal-asn1.dylib (323.92.1) <CAE21FFF-5763-399C-B7C5-EEBFFEEF2242> /usr/lib/libheimdal-asn1.dylib
    0x7fff8f655000 -     0x7fff8f665fff  libbsm.0.dylib (33) <2CAC00A2-1352-302A-88FA-C567D4D69179> /usr/lib/libbsm.0.dylib
    0x7fff8f666000 -     0x7fff8f716ff7  libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8f754000 -     0x7fff8f7c7fff  com.apple.securityfoundation (6.0 - 55122.1) <D5AA4461-7406-3054-875D-0EDA3A6030EA> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff8fc17000 -     0x7fff8fc40fff  com.apple.DictionaryServices (1.2 - 208) <A539A058-BA57-35EE-AA08-D0B0E835127D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff8fc93000 -     0x7fff8fc94fff  libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
    0x7fff8fc95000 -     0x7fff8fd83fff  libJP2.dylib (1043) <C4031D64-6C57-3FB4-9D87-874D387381DB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff8fd84000 -     0x7fff90165ffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff90166000 -     0x7fff9043afc7  com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff9049c000 -     0x7fff904c5ff7  libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
    0x7fff9052f000 -     0x7fff905fafff  libvDSP.dylib (423.32) <3BF732BE-DDE0-38EB-8C54-E4E3C64F77A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff905fb000 -     0x7fff90701ff7  com.apple.ImageIO.framework (3.3.0 - 1043) <C4ADE5B1-A540-34E1-A043-118185489C9D> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff90702000 -     0x7fff90714fff  com.apple.ImageCapture (9.0 - 9.0) <BE0B65DA-3031-359B-8BBA-B9803D4ADBF4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff90715000 -     0x7fff90717ff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
    0x7fff90718000 -     0x7fff90733ff7  libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
    0x7fff90734000 -     0x7fff90798fff  com.apple.datadetectorscore (5.0 - 354.4) <37093186-6019-3071-8D67-F3EF429F8F08> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff907ed000 -     0x7fff90815ffb  libxslt.1.dylib (13) <C9794936-633C-3F0C-9E71-30190B9B41C1> /usr/lib/libxslt.1.dylib
    0x7fff90816000 -     0x7fff9081dff8  liblaunch.dylib (842.90.1) <38D1AB2C-A476-385F-8EA8-7AB604CA1F89> /usr/lib/system/liblaunch.dylib
    0x7fff90d5e000 -     0x7fff90d85ffb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
    0x7fff90d8b000 -     0x7fff90d8dfff  libRadiance.dylib (1043) <9813995C-DEAA-3992-8DF8-320E4E4E288B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff91023000 -     0x7fff91076fff  com.apple.ScalableUserInterface (1.0 - 1) <CF745298-7373-38D2-B3B1-727D5A569E48> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff910cb000 -     0x7fff9115bff7  com.apple.Metadata (10.7.0 - 800.28) <E85AEB1B-CB17-38BC-B5C6-AAB50B47AF05> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff9115c000 -     0x7fff9128cff7  com.apple.desktopservices (1.8.3 - 1.8.3) <225BEC20-F8E0-3F22-9560-890A1A5B9050> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff91482000 -     0x7fff91486ff7  libsystem_stats.dylib (93.90.3) <4E51D5B0-92A0-3D0D-B90E-495A1ED3E391> /usr/lib/system/libsystem_stats.dylib
    0x7fff91487000 -     0x7fff914d4ff2  com.apple.print.framework.PrintCore (9.0 - 428) <8D8253E3-302F-3DB2-9C5C-572CB974E8B3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff916ef000 -     0x7fff916f8ff3  libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
    0x7fff91bd8000 -     0x7fff91bdbfff  com.apple.help (1.3.3 - 46) <AE763646-D07A-3F9A-ACD4-F5CBD734EE36> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff91bdc000 -     0x7fff91beeff7  com.apple.MultitouchSupport.framework (245.13 - 245.13) <E51DE5CA-9859-3C13-A24F-37EF4385C1D6> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff91bef000 -     0x7fff91bf0ff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff91d48000 -     0x7fff91d49ffb  libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
    0x7fff91d4a000 -     0x7fff91d4dfff  com.apple.TCC (1.0 - 1) <32A075D9-47FD-3E71-95BC-BFB0D583F41C> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff91d75000 -     0x7fff91e59fff  com.apple.coreui (2.1 - 231) <432DB40C-6B7E-39C8-9FB5-B95917930056> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff91e64000 -     0x7fff920acff7  com.apple.CoreData (107 - 481.3) <E78734AA-E3D0-33CB-A014-620BBCAB2E96> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff920ad000 -     0x7fff9219cfff  libFontParser.dylib (111.1) <835A8253-6AB9-3AAB-9CBF-171440DEC486> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff9219d000 -     0x7fff921b9ff7  libsystem_kernel.dylib (2422.100.13) <498AEBD7-4194-3CF2-AA16-D5D03FFBD8C0> /usr/lib/system/libsystem_kernel.dylib
    0x7fff921ba000 -     0x7fff92ad9f43  com.apple.CoreGraphics (1.600.0 - 599.23.13) <3A1952C7-1D67-3DEC-A5AB-5399FF4F2A92> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff92ada000 -     0x7fff92b5bfff  com.apple.CoreSymbolication (3.0.1 - 141.0.5) <20E484C4-9F0E-3DF6-BB27-D509859FF57A> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff92b5e000 -     0x7fff92b5efff  com.apple.CoreServices (59 - 59) <7A697B5E-F179-30DF-93F2-8B503CEEEFD5> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff92b62000 -     0x7fff92b7dff7  libPng.dylib (1043) <23D2DAB7-C9A9-392F-989A-871E89E7751D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff92bb4000 -     0x7fff92d24ff4  com.apple.CFNetwork (673.4 - 673.4) <F3BF6020-99BE-3844-A7B8-352B93AD02F3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff92fa4000 -     0x7fff93009ffb  com.apple.Heimdal (4.0 - 2.0) <F34D6627-9F80-3823-8B57-DB629307DF87> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff93017000 -     0x7fff93021ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <2D27B498-BB9C-3D88-B05A-76908A8A26F3> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff93022000 -     0x7fff93029ff3  libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
    0x7fff9302a000 -     0x7fff931c6ff3  com.apple.QuartzCore (1.8 - 332.3) <72003E51-1287-395B-BCBC-331597D45C5E> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff931c7000 -     0x7fff931d3ff7  com.apple.OpenDirectory (10.9 - 173.90.1) <256C265B-7FA6-326D-9F60-18DADF5F3A0E> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff931d4000 -     0x7fff93222ff7  com.apple.opencl (2.3.59 - 2.3.59) <044485A4-A50C-34CE-A1F9-35A50CC68313> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff93229000 -     0x7fff93229fff  com.apple.Carbon (154 - 157) <45A9A40A-78FF-3EA0-8FAB-A4F81052FA55> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff9336d000 -     0x7fff93384ff7  com.apple.CFOpenDirectory (10.9 - 173.90.1) <EBC0A1F2-9054-3D39-99AE-A3F655E55D6A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff93385000 -     0x7fff933a9ff7  libJPEG.dylib (1043) <25723F3F-48A6-3AC5-A7A3-58E418FEBF3F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff933aa000 -     0x7fff933b5fff  libkxld.dylib (2422.100.13) <67D079F8-6C48-3F42-9FBE-26F1ADA03DC4> /usr/lib/system/libkxld.dylib
    0x7fff933bc000 -     0x7fff933c1fff  libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
    0x7fff933c2000 -     0x7fff933cfff7  libxar.1.dylib (202) <5572AA71-E98D-3FE1-9402-BB4A84E0E71E> /usr/lib/libxar.1.dylib
    0x7fff936ad000 -     0x7fff936c6ff7  com.apple.Ubiquity (1.3 - 289) <C7F1B734-CE81-334D-BE41-8B20D95A1F9B> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff936c7000 -     0x7fff93790fff  com.apple.LaunchServices (572.26 - 572.26) <EF8A4A15-0861-35C5-9744-5E1BC5C26DD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff937d0000 -     0x7fff93800fff  com.apple.IconServices (25 - 25.17) <4751127E-FBD5-3ED5-8510-08D4E4166EFE> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fff938e1000 -     0x7fff938fcff7  libCRFSuite.dylib (34) <FFAE75FA-C54E-398B-AA97-18164CD9789D> /usr/lib/libCRFSuite.dylib
    0x7fff938fe000 -     0x7fff93959ffb  com.apple.AE (665.5 - 665.5) <BBA230F9-144C-3CAB-A77A-0621719244CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff93af3000 -     0x7fff93b3afff  libFontRegistry.dylib (127) <A77A0480-AA5D-3CC8-8B68-69985CD546DC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff93e9c000 -     0x7fff93eb4ff7  com.apple.GenerationalStorage (2.0 - 160.3) <64749B08-0212-3AC8-9B49-73D662B09304> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff942ed000 -     0x7fff94332ff6  com.apple.HIServices (1.23 - 468) <5970AF5C-F5BD-3B6A-97C9-95B2CA98D71D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff9454d000 -     0x7fff9454efff  com.apple.TrustEvaluationAgent (2.0 - 25) <334A82F4-4AE4-3719-A511-86D0B0723E2B> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff9454f000 -     0x7fff94639fff  libsqlite3.dylib (158) <00269BF9-43BE-39E0-9C85-24585B9923C8> /usr/lib/libsqlite3.dylib
    0x7fff94e01000 -     0x7fff94e02ff7  libsystem_sandbox.dylib (278.11) <B46E4040-A8C6-3EBC-91F8-F1CB01106614> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff94e03000 -     0x7fff94e0afff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
    0x7fff94e0b000 -     0x7fff95065ffd  com.apple.security (7.0 - 55471.14.4) <1D5DA20E-DB48-3E1D-9BF5-BAA694192B25> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff95169000 -     0x7fff95172ffd  com.apple.CommonAuth (4.0 - 2.0) <32BA436F-6319-3A0B-B5D2-2EB75FF36B5B> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff95173000 -     0x7fff951baff7  libcups.2.dylib (372.4) <36EA4350-43B4-3A5C-9904-10685BFDA7D4> /usr/lib/libcups.2.dylib
    0x7fff951bb000 -     0x7fff951c6ff7  com.apple.NetAuth (5.0 - 5.0) <C811E662-9EC3-3B74-808A-A75D624F326B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff951c7000 -     0x7fff954c5fff  com.apple.Foundation (6.9 - 1056.13) <2EE9AB07-3EA0-37D3-B407-4A520F2CB497> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 159973
    thread_create: 2
    thread_set_state: 1

VM Region Summary:
ReadOnly portion of Libraries: Total=163.2M resident=84.9M(52%) swapped_out_or_unallocated=78.3M(48%)
Writable regions: Total=83.1M written=380K(0%) resident=500K(1%) swapped_out=0K(0%) unallocated=82.6M(99%)
 
REGION TYPE                      VIRTUAL
===========                      =======
Kernel Alloc Once                     4K
MALLOC                             10.3M
MALLOC (admin)                       32K
STACK GUARD                        56.0M
Stack                              8192K
VM_ALLOCATE                           8K
__DATA                             83.7M
__IMAGE                             528K
__LINKEDIT                         68.2M
__TEXT                             94.9M
__UNICODE                           544K
shared memory                         4K
===========                      =======
TOTAL                             322.3M

I see a lot of stuff referenced that doesn't appear to be in the app.  Did you give dylibbunlder a try?

It's simple

dylibbuilder -od -cd -b -x <dir to stuff/.app/Contetns/MacOS/OpenXcom> -d <dir to where you want the libs.  Typically stuff/.app/Contents/Resources/lib> -p @executable_path/../Resources/lib

and done
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 16, 2014, 06:03:19 pm
Damn It's still crashing for me aswell. Here is my crash report
Part1 (stupid post limit)
Pastebin (https://www.pastebin.com) is better suited for text dumps.
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 16, 2014, 06:17:19 pm
ah fair enough
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 16, 2014, 06:18:02 pm
Here's another crash report:
https://hastebin.com/raw/hihuqokosa.txt
Title: Re: OSX port does not include libraries in bundle?!
Post by: Mellified Man on June 16, 2014, 06:51:52 pm
The released 1.0 crashed due to the dependencies mentioned. The revised 1.0 linked here worked fine for me. I have no SDL libraries installed separately.
Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 16, 2014, 07:23:38 pm
here is my entire error log from pastebin, hope it helps.

https://pastebin.com/TaA9cCJU
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 16, 2014, 09:54:02 pm
Guess what - here goes another fixed port! If my assumption was correct - this one should work like a charm for everyone ;D
Get it here - https://www.mediafire.com/download/pr11dcbp1l01m2o/OpenXcom-20140616-2.zip
Title: Re: OSX port does not include libraries in bundle?!
Post by: mmm333 on June 16, 2014, 10:23:12 pm
The newest version works like a charm for me. Great job on the quick fix.
Title: Re: OSX port does not include libraries in bundle?!
Post by: Tony Soprano on June 17, 2014, 12:14:26 am
Same here, the newest version works great! Thanks a lot!
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 17, 2014, 12:56:01 am
When I run the application it seems to open and close with no error message...
If I open app/Contents/MacOS/OpenXcom file in a terminal window I get:

yaml-cpp: error at line 0, column 0: bad file
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 17, 2014, 02:35:41 am
Just got the same results as thd.  :(  Again, using OSX 10.9 on a late 2009 MacBook Pro, if that helps.
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 17, 2014, 02:50:17 am
Check if you didn't end up with a broken config and delete any options.cfg from ~/Library/Application Support/OpenXcom
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 17, 2014, 04:09:35 am
There doesn't seem to be anything in that folder... 
I deleted it anyway, redownloaded and  resupplied data - still same result

yaml-cpp: error at line 0, column 0: bad file
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 17, 2014, 07:46:18 am
I fear I have the same result of thd. I am also using 10.9 and mine is a 2010 mbp

I tried deleting the empty OpenXcom folder as well but no luck. The program never properly executed to create a conf file.  Those that it worked for, what system are they using?
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 17, 2014, 07:59:37 am
There doesn't seem to be anything in that folder... 
I deleted it anyway, redownloaded and  resupplied data - still same result

yaml-cpp: error at line 0, column 0: bad file
Where did you put your 'data' resources? Was it in the ~/Library? Try to pack them inside the app bundle itself (right click the application > Show Package Contents > Contents > Resources > data) and delete anything in other locations.
And in any case - try also verifying and repairing disk permissions (run Disk Util, select “Verify Disk” and after it completes select “Repair Disk Permissions”) - you wouldn't believe how many obscure runtime errors it may help resolve ;)
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 17, 2014, 11:39:09 am
Those who experience the 'yaml' bug fear not! Another test build is coming later today (June 17) - where this issue will most probably be fixed. Keep your fingers crossed, and thank you all for all the feedback - it really helps.
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 17, 2014, 12:31:45 pm
luciderous:  I've been putting the data resources inside the app bundle the whole time.

After repairing disk permissions it's still the same error/bad file.  Will wait for next test build.
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 17, 2014, 06:47:01 pm
Some people report that manually creating the options.cfg yourself fixes the problem: https://openxcom.org/bugs/openxcom/issues/666
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 17, 2014, 07:10:29 pm
Killer!
Following the instructions at that link totally made it all go!
Thanks for the support!
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 17, 2014, 09:57:08 pm
Here go two latest builds, each using a little bit different set of tricks. Please, test both of them in sequence and tell me which one works and which doesn't.
https://www.mediafire.com/download/pfvw1kdczguz4lg/OpenXcom-20140617-2.zip
https://www.mediafire.com/download/4rpgg8lh9an5pll/OpenXcom-20140617-3.zip
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 17, 2014, 10:17:46 pm
hello, first:
OpenXcom-20140617-2
Process:         OpenXcom [25425]
Identifier:      SupSuper.OpenXcom
Version:         1.01 (339b126)
Code Type:       X86-64 (Native)
Parent Process:  launchd [270]
Responsible:     OpenXcom [25425]
User ID:         501

Date/Time:       2014-06-17 21:13:27.218 +0200
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x000000010c549224 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6752dc2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6752ddba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6752aa62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6752a8f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6751e1da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff67521560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6751d27b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6751d05e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x000000010c549220  rcx: 0x00007fff5392ecf8  rdx: 0x00007fff5392ec78
  rdi: 0x0000000000000002  rsi: 0x00007fff5392ec60  rbp: 0x00007fff5392d1b0  rsp: 0x00007fff5392d1b0
   r8: 0x00007fff67550178   r9: 0x00007fff5392d100  r10: 0x00007fff99e6bfa7  r11: 0x0000000000072fee
  r12: 0x000000000000001e  r13: 0x00007fff675500b0  r14: 0x00007fff67556ed0  r15: 0x000000010c615578
  rip: 0x000000010c549224  rfl: 0x0000000000010246  cr2: 0x000000010c549220
 
Logical CPU:     4
Error Code:      0x00000000
Trap Number:     6
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 17, 2014, 10:18:36 pm
second:
OpenXcom-20140617-3
Process:         OpenXcom [25504]
Identifier:      SupSuper.OpenXcom
Version:         1.0 (git20140527)
Code Type:       X86-64 (Native)
Parent Process:  launchd [270]
Responsible:     OpenXcom [25504]
User ID:         501

Date/Time:       2014-06-17 21:14:25.859 +0200
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11
Crashed Thread:  0  Dispatch queue: com.apple.main-thread
Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x000000010a129054 _GLOBAL__I_a + 4
1   dyld                             0x00007fff6bc54c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff6bc54dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff6bc51a62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff6bc518f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff6bc451da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff6bc48560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff6bc4427b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff6bc4405e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x000000010a129050  rcx: 0x00007fff55d4ecf8  rdx: 0x00007fff55d4ec78
  rdi: 0x0000000000000002  rsi: 0x00007fff55d4ec60  rbp: 0x00007fff55d4d250  rsp: 0x00007fff55d4d250
   r8: 0x00007fff6bc77178   r9: 0x00007fff55d4d100  r10: 0x00007fff99e6bfa7  r11: 0x00000000000731de
  r12: 0x000000000000001e  r13: 0x00007fff6bc770b0  r14: 0x00007fff6bc7ded0  r15: 0x000000010a1f5578
  rip: 0x000000010a129054  rfl: 0x0000000000010246  cr2: 0x000000010a129050
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     6

p.s. hope it helps
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 17, 2014, 10:25:13 pm
manually creating options.cfg does not help.

byebye
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 18, 2014, 02:54:53 am
Recreated options.cfg, and the game booted.  I can start a new game without problems, but clicking "New Battle" causes the game to shutdown immediately.  Have not tried entering Battlescape yet in the new game.
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 18, 2014, 03:41:57 am
Same type of crash errors with new builds as reported by StarMox.  I did not delete the previous OpenXcom options.cfg file...

Also same  '[FATAL]   yaml-cpp: error at line 0, column 0: bad file' crash when I go to New Battle (as NuclearPotato reported).

However, New Game and Load Game seems to run fine.
Title: Re: OSX port does not include libraries in bundle?!
Post by: Warboy1982 on June 18, 2014, 07:04:20 am
@nuclearPotato the new battle crash will likely be related to the battle.cfg, try deleting that
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 18, 2014, 08:08:14 am
Another day, another build - https://www.mediafire.com/download/m32ce9ia82t12ix/OpenXcom-20140618-1.zip
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 18, 2014, 04:56:44 pm
OpenXcom-20140618-1

Process:         OpenXcom [57986]
Identifier:      SupSuper.OpenXcom
Version:         1.0 (git20140527)
Code Type:       X86-64 (Native)
Parent Process:  launchd [270]
Responsible:     OpenXcom [57986]
User ID:         501

Date/Time:       2014-06-18 15:54:36.809 +0200
OS Version:      Mac OS X 10.9.3 (13D65)
Report Version:  11

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   SupSuper.OpenXcom                0x0000000109776444 _GLOBAL__I_a + 4
1   dyld                             0x00007fff652e2c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2   dyld                             0x00007fff652e2dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                             0x00007fff652dfa62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4   dyld                             0x00007fff652df8f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5   dyld                             0x00007fff652d31da dyld::initializeMainExecutable() + 189
6   dyld                             0x00007fff652d6560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
7   dyld                             0x00007fff652d227b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
8   dyld                             0x00007fff652d205e _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000109776440  rcx: 0x00007fff56700cf8  rdx: 0x00007fff56700c78
  rdi: 0x0000000000000002  rsi: 0x00007fff56700c60  rbp: 0x00007fff566ff220  rsp: 0x00007fff566ff220
   r8: 0x00007fff65305178   r9: 0x00007fff566ff100  r10: 0x00007fff99e6bfa7  r11: 0x0000000000072dee
  r12: 0x000000000000001e  r13: 0x00007fff653050b0  r14: 0x00007fff6530bed0  r15: 0x0000000109842578
  rip: 0x0000000109776444  rfl: 0x0000000000010246  cr2: 0x0000000109776440
 
Logical CPU:     6
Error Code:      0x00000000
Trap Number:     6
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 18, 2014, 05:09:43 pm
OpenXcom-20140618-1

Version:         1.0 (git20140527)
Sorry to ask, but are you sure you tried the latest build? I've changed the version to ease the tracking and it doesn't match with what you report. Yet again, I might have missed something in a hurry.
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 18, 2014, 08:38:23 pm
@nuclearPotato the new battle crash will likely be related to the battle.cfg, try deleting that

Where's that located?  I couldn't find it in the Library or in the App package.
Title: Re: OSX port does not include libraries in bundle?!
Post by: dullin on June 18, 2014, 09:00:30 pm
Another day, another build - https://www.mediafire.com/download/m32ce9ia82t12ix/OpenXcom-20140618-1.zip

The game is running fine with this build for me.
I'm mostly on a vanilla 10.9.3 install. I can start a new game, get to the geoscape and battlescape and the New battle works too.
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 18, 2014, 09:57:51 pm
@luciderous
Yep, tried again. Its your latest build...

Any ideas?

byebye
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 18, 2014, 10:44:41 pm
Rescue party - assemble!
New build ready for testing :) - https://www.mediafire.com/download/2oszt5a94azlx02/OpenXcom-20140618-2.zip
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 18, 2014, 11:39:41 pm
Wohoo, last build actually started for the first time :) .... but it crashes immediately after selecting new battle :(

but coming along...
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 18, 2014, 11:43:46 pm
irr. but anyway, syslog on crash :)

OpenXcom[75156]: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore.
OpenXcom[75156]: CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore.
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 19, 2014, 12:30:05 am
Have you tried cleaning up old User Folder?
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 19, 2014, 01:40:39 am
yep, cleaned and sweaped :), immediate crash on new battle.

bye bye

p.s. but the intro puts your hairs up on the big screen :P
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 19, 2014, 02:12:23 am
The 20140618-2 Build still crashes upon New Battle with the same FATAL yaml-cpp error.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 19, 2014, 08:09:01 am
Everyone who experience issues - would you please provide an OSX version number you use? Remember, that this build requires version 10.7+.
Also, make sure you delete ~/Library/Application Support/OpenXcom before trying new build.
And most importantly - try only vanilla Xcom data, don't put any mods there, because they might bring their own incompatibility issues.
Oh, and one more thing - make sure you don't have any YAML libraries (especially those of previous versions) installed somewhere in the system. 'brew uninstall' or Macports uninstall or whatever any instances of those to have a clean experiment.
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 19, 2014, 09:54:30 am
Mac OS X 10.9.3 (13D65)
old OpenXcom removed, no old libs...

byebye
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 19, 2014, 10:15:03 am
Mac OS X 10.9.3 (13D65)
old OpenXcom removed, no old libs...

byebye
Does anything else work? Changing options, starting new game on Geoscape, going into battle from there etc.?
Title: Re: OSX port does not include libraries in bundle?!
Post by: StarMox on June 19, 2014, 01:58:07 pm
yep, it works like a charm, battles from Geoscape work perfectly, also options.

 Just New battle from the start screen crashes the game.

byebye
Title: Re: OSX port does not include libraries in bundle?!
Post by: Yankes on June 19, 2014, 03:45:27 pm
It could be problems with battle config file. Sometimes I get crash because I dont enable some mods that I used previously.
In you case, is possible that game could not read/create this file and crash out because of that.
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 19, 2014, 04:49:32 pm
I am also am experiencing starmox's error (osx 10.9.3)
and can vouch that Yankes seems to be correct.  The problem goes away when adding a blank battle.cfg textfile to the ~/library/application support/OpenXcom folder.
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 19, 2014, 09:19:39 pm
OSX 10.9.2 here.  battle.cfg is not showing up in the ~/library/application support/OpenXcom folder, so I agree with Yankes and darklord42 on this.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 19, 2014, 10:21:26 pm
Here goes today's test build - https://www.mediafire.com/download/aceg26b2k25tbs6/OpenXcom-debug20140619.zip

On the changes: SupSuper suggested a small fix to the code that should enable proper YAML behavior, let's see if this helps. Also, additional debug symbols added, so don't freak out if the game is slower than usual.
Title: Re: OSX port does not include libraries in bundle?!
Post by: darklord42 on June 19, 2014, 11:28:22 pm
Yup that seemed to do it!  I started from a clean slate and everything worked.  Congrats!
Title: Re: OSX port does not include libraries in bundle?!
Post by: NuclearPotato on June 20, 2014, 12:44:20 am
Alright, grabbed the new version.  Booted it up without difficulty, clicked on New Battle and the menu came up correctly.  And then it crashed while I was setting up options.  Here's the crash log:

https://pastebin.com/qu7Qbd4a
Title: Re: OSX port does not include libraries in bundle?!
Post by: SupSuper on June 20, 2014, 01:03:24 am
Alright, grabbed the new version.  Booted it up without difficulty, clicked on New Battle and the menu came up correctly.  And then it crashed while I was setting up options.  Here's the crash log:

https://pastebin.com/qu7Qbd4a
Thanks, fix coming up.
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 20, 2014, 09:36:18 am
Today's debug build - https://www.mediafire.com/download/c9nzqce30qa7cnt/OpenXcom-debug20140620.zip
Title: Re: OSX port does not include libraries in bundle?!
Post by: thd on June 20, 2014, 07:00:40 pm
Game loads, can do new battle or new game.  Setting options works in new battle and the geoscape stuff seems to work, but crashes out when battle scape tries to load.

error log:

https://hastebin.com/yasixifale.avrasm
Title: Re: OSX port does not include libraries in bundle?!
Post by: luciderous on June 23, 2014, 09:15:55 am
Monday's debug build - https://www.mediafire.com/download/ti9rrt51co3ukjl/OpenXcom-debug20140623.zip

And let's move to the new topic I created specifically to deal with Mac issues - https://openxcom.org/forum/index.php?topic=2382.0