16
General / VS2013 linker problems
« on: October 06, 2014, 03:31:06 pm »
Hi
Using the latest SFML built with VS2013, when I link my game project I get lots of unresolved externals, stuff like this:
Error 3 error LNK2001: unresolved external symbol __imp__glBindTexture@8 C:\Projects\game\sfml-graphics-s-d.lib(Texture.obj)
Error 7 error LNK2001: unresolved external symbol __imp__glGetIntegerv@8 C:\Projects\game\sfml-graphics-s-d.lib(Texture.obj)
Error 139 error LNK2019: unresolved external symbol __imp__timeGetDevCaps@8 referenced in function "void __cdecl sf::priv::sleepImpl(class sf::Time)" (?sleepImpl@priv@sf@@YAXVTime@2@@Z) C:\Projects\game\sfml-system-s-d.lib(SleepImpl.obj)
...I have built the SFML libraries as static....so I think this is a problem with the libraries I've build rather than the game. What have I missed.....?
Thanks
Ed
Using the latest SFML built with VS2013, when I link my game project I get lots of unresolved externals, stuff like this:
Error 3 error LNK2001: unresolved external symbol __imp__glBindTexture@8 C:\Projects\game\sfml-graphics-s-d.lib(Texture.obj)
Error 7 error LNK2001: unresolved external symbol __imp__glGetIntegerv@8 C:\Projects\game\sfml-graphics-s-d.lib(Texture.obj)
Error 139 error LNK2019: unresolved external symbol __imp__timeGetDevCaps@8 referenced in function "void __cdecl sf::priv::sleepImpl(class sf::Time)" (?sleepImpl@priv@sf@@YAXVTime@2@@Z) C:\Projects\game\sfml-system-s-d.lib(SleepImpl.obj)
...I have built the SFML libraries as static....so I think this is a problem with the libraries I've build rather than the game. What have I missed.....?
Thanks
Ed