3dgen / 3dgen/cppwasm-book

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

未關閉 適合新手
#17 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
1.4k
分支
170
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp, wasm
領域
build-system
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
70/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。