1
General / SFML2 and Visual Studio 2010
« on: April 24, 2010, 02:39:11 pm »
yes
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.
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Window::Window(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::WindowSettings const &)" (__imp_??0Window@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z)
sf::Window window(sf::VideoMode(640, 480, 32), "SFML Window");
int count = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, title.c_str(), static_cast<int>(title.size()), wTitle, sizeof(wTitle) / sizeof(*wTitle));
glutCreateSubWindow(win, 0, 0, WINDOW_W/2, WINDOW_H);