Hi there,
I'm using the same libs and I have these errors:
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 "class sftools::Anim __cdecl AnimImage(class sf::Image,int,int,int,int,int)" (?AnimImage@@YA?AVAnim@sftools@@VImage@sf@@HHHHH@Z)
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 __catch$?_Insert_n@?$vector@VFrame@sftools@@V?$allocator@VFrame@sftools@@@std@@@std@@IAEXV?$_Vector_const_iterator@VFrame@sftools@@V?$allocator@VFrame@sftools@@@std@@@2@IABVFrame@sftools@@@Z$0
in this function:
sftools::Anim AnimImage ( const sf::Image& Image, int imgWidth, int imgHeight, int iFrame, int lFrame, int Aux )
{
sftools::Anim anim;
for ( int i = iFrame; i < lFrame; i++ )
{
anim.PushFrame ( sftools::Frame ( Image, sf::IntRect ( ( i * imgWidth ),
(Aux * imgHeight),
( ( i * 1 ) * imgWidth ),
( ( i * 1 ) * imgHeight )
) ) );
}
return anim;
}
Can anyone tell me where're the errors? I can't find them :shock: