Closed OniEnzeru closed 7 months ago
The checksum and such aren't terribly important here, since the hacky way of building the tarball might screw with that anyway... Like I said in the other comment, I think that this type of thing should probably be handled in a more graceful way, but it will probably require changes to the kos-ports setup that I don't want to necessarily deal with right now...
The checksum and such aren't terribly important here, since the hacky way of building the tarball might screw with that anyway... Like I said in the other comment, I think that this type of thing should probably be handled in a more graceful way, but it will probably require changes to the kos-ports setup that I don't want to necessarily deal with right now...
Yeah no worries- just glad to have something in for this, hopefully we find a more graceful solution in the future but for now it gets things rolling. Thanks!
STB_Image is a single header library that makes loading for many common images types as simple as a single line of code. This removes the need for users, especially new ones, to go through the hassle of writing texture loading boiler plate.
Was talking w/ @gyrovorbis about this and we feel it would be a great addition to KOS.
As I post this, it's 4AM my time so I still need to work a few things out such as the verification SHA256 hash etc. but that being said, I was able to make install clean the port, and get it working in my PNG example ( PR'd for KOS as a draft ). That PR doesn't have the latest code for that but changing the header to <stb_image/stb_image.h> and adding -lstb_image in the make file linker flags should allow it to work.