cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

What is needed for ArchiCAD to use the plugin?

Not applicable
i have downloaded the latest API and have ArchiCAD running in DEMO mode (graphisoft hasnt given me my id yet) and after compiling the addon which compiles with only one warning:

ACAP_STAT.lib(ACAPlib.obj) : warning LNK4099: PDB 'api_c.pdb' was not found with '\Program Files\Graphisoft\API Development Kit 6.1\Support\Lib\Win\ACAP_STAT.lib' or at 'c:\Documents and Settings\matthew\My Documents\Visual Studio Projects\ArchiCAD Add-On1\Make.Win\Debug\api_c.pdb'; linking object as if no debug info

the add-on manager gives me this message:

The file is an outdated Add-On that cannot be used with this ArchiCAD version.

shouldnt the examples compile as a demo add-on out of the box without changing anything? If it helps to know, im on Windows XP SP2, using visual studio 2003

-- Matthew Peychich
1 REPLY 1
Andras Babos
Graphisoft Alumni
Strange. You should be able to use the default Add-On in the DEMO version.

Try opening the compiled Add-On with Visual Studio as a resource and check whether it has a 'VERS' and an 'MDID' resource in it. (It should have a 'VERS' resource for version 9.0 and an 'MDID' resource of 1 and 1.) If it doesn't then try again with a new project without touching the GRC files at all first.

... and just an other thought: make sure that the Visual Studio AC Add-On AppWizard uses the correct API DevKit directory to compile your Add-On.

HTH:
Andras.