在 yourproject.build.cs 中加入
裡面有很多我自己編譯的library
但不重要,重點在zlib的連結順序要對
// zlib must linked first and other must after opencv linked
AddThirdPartyPrivateStaticDependencies(Target, "zlib", "OpenCV");
// for opencv need
AddThirdPartyPrivateStaticDependencies(Target,
"libJasper",
"libJPG",
"UElibPNG",