Hello. I currently have developed an fbx model importer and am currently on trying to get animations to work. However, the code I'm going off of is in the samples/UserProperties, and DisplayAnimation, is giving me some unresolved externals in my own code.
On the line:
lCurve->KeySet(2, lKeyTime, 2.0, FbxAnimCurveDef::eInterpolationConstant, (FbxAnimCurveDef::ETangentMode)FbxAnimCurveDef::eConstantStandard);
I get the LNK2001 error: unresolved externals of sDEFAULT_WEIGHT and sDEFAULT_VELOCITY.
I am unsure how to go about attempting animation without access to the ETangentMode enum.
I have a pretty good understanding about how I'm going about to get animations working, but I need to get to a point where I can test, and am unable to due to these errors. any help would be greatly appreciated.
I have attached my two animation files, which are seperate from my model import in case they are needed.
I will be spending my next few weeks on this until I figure this out, and again, any help would be greatly appreciated.
The samples link lib\vs2019\x64\$(Configuration)\libfbxsdk-md.lib and compile well.
Linking libfbxsdk.lib which uses libfbxsdk.dll will fail with this link error.
libfbxsdk.lib dynamic linking requires preprocessor definition FBXSDK_SHARED.
See: FBX SDK Help | Configuring the FBX SDK for Windows | Autodesk
Adding FBXSDK_SHARED solves the link error.
Can't find what you're looking for? Ask the community or share your knowledge.