Skip to content

undefined reference to `typeinfo for JPH::DebugRenderer' #1578

Answered by jrouwe
Shinkeys asked this question in Q&A
Discussion options

You must be logged in to vote

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 the CPP_RTTI_ENABLED flag correctly. I can only guess how you include Jolt in your own project, you may have to do set(CPP_RTTI_ENABLED ON) before including Jolt's cmake file or you may have to do something else.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Shinkeys
Comment options

@jrouwe
Comment options

Answer selected by Shinkeys
@Shinkeys
Comment options

@Shinkeys
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants