Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

New Developer - Can't Build Examples (API DevKit)

$
0
0
Author:Akos Somorjai
Posted: Mon Jul 24, 2017 12:07 pm (GMT+1)


Cedric Tran wrote:
Karl Ottenstein wrote:
Cedric Tran wrote:
I have downloaded the API Dev Kit 19 and VS Studio 2015. I can now open the project but when I'm trying to build it, I get several sythax errors like these :


Your first question was about API kit 18. Now, you're using 19. Still, Akos' response was that VS 2015 was for AC 21 and above. Presumably, you should be using VS 2010 for the 19 kit...(?)

Edit/PS: The first error concerning _THROW1 on line 70 suggests that the compiler options are not set to properly handle preprocessor statements, since line 35 defines it:
#define _THROW1 throw
simply as a macro alias...


Hello,
Thank you for your answer.
I know what the first answer was about I'm sorry. I'm lost and I try to build something and my first add-on with any version of Archicad from AC15 in order to begin some development. I know I will be able to develop something with the documentation as soon as I configure the IDE properly. I'm going to try your advice for this error.
Thank you Smile

PS : Sorry for my poor English.


I would recommend downloading the ARCHICAD 21 devkit, because that works with the VS2015 compiler. You can also get a trial / educational license for ARCHICAD 21, so if you just want to start with API programming, that should be sufficient.

And don't worry about your English, at least half of the folks here are non-native speakers Smile

Best, Akos


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>