#include
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
return 0;
}
вот ошибка
1>------Построение начато: проект: fgf, Конфигурация: Debug Win32 ------
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A000408) "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@$$FQAE@III@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A000409) "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@$$FQAE@PBDABVlocale@std@@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A00040A) "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0RenderWindow@sf@@$$FQAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A00040B) "public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (??1RenderWindow@sf@@$$FUAE@XZ) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (??1RenderWindow@sf@@$$FUAE@XZ) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0RenderWindow@sf@@$$FQAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@$$FQAE@III@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@$$FQAE@PBDABVlocale@std@@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>c:users1234documentsvisual studio 2010ProjectsfgfDebugfgf.exe : fatal error LNK1120: 8 неразрешенных внешних элементов
========== Построение: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ==========
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
return 0;
}
вот ошибка
1>------Построение начато: проект: fgf, Конфигурация: Debug Win32 ------
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A000408) "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@$$FQAE@III@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A000409) "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@$$FQAE@PBDABVlocale@std@@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A00040A) "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0RenderWindow@sf@@$$FQAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2028: ссылка на неразрешенную лексему (0A00040B) "public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (??1RenderWindow@sf@@$$FUAE@XZ) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (??1RenderWindow@sf@@$$FUAE@XZ) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0RenderWindow@sf@@$$FQAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@$$FQAE@III@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>tect.obj : error LNK2019: ссылка на неразрешенный внешний символ "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@$$FQAE@PBDABVlocale@std@@@Z) в функции "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>c:users1234documentsvisual studio 2010ProjectsfgfDebugfgf.exe : fatal error LNK1120: 8 неразрешенных внешних элементов
========== Построение: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ==========