0 Members and 1 Guest are viewing this topic.
main.obj : error LNK2019: unresolved external symbol "public: void __thiscall sftools::Animated::Play(void)" (?Play@Animated@sftools@@QAEXXZ) referenced in function "int __cdecl loadResources(void)" (?loadResources@@YAHXZ)1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall sftools::Animated::SetAnim(class sftools::Anim const &,bool)" (?SetAnim@Animated@sftools@@QAEXABVAnim@2@_N@Z) referenced in function "int __cdecl loadResources(void)" (?loadResources@@YAHXZ)1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall sftools::Frame::Frame(class sf::Image const &,class sf::Rect<int> const &,class sf::Color const &)" (??0Frame@sftools@@QAE@ABVImage@sf@@ABV?$Rect@H@3@ABVColor@3@@Z) referenced in function "int __cdecl loadResources(void)" (?loadResources@@YAHXZ)1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall sftools::Frame::Frame(class sftools::Frame const &)" (??0Frame@sftools@@QAE@ABV01@@Z) referenced in function "protected: void __thiscall std::vector<class sftools::Frame,class std::allocator<class sftools::Frame> >::_Insert_n(class std::_Vector_iterator<class sftools::Frame,class std::allocator<class sftools::Frame> >,unsigned int,class sftools::Frame const &)" (?_Insert_n@?$vector@VFrame@sftools@@V?$allocator@VFrame@sftools@@@std@@@std@@IAEXV?$_Vector_iterator@VFrame@sftools@@V?$allocator@VFrame@sftools@@@std@@@2@IABVFrame@sftools@@@Z)1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall sftools::Animated::Animated(float,bool,bool)" (??0Animated@sftools@@QAE@M_N0@Z) referenced in function "void __cdecl `dynamic initializer for 'Whizzle''(void)" (??__EWhizzle@@YAXXZ)1>main.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall sftools::Animated::~Animated(void)" (??1Animated@sftools@@UAE@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'Whizzle''(void)" (??__FWhizzle@@YAXXZ)1>C:\Whizzle\Debug\Whizzle.exe : fatal error LNK1120: 6 unresolved externals
How can I compile files to libraries ?
and should I compile cpp files our headers !?