GenericGraph
GenericGraph copied to clipboard
Linker error trying to modify editor module
Severity Code Description Project File Line Suppression State Error LNK2005 IMPLEMENT_MODULE_GenericGraphEditor already defined in EdGraph_GenericGraph.cpp.obj
This is because you have the IMPLEMENT_MODULE macro on GenericGraphEditor.h causing a double definition when is imported on the .cpp file. Moving the macro to the end of the .cpp file will resolve this issue.
PD: Also you forgot to add ";" at the end of the macro
+1, this looks like a Unity compilation issue. Once a file is edited and knocked out of the Unity build, it will generate this error.
I'm going to submit a pull request to fix this issue, I've also just experienced this. Might as well fix it while I'm here.
Here is the fix #31