We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

outdated Add-On

Fy2rain
Visitor

I'm just start with the archicad-addon-cmake, it works fine and i decide to go a little deeper.

 

But i got this "The file is an outdated Add-On that cannot be used with this Archicad version." The version of archicad-api-devkit/releases/tag/27.3001  and Archicad was both 27. And i'm using VS2022. Some another dependencies(dlls for link) put under the install floder of Archicad.

 

Also try to use Dependency walk to check the output .apx file, it shows all dependencies was found.

 

By the way, i didn't have a MDID and using DEMO env for testing. Is that the reason?

 

 

 

1 REPLY 1
Ralph Wessel
Mentor

Is there any chance you picked the wrong toolset when building from Cmake? The latest toolset for VS 2022 is v143, but Archicad is built with v142 and will only load add-ons built with that toolset. The command-line expression for using cmake should include with, e.g. (note the v142 argument):

cmake -B Build -G "Visual Studio 17 2022" -A x64 -T v142 -DAC_API_DEVKIT_DIR=<DevKitSupportDir> .

 

Ralph Wessel BArch
Software Engineer Speckle Systems