-1

I want use SDL2 in my project. For that I need lib and include SDL2 files. I was trying to install SDL2 with

apt-get install libsdl2-dev

but get an errors:

The following packages have unmet dependencies:
 libpulse-dev : Depends: libpulse0 (= 1:14.2-1ubuntu1) but 1:14.2-1ubuntu1.1 is to be installed
                Depends: libpulse-mainloop-glib0 (= 1:14.2-1ubuntu1) but 1:14.2-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.

How I can fix it?

Ubuntu Description: Ubuntu 21.04 Release: 21.04 Codename: hirsute

1 Answers1

1

So, I can't find a reason of errors of sdl2 package, but manual compilation from source helps me install it (./configure, sudo make install).