Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ARodrigues

Pages: [1]
1
Graphics / Animation using sftools::Animated
« on: December 26, 2009, 03:46:32 am »
Quote from: "Hiura"

ARodrigues, have you added Frame.cpp to your project ?

Sure ^^

2
Graphics / Animation using sftools::Animated
« on: December 23, 2009, 12:48:35 am »
Hi there,

I'm using the same libs and I have these errors:

Code: [Select]

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:

Code: [Select]


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:

3
General / Basic error
« on: October 11, 2009, 02:58:22 pm »
Already solved.
I have placed the wrong dll xD

Thanks for help  :lol:

4
General / Basic error
« on: October 11, 2009, 02:38:00 pm »
Yes is in the same directory. It gives error with no more DLL

5
General / Basic error
« on: October 10, 2009, 06:20:55 pm »
Gave this error in the first tutorial :?
Ups I forgot sfml-main lib :oops:

Thanks   :D

edit: but for some reason can't find sfml-window.dll  :(

6
General / Basic error
« on: October 10, 2009, 05:43:05 pm »
Hello everyone,

I already link the libs but still with this error:

1>MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup

What should I do?

Pages: [1]
anything