Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

ohrrpgce mac intel 10.5.8 crash upon opening
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Fri Aug 17, 2012 10:53 am    Post subject: ohrrpgce mac intel 10.5.8 crash upon opening Reply with quote

Date/Time: 2012-08-17 12:50:48.483 -0600
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 2249C1E7-6148-4ADC-8A0C-01D77B654A8C

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

Dyld Error Message:
Symbol not found: ___bzero
Referenced from: /Applications/OHRRPGCE-Game.app/Contents/MacOS/ohrrpgce-game
Expected in: /usr/lib/libSystem.B.dylib

please help, my old computor ran ohrrpgce just fine but it wont work on this one, ubove is the error report. anyone know how to fix this? Oookay...
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sun Aug 19, 2012 8:59 am    Post subject: Reply with quote

Yikes! We haven't tested on OS 10.5 for a long time, since none of us have access to such a machine.

I've been looking into it, but I'm not totally sure what's going on.

I've created one build that might fix the problem that you can try (note: this is a nightly build, not Alectormancy+2)
http://tmc.castleparadox.com/ohr/temp/OHRRPGCE-2012-08-19-wip.dmg

To help track down what's gone wrong, could you please run the following commands in Terminal and report the output?

Code:
otool -L /usr/lib/libSystem.B.dylib
nm -m /usr/lib/system/libsystem_c.dylib |grep bzero
nm -m /usr/lib/libgcc_s.1.dylib |grep bzero


BTW, what version of OS X (or a different operating system?) was your old system running, and what version of the OHRRPGCE?
Back to top
View user's profile Send private message Send e-mail
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Mon Aug 20, 2012 2:15 pm    Post subject: Reply with quote

hmmm. the nightly built still fails to open.

i entered the lines of code into terminal and it doesnt look good


eronshaugen-mbp:~ ronshaugen$ otool -L /usr/lib/libSystem.B.dylib
-bash: otool: command not found
eronshaugen-mbp:~ ronshaugen$ nm -m /usr/lib/system/libsystem_c.dylib |grep bzero
-bash: nm: command not found
eronshaugen-mbp:~ ronshaugen$ nm -m /usr/lib/libgcc_s.1.dylib |grep bzero
-bash: nm: command not found

it continuously states -bash: nm: command not found.

the weird thing is i was using a 1.5.8 mac book, its hard drive crashed so i got my dads old work computer which is also a 1.5.8 mac book, so i thought it would work for sure, im not sure which version of ohrrpgce it was but i remember installing it around may. im not sure if that helps but yeah. thanks for the response.
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Aug 20, 2012 2:34 pm    Post subject: Reply with quote

I think the otool and nm utilities don't get installed by default on a Mac that doesn't have XCode installed.

cartsen, is this a PowerPC Mac? Mac OS X 10.5 was the last version that supported both PowerPC and Intel Macs, and the OHRRPGCE only runs on Intel Macs.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Aug 21, 2012 10:05 am    Post subject: Reply with quote

Another possibility is that one is running 64 bit and the other isn't.

Anyway, we think we have a plan for fixing OS 10.5 (and 10.4) support: compile using the 10.4 SDK (no longer officially supported?) instead of the 10.6 one. And I realise now that I can just run those commands on the 10.4 or 10.5 SDK instead of getting you to do so. We hope to have a new build for you to try soon.
Back to top
View user's profile Send private message Send e-mail
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Tue Aug 21, 2012 8:13 pm    Post subject: Reply with quote

Thanks for the support. I am sure I have an intel (as specified in the topic title) I am supprized how friendly this forum community is. Thanks for trying to help Big grin
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Aug 22, 2012 8:15 am    Post subject: Reply with quote

OK, I'm pretty sure I've sorted it out (much help from James). You have to specify -mmacosx-min-version=10.4 when compiling, not just linking, and have the SDK installed (from Xcode 3), otherwise this option just causes it to just silently use the oldest available SDK (which was 10.6). I also had to recompile the FB rtlib. Try it out.

I'd love to hear from anyone with OS X 10.4.

http://tmc.castleparadox.com/ohr/temp/OHRRPGCE-2012-08-19-wip.dmg

