-
Hey, I'm getting this error. I've checked previous discussions about that, but it didn't help. I've tried to disable RTTI for my project, although I did build that, it doesn't compile because in my understanding I have C code from OpenGL, GLAD etc which can't be used with this flag. Also I've tried to enable RTTI for Jolt but it does not compile either.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Good to mention that I have realization of this constructor as well as for all of these methods. |
Beta Was this translation helpful? Give feedback.
-
If The other thing that looks suspicious is this:
If Jolt was compiled without this setting then defining it here will cause unresolved external symbols like |
Beta Was this translation helpful? Give feedback.
Try running
make -n
to see if the-frtti
argument is present when compiling Jolt's files. If you see-fno-rtti
then you are not passing theCPP_RTTI_ENABLED
flag correctly. I can only guess how you include Jolt in your own project, you may have to doset(CPP_RTTI_ENABLED ON)
before including Jolt's cmake file or you may have to do something else.