Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML won't run with updated ATI drivers  (Read 4730 times)

0 Members and 1 Guest are viewing this topic.

Beta_Ravener

  • Jr. Member
  • **
  • Posts: 51
    • ICQ Messenger - 271426715
    • View Profile
SFML won't run with updated ATI drivers
« 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 :
Code: [Select]
'gravity.exe': Loaded 'C:\Windows\System32\aticfx32.dll'
Debug doesn't even enter main() procedure so I think this isn't my fault.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML won't run with updated ATI drivers
« Reply #1 on: March 15, 2011, 05:59:25 pm »
I know ;)
Laurent Gomila - SFML developer

Beta_Ravener

  • Jr. Member
  • **
  • Posts: 51
    • ICQ Messenger - 271426715
    • View Profile
SFML won't run with updated ATI drivers
« Reply #2 on: March 15, 2011, 06:14:27 pm »
I suppose there's no easy way of fixing, so is there at least last known version of ATI drivers working with SFML?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML won't run with updated ATI drivers
« Reply #3 on: March 15, 2011, 07:01:38 pm »
You can try to statically link SFML.

As far as I remember, the last working ATI drivers are 10.8.
Laurent Gomila - SFML developer

Beta_Ravener

  • Jr. Member
  • **
  • Posts: 51
    • ICQ Messenger - 271426715
    • View Profile
SFML won't run with updated ATI drivers
« Reply #4 on: March 15, 2011, 07:25:06 pm »
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..

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML won't run with updated ATI drivers
« Reply #5 on: March 15, 2011, 07:26:08 pm »
Static libraries are the ones that have a "-s" suffix.

What errors do you get?
Laurent Gomila - SFML developer

Beta_Ravener

  • Jr. Member
  • **
  • Posts: 51
    • ICQ Messenger - 271426715
    • View Profile
SFML won't run with updated ATI drivers
« Reply #6 on: March 15, 2011, 07:30:44 pm »
Code: [Select]
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...

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
SFML won't run with updated ATI drivers
« Reply #7 on: March 15, 2011, 07:51:34 pm »
Quote from: "Laurent"
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

Beta_Ravener

  • Jr. Member
  • **
  • Posts: 51
    • ICQ Messenger - 271426715
    • View Profile
SFML won't run with updated ATI drivers
« Reply #8 on: March 15, 2011, 09:01:41 pm »
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..