Incbin not working?
BlitzMax Forums/BlitzMax Programming/Incbin not working?
I Incbin all the neccesary files and create a path-variable like
path$="incbin::"
to assign that later when loading files.
Compiled for Mac OS X it works fine.
Compiled for Windows it still needs the folders with the files in it, like incbin did't work.
Anyone with the same problem or any ideas?
hu?
If you incbin something like incbin "media/pic.png", you must load it the same way ie loadimage("incbin::media/pic.png")
Or did you mean something different?
thought thats the way it works on OSX as well
Remember that Incbin paths are case sensitive. At least they are on Windows, so if they're not on Mac, this may account for the discrepancy.
I wasted a lot of time because I didn't know that incbin was case sensitive in the early versions of BlitzMax (at least with Windows).
I don't know if it's still. You can check that first.
I have the exact same problem, incbin works on Mac Os X but I need to include the incbined file on Windows.
Never seen this issue. My incbins works on OSX and Windows just fine with latest release (1.20) + syncmods.
I updated, snymodded and rebuild modules and now the incbin stuff seems to work, finally.
However, the openurl still doesn't work (my other post here).