Cannot open SDL support on Qemu

8,410

Solution 1

Yes, this is one of 3 stages I had to pass in my journey to compile qemu for raspberry pi emulation on Ubuntu. SDL gets solved running on console:

apt-get install libsdl-dev-image1.2-dev

And then the next issue you will undoubtedly have:

git submodule update --init pixman

Solution 2

If:

    apt-get install libsdl-dev-image1.2-dev

doesn't work, then try:

    apt-get install libsdl1.2-dev
Share:
8,410

Related videos on Youtube

Himiko
Author by

Himiko

I am always a student.

Updated on September 18, 2022

Comments

  • Himiko
    Himiko over 1 year

    When I compile qemu for arm platform, I configure as follows:

    ./configure --cross-prefix=arm-linux-gnueabi- --target-list=arm-softmmu --enable-kvm --enable-sdl --static
    

    But get errors below:

    ERROR: User requested feature sdl ERROR: configure was not able to find it
    

    I don't know what's wrong I use Ubuntu 12.04 with libsdl1.2dev on it I download the source code of qemu from its official site

  • Andrey Dobryakov
    Andrey Dobryakov over 7 years
    Is there an extra "dev" in the suggested package name? I cannot find the suggested package on 16.04 but there is a libsdl-image1.2-dev which also seems to be in precise packages.ubuntu.com/precise/libsdl-image1.2-dev