Tradestar
(Tradestar)
1
Hello everyone,
I have added FBXSDK as a dependancy in Unreal Engine but I get the following error whenever I try to use FbxSurfaceMaterial::sDiffuse in code.
error LNK2001: unresolved external symbol “public: static char const * const fbxsdk::FbxSurfaceMaterial::sDiffuse”
The lib and the fbxsdk have all been included in the project and other FBXSDK code is running okay.
What could be the issue?
Thanks.
Tradestar
(Tradestar)
2
I figured I could use the fbxsdk that comes with Unreal Engine.
In project build file, I added “FBX” to dependencies list and included FBXImporter.h in my C++ file.
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "FBX" });
So all the required classes could be accessed without errors.
Thanks