WebGL compile error??

The following error occurs while compiling through emscripten.
Can you tell me why?

1>wasm-ld : error : unable to find library -lTKBin.lib
1>wasm-ld : error : unable to find library -lTKBinL.lib
1>wasm-ld : error : unable to find library -lTKBinTObj.lib
1>wasm-ld : error : unable to find library -lTKBinXCAF.lib
1>wasm-ld : error : unable to find library -lTKBO.lib
1>wasm-ld : error : unable to find library -lTKBool.lib
1>wasm-ld : error : unable to find library -lTKBRep.lib
1>wasm-ld : error : unable to find library -lTKCAF.lib
1>wasm-ld : error : unable to find library -lTKCDF.lib
1>wasm-ld : error : unable to find library -lTKD3DHost.lib
1>wasm-ld : error : unable to find library -lTKD3DHostTest.lib
1>wasm-ld : error : unable to find library -lTKDCAF.lib
1>wasm-ld : error : unable to find library -lTKDFBrowser.lib
1>wasm-ld : error : unable to find library -lTKDraw.lib
1>wasm-ld : error : unable to find library -lTKernel.lib
1>wasm-ld : error : unable to find library -lTKExpress.lib
1>wasm-ld : error : unable to find library -lTKFeat.lib
1>wasm-ld : error : unable to find library -lTKFillet.lib
1>wasm-ld : error : unable to find library -lTKG2d.lib
1>wasm-ld : error : unable to find library -lTKG3d.lib
1>wasm-ld : error : too many errors emitted, stopping now (use -error-limit=0 to see all errors)
1>emcc : error : 'C:/emsdk/upstream/bin\wasm-ld.exe -o D:/01.Work/5.3DCAD/OCCWapper/Emscripten/Debug/OCCWapper.wasm Emscripten/Debug/Main.o -lTKBin.lib -lTKBinL.lib -lTKBinTObj.lib -lTKBinXCAF.lib -lTKBO.lib -lTKBool.lib -lTKBRep.lib -lTKCAF.lib -lTKCDF.lib -lTKD3DHost.lib -lTKD3DHostTest.lib -lTKDCAF.lib -lTKDFBrowser.lib -lTKDraw.lib -lTKernel.lib -lTKExpress.lib -lTKFeat.lib -lTKFillet.lib -lTKG2d.lib -lTKG3d.lib -lTKGeomAlgo.lib -lTKGeomBase.lib -lTKHLR.lib -lTKIGES.lib -lTKIVtk.lib -lTKIVtkDraw.lib -lTKLCAF.lib -lTKMath.lib -lTKMesh.lib -lTKMeshVS.lib -lTKMessageModel.lib -lTKMessageView.lib -lTKOffset.lib -lTKOpenGl.lib -lTKOpenGles.lib -lTKOpenGlesTest.lib -lTKOpenGlTest.lib -lTKPrim.lib -lTKQADraw.lib -lTKRWMesh.lib -lTKService.lib -lTKShapeView.lib -lTKShHealing.lib -lTKStd.lib -lTKStdL.lib -lTKSTEP.lib -lTKSTEP209.lib -lTKSTEPAttr.lib -lTKSTEPBase.lib -lTKSTL.lib -lTKTInspector.lib -lTKTInspectorAPI.lib -lTKTObj.lib -lTKTObjDRAW.lib -lTKToolsDraw.lib -lTKTopAlgo.lib -lTKTopTest.lib -lTKTreeModel.lib -lTKV3d.lib -lTKVCAF.lib -lTKView.lib -lTKViewerTest.lib -lTKVInspector.lib -lTKVRML.lib -lTKXCAF.lib -lTKXDE.lib -lTKXDECascade.lib -lTKXDEDRAW.lib -lTKXDEIGES.lib -lTKXDESTEP.lib -lTKXMesh.lib -lTKXml.lib -lTKXmlL.lib -lTKXmlTObj.lib -lTKXmlXCAF.lib -lTKXSBase.lib -lTKXSDRAW.lib -LC:\emsdk\upstream\emscripten\cache\sysroot\lib\wasm32-emscripten -lGL -lal -lhtml5 -lstubs-debug -lnoexit -lc-debug -ldlmalloc -lcompiler_rt -lc++-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr C:\Users\ADMINI~1\AppData\Local\Temp\tmp0w0__z0blibemscripten_js_symbols.so --export-if-defined=main --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=__main_argc_argv --export-if-defined=fflush --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=stackSave --export=stackRestore --export=stackAlloc --export=__errno_location --export=__get_temp_ret --export=__set_temp_ret --export=__wasm_call_ctors --export-table -z stack-size=65536 --initial-memory=16777216 --max-memory=16777216 --no-entry --stack-first --table-base=1' failed (returned 1)
1>

OCCT 7.7 Version / WebGL Sample use..

Dmitrii Pasukhin's picture

You need to share more inormation, scripts and as much as possible your actions. Just logs is not enough and not clear what are you traing to build.

Best regards, Dmitrii.

kim jun wun's picture

OCCT 7.7 Version / WebGL Sample use..

The final goal is to develop a web viewer that can connect web canvas and OCCT OpenGL to demonstrate functions in C++ and then execute them in JavaScript.
However, I need help because I don't understand this part even after looking at the book.

I would like to know more about how to compile the WebGL Sample.
Currently, when I compiled with Visual Studio 2022 using emscripten, the above result came out, and I would like to know how to create WASM.

Could someone please help me?
please.