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

Pages: [1]
1
Network / Re: cant compile, linker error
« on: April 21, 2016, 11:29:06 pm »
Sounds like you defined SFML_STATIC but you're linking SFML dynamically.

thank you! that solved it

2
Network / cant compile, linker error
« on: April 21, 2016, 07:23:01 pm »
hi,

i have only one line from sfml in my code:
return (sf::TcpSocket().connect(address, port) == sf::Socket::Done);

and i get:
1>MyForm.obj : error LNK2020: unresolved token (0A000674) "public: static class sf::Time const sf::Time::Zero" (?Zero@Time@sf@@2V12@B)
1>MyForm.obj : error LNK2001: unresolved external symbol "public: static class sf::Time const sf::Time::Zero" (?Zero@Time@sf@@2V12@B)

i'm using visual studio 14 and i added in:
project properties -> debug-> linker-> input:
ws2_32.lib
sfml-system-d.lib
sfml-window-d.lib
sfml-network-d.lib
sfml-audio-d.lib
sfml-graphics-d.lib

what am i missing?

thanks for the help...

Pages: [1]
anything