G
grixm
Guest
Hi. I am porting my program to mac and I also have some extensions that need to be ported for this. The problem is that after I compile the extension in xcode into a dylib, the GM program does not seem to recognize it. When any function is called it just returns 0 without doing anything.
What architecture on the dylib project is correct? I've tried the default "Standard Architectures (64-bit Intel)" with the result above, and also I tried "Universal (32/64-bit Intel)", and this caused a crash on the game startup with error EXC_BAD_ACCESS (Code signature invalid). Not sure if this is a step in the right direction or not.
I've checked with nm that the functions in the dylib are exported correctly. The names are unmangled, except they have a leading underscore, for example _Init . Is this a problem?
What architecture on the dylib project is correct? I've tried the default "Standard Architectures (64-bit Intel)" with the result above, and also I tried "Universal (32/64-bit Intel)", and this caused a crash on the game startup with error EXC_BAD_ACCESS (Code signature invalid). Not sure if this is a step in the right direction or not.
I've checked with nm that the functions in the dylib are exported correctly. The names are unmangled, except they have a leading underscore, for example _Init . Is this a problem?