Hi all,
By giving the linker the --preload-file flag with the appropriate folder I 
was able to successfully create and access the emscripten FS from cpp as I 
usually would.
However I would like to be able to create a FS separately from the 
compilation process. It just feels wrong.
I was able to use the file_packager.py to create a .data and .js file.
I tried running the filesystem.js before my main .js file in my custom 
index.html, and got an error:
Module.addRunDependency is not a function
Any idea what am I doing wrong? What is the best way to create and access 
FS in emscripten? Should I just preload in the linker?
Thanks!
Ronny

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/31e7e544-610b-48c4-993a-b8272037c6e1n%40googlegroups.com.

Reply via email to