-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: undefined reference to typeinfo #5
Comments
Thanks for the report. I'm not super-strong on C++ so this is curious to me too. What compiler (and version) are you using? Since inheritance is used so lightly, if no other solution turns up I can always add a #define to conditionally adjust things. |
Oh hmm... this gives a clue: |
I am building the Android Tree |
Hmm... the fact that you fixed it by commenting out the |
I've created PR #6 which makes it so that HSM no longer inherits from FSM. Without that, lack of RTTI should hopefully not be an issue. Could you try it out? |
Sure. Hopefully have it checked by Wednesday. |
FYI
I got a linker error when trying to build a android library using another library that has the TrimWright .h and .cpp in it.
The error is:
out/target/product/myExperiment/obj_arm/SHARED_LIBRARIES/libneorender_intermediates/src/UsRenderer.o:UsRenderer.cpp:typeinfo for gfx::UsRenderer: error: undefined reference to 'typeinfo for StateMachineTrimWright::FSM'
The error was resolved by making the function below non virtual (it doesn't make sense to me why this would be a linker issue).
The text was updated successfully, but these errors were encountered: