简体   繁体   中英

Compile errors when building a project using fbx SDK in Visual Studio/C++

I am trying to build a project about loading fbx objects in OpenGL. I used this resource's codes: https://github.com/sho3la/FBX-Loader-OpenGL-C-

But I got these compile errors:
'GetCacheChannel': is not a member of 'fbxsdk::FbxVertexCacheDeformer'
'IsActive': is not a member of 'fbxsdk::FbxVertexCacheDeformer'
'lHasVertexCache': an object of const-qualified type must be initialized
'SetActive': is not a member of 'fbxsdk::FbxVertexCacheDeformer'

I have also seen Compile error when building fbxsdk headers in visual studios and https://docs.microsoft.com/en-us/dotnet/visual-basic/misc/bc30456 and done their suggestions, but still, there are not any changes in these errors.

AutoDesk has changed its libraries. Therefore for using these functions in those errors, instead of using FBX SDK 2020, I used FBX SDK 2014.2.1 VS2012, and it works for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM