<?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 Re: API realnumbers.h error in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217136#M5849</link>
    <description>&lt;BLOCKQUOTE&gt;AndorSzamos wrote:&lt;BR /&gt;In realnumber.h EPS is already defined, it is the same code as in ModelAccess.&lt;/BLOCKQUOTE&gt;
Yes, that's why I'm asking if you may have also defined EPS anywhere else. The error you reported can occur if EPS was already defined before RealNumber.h was parsed.</description>
    <pubDate>Tue, 14 Jan 2014 16:12:15 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2014-01-14T16:12:15Z</dc:date>
    <item>
      <title>API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217131#M5844</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I get an error:&lt;BR /&gt;&lt;FONT size="117"&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): error C2220: warning treated as error - no 'object' file generated&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): warning C4091: 'static ' : ignored on left of 'const double' when no variable is declared&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): error C2143: syntax error : missing ';' before 'constant'&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): error C2059: syntax error : 'constant'&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(79): warning C4091: 'static ' : ignored on left of 'const double' when no variable is declared&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(79): error C2143: syntax error : missing ';' before 'constant'&lt;BR /&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(79): error C2059: syntax error : 'constant'&lt;/FONT&gt;&lt;BR /&gt;when I include model.hpp&lt;BR /&gt;&lt;BR /&gt;Any ideas what could be the problem?&lt;BR /&gt;&lt;BR /&gt;I would like to get the elements in the opened model.&lt;BR /&gt;&lt;BR /&gt;Thx: Andor&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 14:38:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217131#M5844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-01T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217132#M5845</link>
      <description>&lt;BLOCKQUOTE&gt;AndorSzamos wrote:&lt;BR /&gt;I get an error:&lt;BR /&gt;
&lt;FONT size="14"&gt;1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): error C2220: warning treated as error - no 'object' file generated&lt;BR /&gt;
1&amp;gt;c:\program files (x86)\graphisoft\api development kit 17.3002\support\modules\geometry\RealNumber.h(76): warning C4091: 'static ' : ignored on left of 'const double' when no variable is declared&lt;BR /&gt;
1&amp;gt;c:\program files (x86)\graphisoft\api development kit &lt;BR /&gt;
&lt;BR /&gt;
when I include model.hpp&lt;BR /&gt;
Any ideas what could be the problem?
&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;
Which version of the API are you working with, e.g. 17?&lt;BR /&gt;
&lt;BR /&gt;
Also, are you able to compile the example project &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ModelAccess_test&lt;E&gt;&lt;/E&gt;?</description>
      <pubDate>Sun, 15 Dec 2013 12:28:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217132#M5845</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2013-12-15T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217133#M5846</link>
      <description>Hi Ralph,&lt;BR /&gt;
Thanks for your reply. &lt;BR /&gt;
&lt;BR /&gt;
I am using 17 and I started to modify listing manager as a base project .&lt;BR /&gt;
&lt;BR /&gt;
I am able to compile modelaccess without errors.</description>
      <pubDate>Mon, 16 Dec 2013 00:57:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217133#M5846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-16T00:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217134#M5847</link>
      <description>&lt;BLOCKQUOTE&gt;AndorSzamos wrote:&lt;BR /&gt;Hi Ralph,&lt;BR /&gt;
Thanks for your reply. &lt;BR /&gt;
&lt;BR /&gt;
I am using 17 and I started to modify listing manager as a base project .&lt;BR /&gt;
&lt;BR /&gt;
I am able to compile modelaccess without errors.&lt;/BLOCKQUOTE&gt;
Does your code define EPS anywhere?</description>
      <pubDate>Tue, 17 Dec 2013 14:06:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217134#M5847</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2013-12-17T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217135#M5848</link>
      <description>Ralph,&lt;BR /&gt;
&lt;BR /&gt;
Sorry for the late answer I was taking a break. Hope you had a nice holiday as well.&lt;BR /&gt;
&lt;BR /&gt;
In realnumber.h EPS is already defined, it is the same code as in ModelAccess.&lt;BR /&gt;
Is it better to reverse engineer ModelAccess?&lt;BR /&gt;
&lt;BR /&gt;
This is the include part of my code:&lt;BR /&gt;
&lt;BR /&gt;
#include	&amp;lt;math.h&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
#include	&amp;lt;string.h&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
#include	"ACAPinc.h"					// also includes APIdefs.h&lt;BR /&gt;
&lt;BR /&gt;
#include	"APICommon.h"&lt;BR /&gt;
#include	"DGModule.hpp"&lt;BR /&gt;
#include	"DG.h"&lt;BR /&gt;
&lt;BR /&gt;
#include	&amp;lt;Model.hpp&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
#include	"MDIDs_APICD.h"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If you outcomment #include Model.hpp everything works fine. using include "Model.hpp" doesn't help.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help.</description>
      <pubDate>Tue, 14 Jan 2014 16:05:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217135#M5848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T16:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: API realnumbers.h error</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217136#M5849</link>
      <description>&lt;BLOCKQUOTE&gt;AndorSzamos wrote:&lt;BR /&gt;In realnumber.h EPS is already defined, it is the same code as in ModelAccess.&lt;/BLOCKQUOTE&gt;
Yes, that's why I'm asking if you may have also defined EPS anywhere else. The error you reported can occur if EPS was already defined before RealNumber.h was parsed.</description>
      <pubDate>Tue, 14 Jan 2014 16:12:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/API-realnumbers-h-error/m-p/217136#M5849</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2014-01-14T16:12:15Z</dc:date>
    </item>
  </channel>
</rss>

