0 Members and 1 Guest are viewing this topic.
Error 1 error C2039: 'abort' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 21 1 smfl_ogl_testingError 3 error C2039: 'exit' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 24 1 smfl_ogl_testingError 2 error C2873: 'abort' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 21 1 smfl_ogl_testingError 4 error C2873: 'exit' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 24 1 smfl_ogl_testing 5 IntelliSense: the global scope has no "abort" c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 21 13 6 IntelliSense: the global scope has no "exit" c:\program files\microsoft visual studio 10.0\vc\include\cstdlib 24 13
#include <SFML/Window.hpp> #pragma comment(lib, "sfml-system-s-d.lib")#pragma comment(lib, "sfml-window-s-d.lib")int main(){ // Create the main window sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window"); bool Running = true; while (Running) { App.Display(); } return EXIT_SUCCESS; }
Error 50 error LNK1120: 12 unresolved externals C:\Users\epidemicz\documents\visual studio 2010\Projects\sfml_ogl_testing\Debug\sfml_ogl_testing.exe sfml_ogl_testingError 19 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ) C:\Users\epidemicz\documents\visual studio 2010\Projects\sfml_ogl_testing\sfml_ogl_testing\sfml-window-s-d.lib(VideoMode.obj) sfml_ogl_testingError 25 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) C:\Users\epidemicz\documents\visual studio 2010\Projects\sfml_ogl_testing\sfml_ogl_testing\sfml-window-s-d.lib(WindowImpl.obj) sfml_ogl_testingError 27 error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) C:\Users\epidemicz\documents\visual studio 2010\Projects\sfml_ogl_testing\sfml_ogl_testing\sfml-window-s-d.lib(WindowImplWin32.obj) sfml_ogl_testing