Archicad C++ API
About Archicad add-on development using the C++ API.

Xcode 3.1 compile error for IntelMac 10.4/10.5 Add-on

Anonymous
Not applicable
Hi Everyone,

I'm trying to compile some of the examples in API DevKit 11.21 on OSX Intel 10.5 using Xcode 3.1 and I consistantly get the following error:

> Rezzing RFIX.mac/Plan_Dump.r(1 error)
> SysError 0 during open of "ResTmpl.r"

I get the same error whether compiling for 10.4 or 10.5

Has anyone ever encountered this problem? From what I can deduce from the Apple Developer Docs, the error is related to Carbon Libraries.

Any suggestions would be greatly appreciated.

Many thanks,

Nicholas Rogers
2 REPLIES 2
Ralph Wessel
Mentor
nikko wrote:
I'm trying to compile some of the examples in API DevKit 11.21 on OSX Intel 10.5 using Xcode 3.1 and I consistantly get the following error:
> Rezzing RFIX.mac/Plan_Dump.r(1 error)
> SysError 0 during open of "ResTmpl.r"
I get the same error whether compiling for 10.4 or 10.5
"ResTmpl.r" is an include file bundled with the ArchiCAD API, and is required for compiling an add-on's resources. It can be found in the Support/Inc directory of your API dev kit. Jut add a path to this directory to the list of Rez Search Paths (see attached image)
rez.jpg
Ralph Wessel BArch
Anonymous
Not applicable
Thanks very much Ralph,

It turned out that my installation of Xcode 3.1 was the problem.

I reinstalled Xcode 3.1 without the iPhone SDK and everything is working as expected. (Code compiles)

Thanks very much for the help,

Nicholas Rogers