Commit f105761f by wester

assimp läuft

parent 21dc0221
......@@ -25,7 +25,7 @@ public class MasterTestProject : ModuleRules
PrivateDependencyModuleNames.AddRange(new string[] { });
LoadAssimp2(Target);
LoadAssimp(Target);
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
......@@ -44,22 +44,21 @@ public class MasterTestProject : ModuleRules
{
isLibrarySupported = true;
// string PlatformString = (Target.Platform == UnrealTargetPlatform.Win64) ? "x64" : "x86";
string LibrariesPath = Path.Combine(ThirdPartyPath, "assimp", "lib", "Debug");
string dllPath = Path.Combine(ThirdPartyPath, "assimp", "bin", "Debug");
// string PlatformString = (Target.Platform == UnrealTargetPlatform.Win64) ? "x64" : "x86";
string LibrariesPath = Path.Combine(ThirdPartyPath, "assimp", "bin64", "code", "Debug");
// string dllPath = Path.Combine(ThirdPartyPath, "assimp", "bin", "Debug");
//test your path with:
//using System; Console.WriteLine("");
Console.WriteLine(".. Target {0}", Target.Platform);
Console.WriteLine("... LibrariesPath -> " + LibrariesPath);
Console.WriteLine("... DLLPath -> " + dllPath);
// Console.WriteLine("... DLLPath -> " + dllPath);
PublicLibraryPaths.Add(LibrariesPath);
PublicLibraryPaths.Add(dllPath);
//PublicLibraryPaths.Add(dllPath);
PublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "assimp-vc140-mt.lib"));// + PlatformString + ".lib"));
PublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "zlibstaticd.lib"));
PublicDelayLoadDLLs.Add(Path.Combine(dllPath, "assimp-vc140-mt.dll"));
PublicDelayLoadDLLs.Add(Path.Combine(dllPath, "assimp.ilk"));
//sPublicAdditionalLibraries.Add(Path.Combine(LibrariesPath, "zlibstaticd.lib"));
// PublicDelayLoadDLLs.Add(Path.Combine(dllPath, "assimp-vc140-mt.dll"));
}
if (isLibrarySupported)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment