OCCT 7.6.0dev build wasm failed

Hello Dears

I have Downloaded the OCCT 7.6.0dev and try to build the web sample since it can skip the FreeType library
I faced this error while I am building the OCCT, anyone knows what that means ?

4 errors generated.
em++: error: 'C:/emscriten/emsdk/upstream/bin\clang++.exe -target wasm32-unknown-emscripten -DEMSCRIPTEN -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=29 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=C:\emscriten\emsdk\upstream\emscripten\cache\sysroot -Xclang -iwithsysroot/include\compat -DHAVE_GLES2_EXT -DOCC_CONVERT_SIGNALS -IC:/emscriten/emsdk/upstream/emscripten/cache/sysroot/include -IC:/occt/OCCT/work/occt-wasm32-make/inc -std=c++0x -fexceptions -fPIC -Wall -Wextra -O3 -DNDEBUG -DNo_Exception -DOCCT_NO_PLUGINS -MD -MT src/TKService/CMakeFiles/TKService.dir/__/Font/Font_FTFont.cxx.o -MF CMakeFiles\TKService.dir\__\Font\Font_FTFont.cxx.o.d -c C:\occt\OCCT\src\Font\Font_FTFont.cxx -o CMakeFiles\TKService.dir\__\Font\Font_FTFont.cxx.o' failed (returned 1)
mingw32-make[2]: *** [src/TKService/CMakeFiles/TKService.dir/__/Font/Font_FTFont.cxx.o] Error 1
mingw32-make[1]: *** [src/TKService/CMakeFiles/TKService.dir/all] Error 2
mingw32-make: *** [all] Error 2

another issue, in the picture you can find the cmd screen After I ran the buid_wasm directly, they mention that EGL and GLES2 are missing, where I can find those libraries?

Kirill Gavrilov's picture

The message on your screenshot is not an error, it is a warning, and error log in your message is incomplete - it doesn't mention an actual error description.

Tip: use "insert code snippet" for putting console output into the forum message.