Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trouble with FbxanimcurveDef

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
474 Views, 2 Replies

Trouble with FbxanimcurveDef

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.

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

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.

Message 3 of 3
Anonymous
in reply to: Anonymous

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.

Post to forums  

Autodesk Design & Make Report