Hello,
Just trying to use the SDK for the first time, and I want to use this line:
FbxAnimStack* currAnimStack = mFBXScene->GetSrcObject<FbxAnimStack>(0);
But including this line results in the following linker error:
error LNK2001: unresolved external symbol "public: static class fbxsdk::FbxClassId fbxsdk::FbxAnimStack::ClassId" (?ClassId@FbxAnimStack@fbxsdk@@2VFbxClassId@2@A)
How can this be resolved? I have the library linked and I am using many of the other SDK functions fine, I've got the mesh loading and exporting in my own format, I've got the skeletal structure loaded. But now that I want the animation data loaded, I can't get past the above block. That line makes all the difference to whether it looks for this particular static symbol or not.
Best wishes and thanks in advance,
Matt
libfbxsdk-md.lib is a static library for Multi-threaded DLL runtime. Try using FBXSDK_SHARED. Be careful, likning statically to fix this SDK issue, means that you are redistributing FBX code, which you are not allowed without Autodesk approval...
Can't find what you're looking for? Ask the community or share your knowledge.