wongfei / ue4-mediapipe-plugin

UE4 MediaPipe plugin
Apache License 2.0
294 stars 99 forks source link

UE4.26 build exe, Fatal Error LNK1169, VS2019 #16

Closed helihallow closed 3 years ago

helihallow commented 3 years ago

I was able to compile and build the plugin in UE4.26, it works well.

However when I package project to build an exe for Win64, with VS2019, a fatal error shows up:

fatal error LNK1169: one or more multiply defined symbols found UATHelper: Packaging (Windows (64-bit)): Took 543.9567754s to run UnrealBuildTool.exe, ExitCode=6

before this, it has also some others LNK2005 errors. Screenshot 2021-10-05 224607

Any thoughts on how to solve this?

wongfei commented 3 years ago

seems libprotobuf.lib used by mediapipe plugin conflicts with protobuf_full.lib used by some other plugin (for ex. WebRTC uses it)

as for now the only fix is to get rid of that other plugin

helihallow commented 3 years ago

Thank you! It works!