Hello I try to use the stb_image lib.
I made this minimal test for my question.
import stb_image/read as stbi
var width, height, nrChannels:int
var test = stbi.load("some_image.jpg", width, height, nrChannels, stbi.Default)
The compiler prints tons of errors like this.
/some_path/nimcache/read.o: In function `stbi_image_free':
read.c:(.text+0x4bd): multiple definition of `stbi_image_free'
One for every stbi function.
I just basically write the stbi readme example. I don't understand why this problem occurs.