Difference between AC versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-07
04:55 PM
- last edited on
2022-09-29
10:10 AM
by
Daniel Kassai
Edit: Sorry, it is asked in another topic with not very relevant title so I didn't read it.
Solved! Go to Solution.
- Labels:
-
Add-On (C++)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 03:31 PM
n.mihaylov wrote:Add ObjectDatabase.framework from Support/Frameworks to "External Frameworks and Libraries".
I can not build it for Mac. I keep on getting 16 errors like this:
Undefined symbols for architecture x86_64:
"ODB::FieldType const& ODB::GetFieldType<GS::Guid>()", referenced from:
__GLOBAL__sub_I_ACAPlib.c in libACAP_STAT.a(ACAPlib.c.o)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 10:55 AM
AddOns must be rebuilt for each ARCHICAD main versions. So if you have an Add-On for AC22, then it won't work for AC23.
But if you have the source of the Add-On and you download the API Development Kit 23, then you will be able to rebuild you Add-On for AC23.
n.mihaylov wrote:Yes, it's correct. Please change not only the libraries in Support folder, I recommend you to change the whole Support folder
If I have a plugin for AC22, do I have to change only the libraries in Support folder or something else (and of course align the API functions definition changes) and build the plugin in order to load it in AC23?

Feel free to ask help, we will help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 10:58 AM
New API features in ARCHICAD 23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 03:19 PM
I swapped the whole Support folder and aligned the API functions. Now I can build the Add-On for Windows but following the same steps I can not build it for Mac. I keep on getting 16 errors like this:
Undefined symbols for architecture x86_64:
"ODB::FieldType const& ODB::GetFieldType<GS::Guid>()", referenced from:
__GLOBAL__sub_I_ACAPlib.c in libACAP_STAT.a(ACAPlib.c.o)
I had the same errors in Windows and I removed and included again in the project my lib files but here on Mac this does not help for now...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 03:31 PM
n.mihaylov wrote:Add ObjectDatabase.framework from Support/Frameworks to "External Frameworks and Libraries".
I can not build it for Mac. I keep on getting 16 errors like this:
Undefined symbols for architecture x86_64:
"ODB::FieldType const& ODB::GetFieldType<GS::Guid>()", referenced from:
__GLOBAL__sub_I_ACAPlib.c in libACAP_STAT.a(ACAPlib.c.o)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-10-08 03:34 PM

Thank you very much!