sunnlok
Topic Author
Posts: 30
Joined: 04 Jul 2017, 17:45

Requirement of typeinfo.h

20 Oct 2019, 23:53

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.

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Requirement of typeinfo.h

21 Oct 2019, 10:26

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.
 
sunnlok
Topic Author
Posts: 30
Joined: 04 Jul 2017, 17:45

Re: Requirement of typeinfo.h

21 Oct 2019, 15:31

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.
 
sunnlok
Topic Author
Posts: 30
Joined: 04 Jul 2017, 17:45

Re: Requirement of typeinfo.h

21 Oct 2019, 15:33

Ok apparently its a vs 2019 issue :D.
It has <typeinfo> instead of <typeinfo.h>
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Requirement of typeinfo.h

23 Oct 2019, 06:41

#1530

Yes, it seems so. Thanks for the feedback, please fix it locally till our next major version. Thanks!
 
Blobberblob
Posts: 1
Joined: 11 Nov 2019, 11:32

Re: Requirement of typeinfo.h

11 Nov 2019, 14:31

Hi,
how can one fix this for visual studio 2019?

Thanks.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Requirement of typeinfo.h

12 Nov 2019, 23:46

Hi,
how can one fix this for visual studio 2019?

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

Who is online

Users browsing this forum: No registered users and 1 guest