Problems trying to compile plug-in on Mac
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-03
10:30 PM
- last edited on
2023-08-01
06:54 PM
by
Doreena Deng
2013-12-03
10:30 PM
I have developed a plug-in on Windows for ArchiCAD 16 and it works fine. Now I'd like to create a Mac version of the same and I'm having lots of problems.
My Mac is running OSX 10.7.4 and I'm using XCode 4.6.3. I've also installed the API SDK for ArchiCAD 16.
I opened the DG_Test example project and of course got a bunch of errors. So I selected a 10.6 platform and changed the compiler to the default (LLVM 4.2) and managed to get it to say it had built the project (with only one warning). But I can't find the APX file anywhere on the disk. Is there some magic I need to get it to actually build something?
I did try the 3.2 compiler but it crashed every time I opened any of the example project so I gave up on that.
What I really want to do, of course, is build my own project. On Windows there was a tool to create a default Add-on project but there doesn't seem to be a command for that on the Mac. Is there any information anywhere about how to set up a new project for an ArchiCAD add-on?
I have plenty of Windows dev experience but I haven't developed on a Mac in 15 years or so... So advice and guidance would be appreciated.
Les
My Mac is running OSX 10.7.4 and I'm using XCode 4.6.3. I've also installed the API SDK for ArchiCAD 16.
I opened the DG_Test example project and of course got a bunch of errors. So I selected a 10.6 platform and changed the compiler to the default (LLVM 4.2) and managed to get it to say it had built the project (with only one warning). But I can't find the APX file anywhere on the disk. Is there some magic I need to get it to actually build something?
I did try the 3.2 compiler but it crashed every time I opened any of the example project so I gave up on that.
What I really want to do, of course, is build my own project. On Windows there was a tool to create a default Add-on project but there doesn't seem to be a command for that on the Mac. Is there any information anywhere about how to set up a new project for an ArchiCAD add-on?
I have plenty of Windows dev experience but I haven't developed on a Mac in 15 years or so... So advice and guidance would be appreciated.
Les
Labels:
- Labels:
-
Add-On (C++)
4 REPLIES 4
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-03-31 09:36 AM
2014-03-31
09:36 AM
Output is not .apx but .bundle


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-03-31 04:58 PM
2014-03-31
04:58 PM
Hi Les,
if you successfully built an example AddOn's project then the compiled AddOn should be placed to:
{Project Folder}/build/{Debug or Release}/{AddOn name}.bundle
This bundle can be copied to ArchiCAD's Add-Ons folder.
Best Regards,
Tibor
if you successfully built an example AddOn's project then the compiled AddOn should be placed to:
{Project Folder}/build/{Debug or Release}/{AddOn name}.bundle
This bundle can be copied to ArchiCAD's Add-Ons folder.
Best Regards,
Tibor

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-05-16 01:27 PM
2014-05-16
01:27 PM
LesWoolsey wrote:
On Windows there was a tool to create a default Add-on project but there doesn't seem to be a command for that on the Mac. Is there any information anywhere about how to set up a new project for an ArchiCAD add-on?
A Project Template for Xcode 4+ will be available in API DevKit 18.
So similar than on Windows Visual Studio you will be able to generate a skeleton Add-On project on Mac which has the proper build settings.
Tibor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-05-27 01:02 PM
2014-05-27
01:02 PM
Tibor wrote:That is good news.LesWoolsey wrote:
On Windows there was a tool to create a default Add-on project but there doesn't seem to be a command for that on the Mac. Is there any information anywhere about how to set up a new project for an ArchiCAD add-on?
A Project Template for Xcode 4+ will be available in API DevKit 18.
So similar than on Windows Visual Studio you will be able to generate a skeleton Add-On project on Mac which has the proper build settings.
Tibor
I strongly advice you to make it dead-easy to get started. I've struggled a lot with it some years ago and mostly gave up on it. I do have several add-in ideas, but lack time and experience to make them reality.
In the mean time, I'm now quite fluent in Unity with C# scripting and am learning Revit API as well, which is a more accessible, alas.
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book