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
By following several tutorials, mostly the officials and this one I successfully managed to compile my code. The problem is that when I run the code (with http local server to open the generated .html file), I get an error : Exception thrown, see JavaScript console. But the exception in the console seems very very obscure to me...
It seems to be Aborted(native code called abort()) but really I couldn't find more about the error.
ROOT="/home/arthur/dev/deps/emsdk/upstream/emscripten"$ROOT/emcmake cmake ..
$ROOT/emmake make
And its succesfull output is the following
So, considering the warnings, I am assuming that there is a linking problem. But I really did not the solution on the already existing issues of this forum.
Thanks in advance
PS: I use Ubuntu
The text was updated successfully, but these errors were encountered:
Hello everyone, and thanks in advance for the support.
I have been trying to compile small example of mine with OpenGL+GLFW+GLAD. The C++ code is accessible here: https://github.com/arthurBricq/RubicsCube/, alongside with the emscripten scripts that I use to compile and run (https://github.com/arthurBricq/RubicsCube/tree/main/build_emscripten). Of course the C++ executable works.
By following several tutorials, mostly the officials and this one I successfully managed to compile my code. The problem is that when I run the code (with http local server to open the generated
.html
file), I get an error :Exception thrown, see JavaScript console
. But the exception in the console seems very very obscure to me...It seems to be
Aborted(native code called abort())
but really I couldn't find more about the error.Here's my CMakeLists.txt
My compilation script is
And its succesfull output is the following
So, considering the warnings, I am assuming that there is a linking problem. But I really did not the solution on the already existing issues of this forum.
Thanks in advance
PS: I use Ubuntu
The text was updated successfully, but these errors were encountered: