cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

ApiCommon.c compilation errors archicad api 27

hossamamer7
Contributor

Hi guys,
I'm trying to setup my first template for archicad api 27 but when I used the template to create a new project I have many building errors.
I changed the platform toolset to visuak studio 2019 (v142) and the window sdk version to 10.0.20348.0 and c++ lanuage standard to iso c++ 17 standard.
if anyone could guide me it will be great.

thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi,

I suppose you're using old version template, could you try the attached new one?

HTH.

View solution in original post

2 REPLIES 2
Solution
LChen
Graphisoft
Graphisoft

Hi,

I suppose you're using old version template, could you try the attached new one?

HTH.

Yes, you are right, I was trying to use the template that was installed to the visual studio but after that I used this template from this repo it worked
GRAPHISOFT/archicad-addon-cmake: CMake Template for Archicad Add-Ons. (github.com)