I assume the error message building your program stems from the include files out of SFML. If you:
Qt Code:
  1. #include <wchar.h>
  2. #include <SFML/...>
To copy to clipboard, switch view to plain text mode 
in your source files does that straighten it out?