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 - okeidar

Pages: [1]
1
System / Re: limker error when using sf::time operators
« on: November 02, 2014, 08:29:44 pm »
Well... there's no reason why a default SFML build wouldn't work with a standard Visual Studio 2010 project. And there's no reason why only sf::Time operators would trigger such a linker error.

I'd say there's something wrong in your environment, but it's hard to say what.

well i  hope ot wont happen again :)
its wierd because i read that windows application should compile with __stdcall and that WINAPI is actually an __stdcall definition..

thanks everybody:)

2
System / Re: limker error when using sf::time operators
« on: November 02, 2014, 11:41:39 am »
yes i understand, but why does sf::time operators work with __cdecl and not with __stdcall?

3
System / Re: limker error when using sf::time operators
« on: November 02, 2014, 08:59:46 am »
OK i have changed the calling convention from __stdcall to __cdecl
and it fixed the errors.
can anyone explain how does it matters?

4
System / Re: limker error when using sf::time operators
« on: November 02, 2014, 08:24:00 am »
Yes, I meant preprocessor SFML_STATIC, thank you.
i use sfml 2.1 on VS2010 on Windows 7.
I thought i might not have the most recent version so i downloaded the latest.

5
System / limker error when using sf::time operators
« on: November 01, 2014, 04:39:38 pm »
Hello!
when i use a the operators of sf::time i get the following error
(click to show/hide)

now i have checked the linker settings and i do link it to sfml static libraries and define the precompiled header.
when i use sf::time methods other then the operators i get no messages

Thank you for reading :)

Pages: [1]
anything