You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example I have been trying to compile gets done via cmake which creates a cpp.o file.
The .js file created gives a corrupted heap memory area error.
But when I try to run the compiled cpp.o code like this it shows.
@Rtoax emscripten uses it own version of llvm / opt, and is likely not compatible with the system version (/usr/bin/opt etc). We build and ship llvm tip-of-tree which is currently llvm-14 (i.e. an unreleased version).
The example I have been trying to compile gets done via cmake which creates a cpp.o file.
The .js file created gives a corrupted heap memory area error.
But when I try to run the compiled cpp.o code like this it shows.
./webcam_face_pose_ex.cpp.o
error: Unknown attribute kind (52) (Producer: 'LLVM4.0.0' Reader: 'LLVM 3.8.0')
clang -v on the system showed 3.8.0
So I tried to install clang-4.0.0 by adding a ppa to apt-get and update-alternatives to use clang-4.0 on the system But it doesn't resolve the error.
Is there a way to use LLVM3.8.0 in emscripten or any other way to solve it.
The .emscripten file reads like.
Any help is appreciated,
The text was updated successfully, but these errors were encountered: