-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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).
// This dispatches an event to the current state.
// It doesn't generally need to be overridden by child classes.
//virtual void dispatch(const Event* event);
void dispatch(const Event* event);
Metadata
Metadata
Assignees
Labels
No labels