SFML community forums
Help => General => Topic started by: Beta_Ravener on March 15, 2011, 03:18:11 pm
-
I've downloaded new drivers for my ATI radeon 3870 HD (11.2 version) and now I can't run any of my program wrote with SFML. It compiles and everything, but running it results just in command line, but the main window doesn't show up and everything stuck. Last loading call from debug is :
'gravity.exe': Loaded 'C:\Windows\System32\aticfx32.dll'
Debug doesn't even enter main() procedure so I think this isn't my fault.
-
I know ;)
-
I suppose there's no easy way of fixing, so is there at least last known version of ATI drivers working with SFML?
-
You can try to statically link SFML.
As far as I remember, the last working ATI drivers are 10.8.
-
Trying to link statically, nope static linking(I hope those are libs without -d or -s) links smooth but fails to open. Linking those -s libs gives me bunch of linker errors about things already defined..
-
Static libraries are the ones that have a "-s" suffix.
What errors do you get?
-
1>glew32.lib(glew32.dll) : error LNK2005: _glewInit already defined in sfml-graphics-s.lib(glew.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _strtol already defined in LIBCMT.lib(strtol.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _strncmp already defined in LIBCMT.lib(strncmp.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _memmove_s already defined in LIBCMT.lib(memmove_s.obj)
1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "bool __cdecl std::operator==<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 &,char const *)" (??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z) already defined in shader.obj
1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::substr(unsigned int,unsigned int)const " (?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV12@II@Z) already defined in shader.obj
1>LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>C:\Users\Dark_Raven\Documents\Visual Studio 2008\Projects\OpenGl\gravity\Debug\gravity.exe : fatal error LNK1169: one or more multiply defined symbols found
I get more of them but it would be quite long post.. 49 to be precise and I included only glew32 and SFML...
-
You can try to statically link SFML.
As far as I remember, the last working ATI drivers are 10.8.
The last working driver is hotfix driver 10.10e
-
Ok thanks for info... couldn't get rid of those errors so rolling back my drivers to 10.10..
Edit: 1 more thing out of context.. could SFML collide with openGL somehow if I set preserve openGL states? I don't know implementation of it, but I got hard time with bugged samplers in shader program so I try to ask everywhere now..