安装源码包和emcc
npm run setup:wasm
注意:Debug和Release不要同时编译,否则缓存丢失!
编译
npm run build
编译debug 编译速度更快
npm run build
生成sln文件
npm run sln
异常信息
try
{
pipe.Build();
}
catch (Standard_Failure const& e) {
std::cerr << "捕获到异常:" << e.GetMessageString() << std::endl;
}
//移除了BuildHistory函数 \occ\OCCT\src\BRepFill\BRepFill_PipeShell.cxx