We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2013-12-13 07:26 PM - last edited on 2023-08-01 04:38 PM by Doreena Deng
2013-12-15 01:28 PM
AndorSzamos wrote:Which version of the API are you working with, e.g. 17?
I get an error:
1>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
1>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
1>c:\program files (x86)\graphisoft\api development kit
when I include model.hpp
Any ideas what could be the problem?
2013-12-16 01:57 AM
2013-12-17 03:06 PM
AndorSzamos wrote:Does your code define EPS anywhere?
Hi Ralph,
Thanks for your reply.
I am using 17 and I started to modify listing manager as a base project .
I am able to compile modelaccess without errors.
2014-01-14 05:05 PM
2014-01-14 05:12 PM
AndorSzamos wrote: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.
In realnumber.h EPS is already defined, it is the same code as in ModelAccess.