I tried for the first time to download the latest SVN and as you can guess I've run into some problems.
I've copied and replaced the include/SFML folder but when I try to run this code it won't work.
#include <SFML/Graphics.hpp>
int main(int argc, char *argv[])
{
sf::RenderWindow RenderWindow(sf::VideoMode(800,600,32),"Test");
sf::Event Event;
bool Loop = true;
while(Loop)
{
while(RenderWindow.GetEvent(Event))
{
if(Event.Type == sf::Event::Closed)
Loop = false;
}
RenderWindow.Display();
}
}
When I try to run this code it says: [Linker error] undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, std::string const&, unsigned long, sf::WindowSettings const&)'
Obviously I'm missing something here but I'm a complete noob at this and need some help.
________
vapir air one