realbasic-games
[Top] [All Lists]

Re: Quesa Declares

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Quesa Declares
From: Frank Condello <developer at chaoticbox dot com>
Date: Wed, 20 Dec 2006 15:26:28 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <5C68E78B-ED73-4162-9AFC-55BB60748752 at miensoftware dot com> <EB611F3F-A382-4E42-BD55-B021E46DCC3D at chaoticbox dot com> <B9C15CD7-85F1-4E17-AA14-4DB36E156838 at miensoftware dot com>
It seems odd that hard declares aren't working... Are you sure soft declares are actually linking or are they simply letting your app run until you try to call Quesa and inevitably crash? I.e. Are you guaranteeing Quesa has been found by using System.IsFunctionAvailable?

I recall Dave from RS saying he got Joe's and Jeff's Armageddon running on Intel using the procedure I've outlined below so I'm not sure what the problem may be.

Frank.
<http://developer.chaoticbox.com/>
<http://macgameblog.com/>

On 20-Dec-06, at 12:22 PM, Lo Saeteurn wrote:

It crashes with that, but if I soft declare it, it works. Now I have a problem with the game crashing within 5 seconds of running. Not sure if it's even Quesa related now.

On Dec 20, 2006, at 1:06 AM, Frank Condello wrote:

On 20-Dec-06, at 3:32 AM, Lo Saeteurn wrote:

Does anyone know if this issue has ever been resolved with the latest version of RB? My project has been put on hold since I only have an intel Mac and it runs at 1-2 FPS at best under Rosetta. I need Universal Binaries.

I don't have an Intel Mac but UB builds/declares work fine on my PPC Mac. You need to grab the UB Quesa framework from <http:// quesa.sourceforge.net/> and place it in ./Library/Frameworks/ or ~/ Library/Frameworks/ for debug builds and package it in the app bundle's framework folder for release builds. Then use the following path for declares: @executable_path/../Frameworks/ Quesa.framework/Versions/A/Quesa (that will work in debug builds despite the fact that it points to the app bundle).

The last time I checked the Quesa.framework was bloated with extraneous binaries and headers and you had to explicitly ask for the "/Versions/A/Quesa" binary or all hell would break loose - the framework could definitely use some cleaning up...




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>