dpkg -L libsdl2-dev
[...]
/usr/include/SDL2/SDL.h

libsdl2-dev is already the newest version (2.0.10+dfsg1-1ubuntu1).
and yet
ls: cannot access '/usr/include/SDL2/SDL.h': No such file or directory
can someone make this make sense?

@mavica_again the list of files given by dpkg doesn't reflect what's on the filesystem; it's what was put there when the package was installed. if files were removed or modified after it was installed it wouldn't know. I don't know why those files were removed in the first place.

you can force a package to be reinstalled ("apt install --reinstall") which should fix the problem.

Follow

@lafp that explains it - this image already had libsdl2-dev marked as installed without me having to do it. so it probably did it like so because of a prior setup, or to avoid downloading files (this is a pre-packaged linux for a handheld system)

@lafp in the end though i just ended up learning how to chroot with qemu to cross-compile for armhf

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!