BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Cannot build Element_Test Add-On from Examples (AC 22 Windows)

Anonymous
Not applicable
Hello!

When trying to build the example Element_Test (MDID_APICD_ElementManager) with Ctrl+Shift+B I get several errors by Visual Studio coming from an xlocale file (see attachment). I do not have this problem with building any other of the Example add-ons. Is this example buggy or am I doing something wrong?

MSVC version: 14.13.26128 (attachment)

Edit: I now also updated my Dev environment to the latest VS version (15.9.2) and MSVC version 14.16.27023, but the problem remains.

Thanks,
- Dan
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Akos Somorjai
Graphisoft
Graphisoft
Hi Dan,

You have to use the Visual Studio 2015, or Visual Studio 2017 with the VS2015 toolset (see http://archicadapi.graphisoft.com/working-in-visual-studio-2017).

We'll switch to VS2017 in the ARCHICAD 23 API

Regards, Akos

View solution in original post

3 REPLIES 3
Solution
Akos Somorjai
Graphisoft
Graphisoft
Hi Dan,

You have to use the Visual Studio 2015, or Visual Studio 2017 with the VS2015 toolset (see http://archicadapi.graphisoft.com/working-in-visual-studio-2017).

We'll switch to VS2017 in the ARCHICAD 23 API

Regards, Akos
poco2013
Mentor
Akos wrote:
We'll switch to VS2017 in the ARCHICAD 23 API
Just wondering if VS2017 Community for MAC could be used on a MAC for the 23 API instead of XCODE??
Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
dfintha
Graphisoft Alumni
Graphisoft Alumni
Hi,

The macOS version of Microsoft Visual Studio does not support C++ development.
As such, it's improbable that it will be supported for add-on development.

Best regards,
Dénes
Learn and get certified!