Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker Error Building EngineTest #301

Open
IvayloH opened this issue May 9, 2024 · 0 comments
Open

Linker Error Building EngineTest #301

IvayloH opened this issue May 9, 2024 · 0 comments

Comments

@IvayloH
Copy link

IvayloH commented May 9, 2024

`[62/63] Link [x64] EngineTestEditorCooked.exe
HoudiniBakeLevelInstanceUtils.cpp.obj : error LNK2005: "bool __cdecl operator==(struct FHoudiniLevelInstanceParams const &,struct FHoudiniLevelInstanceParams const &)" (??8@YA_NAEBUFHoudiniLevelInstanceParams@@0@Z) already defined in HoudiniLevelInstanceUtils.cpp.obj

HoudiniBakeLevelInstanceUtils.cpp.obj : error LNK2005: "unsigned int __cdecl GetTypeHash(struct FHoudiniLevelInstanceParams const &)" (?GetTypeHash@@YAIAEBUFHoudiniLevelInstanceParams@@@z) already defined in HoudiniLevelInstanceUtils.cpp.obj Creating library ...\EngineTest\Binaries\Win64\EngineTestEditorCooked.lib and object ...\EngineTest\Binaries\Win64\EngineTestEditorCooked.exp

...\EngineTest\Binaries\Win64\EngineTestEditorCooked.exe : fatal error LNK1169: one or more multiply defined symbols found`

Locally fixed by removing both implementations from the Utils files and instead implementing them inside the FHoudiniLevelInstanceParams struct itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant