When Attempting to build and run the test program:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
I get this Error:
1>------ Build started: Project: Attempting To Make a Game, Configuration: Debug Win32 ------
1>Source.obj : error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)
1>Source.obj : error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)
1>C:\Users\littl\source\repos\Attempting To Make a Game\Debug\Attempting To Make a Game.exe : fatal error LNK1120: 2 unresolved externals
1>Done building project "Attempting To Make a Game.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If I could get some help that would really be useful.
My computer specs if that helps :
Windows 10 Pro
AMD BLACK FX-6350@4.27GHz
Asus M5A99
16GB DDR3 Patriot RAM
GTX 1070 6GB
EVGA 650+ Gold
Samsung 1TB 7200RPM
Samsung EVO 250GB Sata3
WD 250GB
I believe I am using version SFML 2.5.1 x64 on VS2017-V15.8.9
Let me know if there is anything else I can grab that would help more.