You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassDwebble:ModuleRules{publicDwebble(ReadOnlyTargetRulesTarget):base(Target){PCHUsage=PCHUsageMode.UseExplicitOrSharedPCHs;Type=ModuleType.CPlusPlus;PublicAdditionalLibraries.AddRange([Path.Combine(PluginDirectory,@"Bindings\dwebble.lib"),]);// PublicPreBuildLibraries.Add(Path.Combine(PluginDirectory, @"Bindings\dwebble.lib"));PublicIncludePaths.AddRange(newstring[]{// ... add public include paths required here ...Path.Combine(PluginDirectory,@"target\cxxbridge")});
...
We've been building a DLL for use with Unreal, and this is certainly a bit of a PITA, looks like the same issue.
This issue appears related to #1153. There are some workarounds in there, but for us they didn't work very well, with a mess of conflicting symbols coming from our dependencies (although for your basic case, they might be fine, our dependencies aren't trivial). There's probably an elegant solution, but I couldn't find one. Some other issues that seem potentially relevant:
Uh oh!
There was an error while loading. Please reload this page.
I was testing integrating cxx to Unreal Engine custom plugin to call a simple rust function from c++.
this is my file structure
this is src/lib.rs
build.rs
unreal build.cs
c++ code in unreal
when building in unreal a compiler error prompted
What am i missing to do?
using msvc 14.44.
The text was updated successfully, but these errors were encountered: