4

Have just moved some development from a Fedora system to Ubuntu, but I'm having a few problems.

I cannot find which package provides stb_image.h. On Fedora it was something starting stb or stbi, but nothing like that seems to exist with the synaptic package manager.

Can anyone point me to the right thing.

Thanks.

2 Answers2

4

There is a package now.

sudo apt install libstb-dev
4

It doesn't look like it's been packaged by anybody, but you can always clone from source:

git clone https://github.com/nothings/stb.git
sudo cp stb/stb_image.h /usr/local/include/
nixpower
  • 1,210
  • 6
  • 18