Open nlbuescher opened 4 years ago
I'm having trouble finding the details now but the combination of JVM, Windows and stbi_load
breaks because of some encoding issue (haven't tested this myself). I decided to postpone the addition of this method until I did some testing myself.
Defining STB_NO_STDIO
may have been overkill :sweat_smile:, so I'll remove it and let it be a workaround for now, until I add the method.
The work-around is now available in 0.1.9-dev-7
. Will leave this issue open until wrapper is made.
or equivalent
are not present in
kgl-stb
, and at this point, there is no good way to interact with files usingkotlinx-io
because of the massive restructuring they're doing right now.The cinterop def explicitly defines
STB_NO_STDIO
, which prevents the generation ofstbi_load
, butstbi_load
works fine with cinterop. What was the reason for definingSTB_NO_STDIO
?