> On Jul 20, 2019, at 10:15, キャロウ マーク <[email protected]> wrote: > > I have —preload-file testimages on my emcc command. testimages is a directory > of images. I am trying to load these in my app with, e.g, > fopen(”testimages/image.ktx2”, …). The open is failing. I am wondering if > perhaps the files are being put into MEMFS without the testimages parent > directory. I have not found any documentation beyond the very simple example > in the tutorial which only pre-loads a single file. So no help there. >
If my reading of the packaging documentation is correct, “testimages/foo”
should be readable as “testimages/foo” in the MEMFS. However I am getting file
not found error. How can I list the files that have been included in the .data
file after compilation? I’m sure there used to be a way when I was using
Emscripten a few years ago but I couldn’t find any mention in the documentation
now.
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/AEC53EAA-17D6-4CF6-B4B2-9B41D3077DCE%40callow.im.
signature.asc
Description: Message signed with OpenPGP
