Page 1 of 1

Requirement of typeinfo.h

Posted: 20 Oct 2019, 23:53
by sunnlok
I wanted to ask if building with RTTI is required for a custom integration on windows?
The docs dont say anything about this from what i have seen.
As of now i get compilation errors in regard to typeinfo.h since RTTI as well as exceptions are turned off for the engine.

Re: Requirement of typeinfo.h

Posted: 21 Oct 2019, 10:26
by jsantos
NoesisGUI does not need RTTI or exceptions enabled. What errors are you getting when including typeinfo.h? We will no longer include that file in the next major version by the way.

Re: Requirement of typeinfo.h

Posted: 21 Oct 2019, 15:31
by sunnlok
Thats great to hear!
The error is a simple "fatal error C1083: Cannot open include file: 'typeinfo.h': No such file or directory"
Its being pulled in via the noeses Interface.h/ReflectionEmpty.h .
Not sure if manually adding the path to it will break something.

Re: Requirement of typeinfo.h

Posted: 21 Oct 2019, 15:33
by sunnlok
Ok apparently its a vs 2019 issue :D.
It has <typeinfo> instead of <typeinfo.h>

Re: Requirement of typeinfo.h

Posted: 23 Oct 2019, 06:41
by jsantos
#1530

Yes, it seems so. Thanks for the feedback, please fix it locally till our next major version. Thanks!

Re: Requirement of typeinfo.h

Posted: 11 Nov 2019, 14:31
by Blobberblob
Hi,
how can one fix this for visual studio 2019?

Thanks.

Re: Requirement of typeinfo.h

Posted: 12 Nov 2019, 23:46
by jsantos
Hi,
how can one fix this for visual studio 2019?

Thanks.
As explained above and the ticket itself, just rename <typeinfo.h> to <typeinfo>