Incbin not working?

BlitzMax Forums/BlitzMax Programming/Incbin not working?

Kemi(Posted 2006) [#1]
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?


Dreamora(Posted 2006) [#2]
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


Gabriel(Posted 2006) [#3]
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.


ftbass(Posted 2006) [#4]
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.


DannyD(Posted 2006) [#5]
I have the exact same problem, incbin works on Mac Os X but I need to include the incbined file on Windows.


ozak(Posted 2006) [#6]
Never seen this issue. My incbins works on OSX and Windows just fine with latest release (1.20) + syncmods.


Kemi(Posted 2006) [#7]
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).