Skip to content

Linker error trying to modify editor module #18

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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