I need to import a complex fbx model into C++. By complex I mean that it has a lot of vertices,cameras and so on.As far as I saw this is done using the ViewScene sample.I want to take that sample and make a new project but it gives me some linking errors such as:
1> main.cpp
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall SceneContext::SceneContext(char const *,int,int,bool)" (??0SceneContext@@QAE@PBDHH_N@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "bool __cdecl InitializeOpenGL(void)" (?InitializeOpenGL@@YA_NXZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall SceneContext::~SceneContext(void)" (??1SceneContext@@QAE@XZ) referenced in function "public: void * __thiscall SceneContext::`scalar deleting destructor'(unsigned int)" (??_GSceneContext@@QAEPAXI@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall SceneContext::SetCurrentAnimStack(int)" (?SetCurrentAnimStack@SceneContext@@QAE_NH@Z) referenced in function "void __cdecl CreateMenus(void)" (?CreateMenus@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SceneContext::OnTimerClick(void)const " (?OnTimerClick@SceneContext@@QBEXXZ) referenced in function "void __cdecl TimerCallback(int)" (?TimerCallback@@YAXH@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall SceneContext::LoadFile(void)" (?LoadFile@SceneContext@@QAE_NXZ) referenced in function "void __cdecl DisplayCallback(void)" (?DisplayCallback@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall SceneContext::OnDisplay(void)" (?OnDisplay@SceneContext@@QAE_NXZ) referenced in function "void __cdecl DisplayCallback(void)" (?DisplayCallback@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SceneContext::OnReshape(int,int)" (?OnReshape@SceneContext@@QAEXHH@Z) referenced in function "void __cdecl ReshapeCallback(int,int)" (?ReshapeCallback@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SceneContext::OnKeyboard(unsigned char)" (?OnKeyboard@SceneContext@@QAEXE@Z) referenced in function "void __cdecl KeyboardCallback(unsigned char,int,int)" (?KeyboardCallback@@YAXEHH@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SceneContext::OnMouse(int,int,int,int)" (?OnMouse@SceneContext@@QAEXHHHH@Z) referenced in function "void __cdecl MouseCallback(int,int,int,int)" (?MouseCallback@@YAXHHHH@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall SceneContext::OnMouseMotion(int,int)" (?OnMouseMotion@SceneContext@@QAEXHH@Z) referenced in function "void __cdecl MotionCallback(int,int)" (?MotionCallback@@YAXHH@Z)
1>D:\LuminusCore\Debug\LuminusCore.exe : fatal error LNK1120: 11 unresolved externals
I have added the Fbx includes/libs to the project, but I would like to know what else should I add in order to get rid of those errors.
Later Edit:
Sorry forgot to mention, I am using visual C++ 2010.