On 16-Sep-06, at 1:32 AM, Phil M wrote:

OK, so I finally downloaded and installed Xcode 2.4 (it took 14 hours because the first download failed around 90% complete after 6.5 hours).

The original problem continued... even with the update to 2.4, even with Dave Addey's template, even with the beta Plugin SDK.

But I finally figured out what the error was... even though the "Includes" and "Glue Code" was linked correctly within the IDE, for some reason GCC was only looking for these files and directories within the project directory. Once I found that the paths were different, I duplicated the folders from the Plugin SDK into the project folder. Is this normal?

That's one way to do it, but you'll have to remember to use fresh copies whenever you download a new SDK. A safer way to do this is to change the "Header Search Paths" and "Prefix Header" paths in the target settings...

You can use the absolute paths for those settings, but what I do is define a source tree in the Xcode preferences called RBPLUGINSDK that points to the SDK root - e.g. "/path/to/REALbasic/Plugins SDK/" (without the quotes!) then use "$(RBPLUGINSDK)Includes/ RBCarbonHeaders.h" for the prefix header (again without the quotes) and add "$(RBPLUGINSDK)Includes/" to the header search paths (WITH the quotes!) This will automatically find new SDK installs in the same location, and if you ever move the SDK you only need to update source tree path.

HTH!
Frank.
<http://developer.chaoticbox.com/>


_______________________________________________
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>

Reply via email to