I am using Visual Studio Community 2013, and I can't build my thing.
This is the only error I got:
Error1 error LNK1104: cannot open file '(ditionalDependencies).obj'
So it still won't let me build it!
Here's my code if it helps:
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <iostream>
#include <string>
int main()
{
sf::RenderWindow splash_screen(sf::VideoMode(800, 600), "Welcome", sf::Style::Close);
// This allows the splash_screen to run as fast as the monitor refresh rate.
splash_screen.setVerticalSyncEnabled(true);
while (splash_screen.isOpen())
{
// Creates an Event variable.
sf::Event close;
// The pollEvent checks if Event "close" is the event with most priority.
while (splash_screen.pollEvent(close))
{
// When the close button is pressed, the window will close.
if (close.type == sf::Event::Closed)
splash_screen.close();
}
// Makes window blue
splash_screen.clear(sf::Color::Blue);
splash_screen.display();
}
return 0;
}
I copied an pasted it from my other project, and nothing was wrong with the other one. (I copied it because I still couldn't figure out how to change a Console application to a Windows application)