1
General / SFML freezes when mouse moves (VS 2010)
« on: August 25, 2011, 12:38:33 am »
I too am seeing this, in VS2005 / SFML2.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <iostream>
#include <SFML/Graphics.hpp>
int main(int argc, char **argv)
{
std::cout << "Main entry." << std::endl;
sf::Image img;
img.LoadFromFile("test.bmp");
std::cout << "Image loaded." << std::endl;
int i;
std::cin >> i;
return 0;
}
<GL/glew.h> - OpenGL extension handler
<SFML/Window.hpp>
<SFML/System/Clock.hpp>
<SFML/Graphics.hpp>
<SFML/Network.hpp>
#include <iostream>
#include <SFML/Network.hpp>
int main(int argc, char **argv)
{
std::cout << "Hello, world!" << std::endl;
return 0;
}
1>C:\Program Files\Microsoft SDKs\Windows\v6.1\include\ws2def.h(567) : error C2467: illegal declaration of anonymous 'struct'
SFML/Network.hpp
SFML/Network/Ftp.hpp
SFML/Network/SocketTCP.hpp
SFML/Network/SocketHelper.hpp
SFML/Network/Win32/SocketHelper.hpp
winsock2.h
ws2def.h
Quote2. Has anyone got any tips on getting this to work on 1.6?
Don't know if it's true, but...
http://cboard.cprogramming.com/windows-programming/105719-errors-including-windows-h.html#post776204