<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to start api (c++) in 26? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/367606#M1347</link>
    <description>&lt;P&gt;How to start api (c++) in 26?&lt;BR /&gt;There was a template up to 25, but if it was changed to cmake, how should I start?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1673852686637.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33428i36DC76C40193CA22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1673852686637.png" alt="LeeJaeYoung_0-1673852686637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 07:07:58 GMT</pubDate>
    <dc:creator>LeeJaeYoung</dc:creator>
    <dc:date>2023-01-16T07:07:58Z</dc:date>
    <item>
      <title>How to start api (c++) in 26?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/367606#M1347</link>
      <description>&lt;P&gt;How to start api (c++) in 26?&lt;BR /&gt;There was a template up to 25, but if it was changed to cmake, how should I start?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1673852686637.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33428i36DC76C40193CA22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1673852686637.png" alt="LeeJaeYoung_0-1673852686637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 07:07:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/367606#M1347</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-16T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to start api (c++) in 26?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/367670#M1348</link>
      <description>&lt;P&gt;Searching this forum for 'cmake' gives a lot of results, but perhaps these two topics may answer your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-forum/CMake-Template-for-Archicad-Add-Ons/m-p/220809" target="_blank"&gt;https://community.graphisoft.com/t5/Developer-forum/CMake-Template-for-Archicad-Add-Ons/m-p/220809&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-forum/CMAKE-ADDON/m-p/252101" target="_blank"&gt;https://community.graphisoft.com/t5/Developer-forum/CMAKE-ADDON/m-p/252101&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 20:08:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/367670#M1348</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2023-01-16T20:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to start api (c++) in 26?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/369056#M1349</link>
      <description>&lt;P&gt;thank you so much ^^.&lt;/P&gt;&lt;P&gt;zip file from &lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake-template" target="_blank"&gt;https://github.com/GRAPHISOFT/archicad-addon-cmake-template &lt;/A&gt;&lt;/P&gt;&lt;P&gt;to C:\Users\----------------\Documents\Visual Studio 2019\Templates Can I just copy it to \ProjectTemplates\Visual C++ Project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1675002701717.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33911iFBEA7793C615B371/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1675002701717.png" alt="LeeJaeYoung_0-1675002701717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can't find it?&lt;/P&gt;&lt;P&gt;1. Where should I copy it?&lt;BR /&gt;2. How to find it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 14:32:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/369056#M1349</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-29T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to start api (c++) in 26?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/370145#M1350</link>
      <description>&lt;P&gt;If you haven't already, install cmake 3.16+ and Python 2.7+ or 3.8+.&lt;/P&gt;&lt;P&gt;After that, create a directory called Build inside the extracted folder and start a command prompt inside that new folder. Input the command to generate the project using cmake.&lt;/P&gt;&lt;P&gt;The shortest version of that command would be something along the lines of:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;cmake -G "Visual Studio 16 2019" -A "x64" -DAC_API_DEVKIT_DIR="Replace with the full path to your Archicad devkit Support folder" ..&lt;/LI-CODE&gt;&lt;P&gt;You can add the optional parameters listed on the README of the &lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake" target="_self"&gt;cmake template repository&lt;/A&gt; in order to populate those settings when generating the project.&lt;/P&gt;&lt;P&gt;If you're using a different Visual Studio Version you can change the value of the -G parameter as per the &lt;A href="https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html" target="_self"&gt;cmake docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anyway, running this command will generate the project files. Bear in mind that while this will create Visual Studio project files (.proj) and a Visual Studio solution file (.sln), you should not open them directly on Visual Studio. What you should use instead is the built-in Visual Studio support for cmake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to do that, you must have the C++ Cmake tools for Windows installed (you can install it through the Visual Studio Installer). After that is done, open Visual Studio and choose the option to open a local folder, pointing it to the project folder. If you've never worked with them together, you should check out &lt;A href="https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170" target="_self"&gt;the official docs about using cmake with Visual Studio&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's the gist of it. There are some Visual Studio specific setup you can make to streamline some of that stuff (such as defining the API_DEVKIT var on the CmakeSettings.json that Visual Studio creates in order to build for different AC versions and so on), but that's something that depends on your own particular needs.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 14:34:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-start-api-c-in-26/m-p/370145#M1350</guid>
      <dc:creator>gustavorochakv</dc:creator>
      <dc:date>2023-02-09T14:34:20Z</dc:date>
    </item>
  </channel>
</rss>

