Skip to content

Linker error trying to modify editor moduleΒ #18

@cristiangj

Description

@cristiangj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions