Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / Unresolved external symbol...
  RSS 2.0 ATOM  

Unresolved external symbol...
Rate this thread
 
49955
 
Permlink of this thread  
avatar
  • Total Posts: 38
  • Joined: 29 November 2010 01:07 PM

When I try to use the FBX SDK in my game I get this error:

1>Ax.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static class fbxsdk_2011_3_1::KFbxSdkManager * __cdecl fbxsdk_2011_3_1::KFbxSdkManager::Create(void)” (__imp_?Create@KFbxSdkManager@fbxsdk_2011_3_1@@SAPAV12@XZ) referenced in function “class AxInstance * __cdecl AxCreate(unsigned long)” (?AxCreate@@YAPAVAxInstance@@K@Z)

I get an unresolved external symbol ever time I use one of the SDKs function. The error above came from this line of code:

instance->FBXManager KFbxSdkManager::Create();

I used fbxsdk_md2010d.lib since I am using the “Multi-threaded Debug DLL (/MDd)” compiler option and I am using Visual C++ 2010 Express.

I then downloaded Visual Stupid 2008 so that I could try to get the examples working but they all link to a non existing lib named: fbxsdk_20113_1d.lib when I link them to what appears to be the correct lib they give me the same unresolved external symbol errors that my project gives me…

EDIT: Also I would like to add that I am already using KFBX_DLLINFO so it’s not that.



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

Hello, SteveDeFacto, FBX SDK 2011.3.1 provided two sets of libraries, a dynamic set and a static set.
It sounds like what you installed is the static libs, and then you tried to compile a dynamic configured example with the static libs, that’s why it failed to find these symbols in the libs.

You need to stick on one, static 2011.3.1 or dynamic 2011.3.1. You may delete the one you have now, then choose the static or dynamic one and re-install FBX SDK 2011.3.1, and then compile the examples under your installation folder, by default they will be under the following folder:
C:\Program Files\Autodesk\FBX\FbxSdk\2011.3.1\examples.

Author: Jiayang Xu

Replied: 29 November 2010 07:37 PM  
avatar

Thank you for your reply but I just realized I posted the error I was getting before I figured out that I needed to use KFBX_DLLINFO. I edited my first post with the correct error and I would be very grateful if you could look at it again!



Replies: 0