无法在Ubuntu 16.04上安装libsdl1.2-dev

时间:2017-07-25 09:45:15

标签: ubuntu dependencies

我正在尝试在Ubuntu 16.04上安装这些库:

libsdl1.2-dev : Depends: libglu1-mesa-dev but it is not going
                    to be installed or libglu-dev
                Depends: libpulse-dev but it is not going to be installed

但它只显示此错误:

1. aptitude install
2. apt-get install -f

我试过了:

public class Foo
{
    private int Type { get; set; } = 0;

    public FooHelper FooHelper
    {
        get
        {
            switch (Type)
            {
                case 1:
                    return new FooHelper<Guid>("Foo", "Bar", "foobar", "", Guid.NewGuid());
                case 2:
                default:
                    return new FooHelper<int>("Bar", "Foo", "", "", 11);
            }
        }
    }

    public Foo(int type)
    {
        Type = type;
    }
}

我找不到除此之外的其他解决方案。

我该如何解决这个问题..?请帮帮我!

1 个答案:

答案 0 :(得分:0)

您可以尝试的另一件事是sudo apt install libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl1.2-dev