3

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.

1
  • 2
    May libsoil-dev package be related (it has /usr/include/SOIL/stb_image_aug.h)? – N0rbert Jan 2 '18 at 20:59
2

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/
2
  • Ok. Thanks done that. Works. Just a little suprised it's not available on Ubuntu, whereas it is with Fedora. Fedora are usually very picky about what they package. – j harris Jan 3 '18 at 17:28
  • Cool! If you wouldn't mind, please accept my answer since it worked for you. – nixpower Jan 3 '18 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.