Failed to load driver: swrast



  • Hello all!

    I faced with problem to run qtCreator on my ubuntu 14.04.

    @unmanner@host:~/Downloads$ export LIBGL_DEBUG=verbose
    unmanner@host:~/Downloads$ ../Qt/Tools/QtCreator/bin/qtcreator
    QXcbConnection: Failed to initialize XRandr
    Qt: XKEYBOARD extension not present on the X server.
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
    libGL: Can't open configuration file /home/unmanner/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/unmanner/.drirc: No such file or directory.
    libGL error: failed to load driver: swrast
    function is no-op@

    Could you please help me?



  • hii
    i think you need to install opengl lib in order to build and run your program
    find how to do that from following link
    http://qt-project.org/forums/viewthread/42116/
    or
    http://qt-project.org/doc/qt-5/linux.html#Debian
    hope it helps



  • Hi, thank you for reply.

    Unfortunately it does not helps (sudo apt-get install build-essential libgl1-mesa-dev)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.