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

AC17 Rendering API

Anonymous
Not applicable
The sample project does not compile (cannot find Vector3D.hpp). Including C:\Program Files %28x86%29\GRAPHISOFT\API Development Kit 17\Support\Modules\Geometry in the incl directories fixes that. But then it's missing MakePreviewData in the linking stage, which I cannot resolve.

Has anyone successfully compiled the AC17 rendering API sample yet?
4 REPLIES 4
PBartke
Graphisoft Alumni
Graphisoft Alumni
I think there is a mistake in RendererImp.hpp.

Open it (it should be somewhere in \Inc\RenderingDevLib\RendererImp.hpp) and change the declaration of MakePreviewData so it is an empty method (just like CancelAsync the method before MakePreviewData ). That should do the trick.
Anonymous
Not applicable
Thank you. That resolves the issue.
Marton Kiss
Graphisoft
Graphisoft
Thanks guys for bringing this up. We are going to check this on our end.
Marton Kiss
VP, Product Success
GRAPHISOFT
Marton Kiss
Graphisoft
Graphisoft
Marton wrote:
Thanks guys for bringing this up. We are going to check this on our end.
We've check it here, for AC 17 please use the workaround PBartke has mentioned and for the next DEV-Kit we will have this fixed.

Marton
Marton Kiss
VP, Product Success
GRAPHISOFT