Hi, colleagues,
Four year ago there was a thread here "Unresolved External Symbol" (
https://en.sfml-dev.org/forums/index.php?topic=14715.0) which remains unresolved.
Trying to set up Visual Studio 2015 to work with SFML I run into similar problem
In my 64 bit Win 7 ultimate SP 1 I have:
Visual Studio Community 2015 Version 14.0.25431.01 update 3.
It does not say if it is 86 or 64 but was installed from
en_visual_studio_community_2015_with_update_3_x86_x64_web_installer_8922963.exe
and says that it includes Visual C++ 2015 00322 20000 00000 AA787
SFML 2.5.1 for Visual C++ 14 (2015) - 64-bit downloaded from
www.sfml-dev.org/download/sfml/2.5.1/ I did and checked twice all the settings for the static version as prescribed at
www.sfml-dev.org/tutorials/2.5/start-vc.php I set Debug and Release for x64
Yet the sample code shown at
www.sfml-dev.org/tutorials/2.5/start-vc.php returns a bunch of errors "LNK2019 unresolved external symbol....." all referring to the first line of the code which is
#include <SFML/Graphics.hpp>
and blaming symbols like gkBlendFunc, glClearColor etc from files sfml-graphics-s-d.lib, sfml-window-s-d.lib and sfml-system-s-d.lib,
Obviously VS finds and opens necessary libraries yet does not understand them.
In that old thread mentioned one of the suspects was C++ compiler which in VS10 was 32bit
How shall I find out if C++ compiler in my VS-2015 is 32 or 64?
if it is 64 what could be other possible reasons for errors?
Do I have incompatible version of VS and SFML? Or my setting in VS are wrong?