Monday, November 29, 2010

fatal error: alsa/asoundlib.h: No such file or directory - building Qt Mobility 1.1.0

If you get this error message while compiling Nokia's Qt Mobility 1.1.0 :

In file included from audio/qaudiodevicefactory.cpp:60:
audio/qaudiodeviceinfo_alsa_p.h:57: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make[2]: *** [../../build/Debug/QtMultimediaKit/qaudiodevicefactory.o] Error 1
make[2]: Leaving directory `/home/ceefour/Vendor/qt-mobility-opensource-src-1.1.0/src/multimedia'
make[1]: *** [sub-multimedia-make_default] Error 2
make[1]: Leaving directory `/home/ceefour/Vendor/qt-mobility-opensource-src-1.1.0/src'
make: *** [sub-src-make_default-ordered] Error 2

You need to install ALSA Shared Library headers. In Ubuntu you just need to:

sudo apt-get install libasound2-dev

10 comments:

  1. What is a “Fatal Error: Device Discovery” and how can I make it go away?

    ReplyDelete
  2. How do i stop fatal error messages that come up at start and shut down my computer?

    ReplyDelete
  3. I installed the full game Black Ops from the DVD but after completing Its giving Fatal Error Steam must be run?

    ReplyDelete
  4. How do i stop fatal error messages that come up at start and shut down my computer?

    ReplyDelete
  5. How do I fix this fatal error where my graphics card dosen't support these requirements?

    ReplyDelete
  6. How do i stop fatal error messages that come up at start and shut down my computer?

    ReplyDelete
  7. How do i stop fatal error messages that come up at start and shut down my computer?

    ReplyDelete
  8. What should i do when i got a message in my pc says fatal error and physical dumbing?

    ReplyDelete
  9. Thank you. This was very helpful!

    ReplyDelete

Be the first to comment!