EDIT: I forgot to mention two important things. Firstly, I haven't yet recompiled the utilities included in Custom: hspeak, madplay, oggenc, so they probably won't work. Secondly, there's a nasty bug on Mac that makes lots of editors in Custom pretty unusuable; there should hopefully be an Alectormancy+3 release soon.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Mon Aug 27, 2012 7:59 am    Post subject: Reply with quote

So did you, or anyone else, ever try out the second build? I still have no idea whether it works.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Thu Jan 31, 2013 4:41 pm    Post subject: Reply with quote

sorry bout the delayed response but it didnt work. were you saying i have to compile somthing?
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Feb 01, 2013 3:26 am    Post subject: Reply with quote

No, no compilation is required on your end.

I had a look at the build that I uploaded in August, and I can see that it was not correctly compiled to support 10.4/10.5. I don't know what went wrong. (EDIT: it appears that I uploaded the wrong file AND posted the wrong link!) Since then I've incorporated my changes into the main OHR SVN repository so that all Mac builds available from hamsterrepublic.com would hopefully support 10.4 & 10.5. But I just checked the nightly builds, and they're not correctly compiled either!

So I've built a nightly version myself which I hope is finally correct. You can get it here:

http://tmc.castleparadox.com/ohr/temp/OHRRPGCE-2013-02-01-wip.dmg
(This is a nightly excluding Vikings and the import folder)

Let me know if it works. If it doesn't could you please post the error messages you get when you try to open it? (You might have to run "open OHRRPGCE-Game.app" in a Terminal to see them... but I guess you already know that)

Also, I suspect that compiling and importing scripts (.hss/.txt files) and importing MP3 files may not work on 10.4 & 10.5. Could you please also try that out and let me know?

Thanks.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Feb 01, 2013 7:22 am    Post subject: Reply with quote

Is there something I need to do on the Mac nightly build box to fix compiling with 10.4 and 10.5 support?

EDIT: nevermind, I had not seen you e-mail yet :)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Sun Feb 03, 2013 7:48 pm    Post subject: Reply with quote

hey so good news, the custom file is working beautifully, and importing mp3s works fine. only problem is the app to run the rpg closes when i try to open it, this can be avoided by simply opening package contense, and selecting ohrrpgce-game, which runs the terminal, and for some reason works. completely usable on my end and thanks for all the help, now i can resume working on awesome original games!

(edit) i hadnt draged the rpg app out of the installer, upon doing so the launcher starts up just right. every thing works thanks a ton
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Feb 05, 2013 4:11 am    Post subject: Reply with quote

Wonderful! Thanks, that's a big relief. The programs not working when run from within a .dmg or other read-only media is a bug that I know about and have a half-finished fix for.

You didn't say whether HSpeak runs, but I assume you'll let me know if it doesn't.

We are planning to release a release candidate Beelzebufo in the coming weeks rather than do an Alectormancy+3 bugfix release. There will be a few more minor Mac bugs fixed in it.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
carsten




Joined: 17 Aug 2012
Posts: 16

PostPosted: Wed Mar 13, 2013 2:34 pm    Post subject: hspeak Reply with quote

yeah, just thought i try out scripting, and i think it has the same problem as before, again it says

Date/Time: 2013-03-13 16:28:52.769 -0600
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 2249C1E7-6148-4ADC-8A0C-01D77B654A8C

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

Dyld Error Message:
unknown required load command 0x80000022

is there any way to fix it? (happens when i manually try to open it in support folder in the package contense to.)
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Mar 14, 2013 4:06 am    Post subject: Reply with quote

Eeek.

Good thing that you reported this right before we release a Beelzebufo release candidate.

OK, it took me all evening, but I think managed to recompile Euphoria and HSpeak correctly. Could you please test this build (before Beelzebufo)?

Here is a nightly build (excluding Vikings and the import folder):
http://tmc.castleparadox.com/ohr/temp/OHRRPGCE-2013-03-14-wip.dmg

Here is a package with just the utilities, including hspeak, if you don't want to download all that (but then you'll have to invoke hspeak manually):
http://tmc.castleparadox.com/ohr/temp/utilities-mac.zip
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group