3dgen / 3dgen/cppwasm-book

exception thrown: NODEFS is no longer included by default; build with -lnodefs.js

Aperta Adatta ai principianti
#17 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.4k
Fork
170
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

运行example\ch3\03的nodefs.js时报错:
node nodefs.js
Debugger attached.
exception thrown: NODEFS is no longer included by default; build with -lnodefs.js
如果能帮忙解决,十分感谢!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The error occurs when running nodefs.js from the example/ch3/03 directory. First, examine the build command or Makefile in that example to see how the WebAssembly module is compiled. The fix is to add '-lnodefs.js' to the emcc linker flags. Check the Emscripten documentation on NODEFS, then rebuild and test by running node nodefs.js again.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, wasm
Ambito
build-system
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
70/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.