@ar2rsawseen - are you including different libs and loading them depending on the version of OSX?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
http://giderosmobile.com/GiderosPlayerWithZlib.zip
Btw, now ios player and android player show black screen only. Do you get the same problem?
--
Update, I see @MobAmuse ask the same question.
you can look also on this post if you are up to it:
http://giderosmobile.com/forum/discussion/comment/40999#Comment_40999
Another test, now with prebuilt libraries, so there would be no external dependencies related to imaging:
http://giderosmobile.com/GiderosPlayerPrebuilt.zip
Fingers Crossed
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 libfreetype.6.dylib 0x000000010b4652c8 TT_New_Context + 208
1 libfreetype.6.dylib 0x000000010b463cea 0x10b453000 + 68842
2 libfreetype.6.dylib 0x000000010b459c4f FT_Add_Module + 675
3 libfreetype.6.dylib 0x000000010b4550c5 FT_Init_FreeType + 90
4 com.appcodingeasy.Gideros Player 0x000000010b12acbc FT_Library_Singleton::instance() + 44
5 com.appcodingeasy.Gideros Player 0x000000010b14d476 TTFont::constructor(char const*, float, bool) + 294
6 com.appcodingeasy.Gideros Player 0x000000010b14d2e9 TTFont::TTFont(Application*, char const*, float, bool, GStatus*) + 73
7 com.appcodingeasy.Gideros Player 0x000000010b115365 TTFontBinder::create(lua_State*) + 261
8 liblua.1.dylib 0x000000010b35de3f luaD_precall + 623
It seems than Yosemite does not like external dependencies.
So we just need to figure out which dylib was in most OSX versions and then was removed.
After otooling it, freetype depends on:
/usr/lib/libz.1.dylib
/usr/lib/libbz2.1.0.dylib
do you have these files in that directory on your Mac?
ls -ltr | grep libz
-rwxr-xr-x 1 root wheel 169312 10 sep 01:21 libz.1.dylib
lrwxr-xr-x 1 root wheel 12 19 ene 12:55 libz.dylib -> libz.1.dylib
lrwxr-xr-x 1 root wheel 12 19 ene 12:55 libz.1.2.5.dylib -> libz.1.dylib
lrwxr-xr-x 1 root wheel 12 19 ene 12:55 libz.1.1.3.dylib -> libz.1.dylib
ls -ltr | grep libbz
-rwxr-xr-x 1 root wheel 147936 10 sep 01:26 libbz2.1.0.dylib
lrwxr-xr-x 1 root wheel 16 19 ene 12:55 libbz2.dylib -> libbz2.1.0.dylib
lrwxr-xr-x 1 root wheel 16 19 ene 12:55 libbz2.1.0.5.dylib -> libbz2.1.0.dylib
Ok, I'm feeling we are getting close
Here is the player with static prebuild libs:
http://giderosmobile.com/GiderosPlayerStaticLibs.zip
Fingers Crossed
:-)
Likes: jdbc
https://deluxepixel.com
Likes: SinisterSoft, MikeHart