I’m trying to compile for carla-simulator in UBT22.04 UE5.5 and getting linker errors.
ld.lld: error: undefined symbol: UUserToolBoxBaseBlueprint::Execute()
>>> referenced by Module.UserToolBoxCore.cpp
>>> ../Plugins/Experimental/UserToolBoxCore/Intermediate/Build/Linux/x64/UnrealEditor/Development/UserToolBoxCore/Module.UserToolBoxCore.cpp.o:(vtable for UUserToolBoxBaseBlueprint)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
and I found that execute() is
#include "UserToolBoxBaseBlueprint.h"
void UUserToolBoxBaseBlueprint::Execute()
{
Command(); // 调用蓝图事件
}
The Command() is called in other func and there were no errors there, only occurs here. How to fix this problem?