If I comment-out the UE_LOG lines, it compiles fine. Otherwise, the UE_LOG is causing massive amounts of errors when I try to compile my project. My project is brand new, and I’m just trying to set it up so I have a Runtime and Editor modules, so I can create custom AnimGraph nodes.
Here’s the SMSFEditor.cpp code with the troublemaking UE_LOG commented out.
#include "SMSFEditor.h"
#include "Modules/ModuleManager.h"
#include "Modules/ModuleInterface.h"
IMPLEMENT_GAME_MODULE(FSMSFEditorModule, SMSFEditor);
#define LOCTEXT_NAMESPACE "SMSFEditor"
void FSMSFEditorModule::StartupModule()
{
//UE_LOG(SMSFEditor, Warning, TEXT("SMSFEditor: Log Started"));
}
void FSMSFEditorModule::ShutdownModule()
{
//UE_LOG(SMSFEditor, Warning, TEXT("SMSFEditor: Log Ended"));
}
#undef LOCTEXT_NAMESPACE
Here’s a sample of all the errors that uncommenting the above UE_LOG causes:
I was following the tutorial from: