Skip to content

step3 compilation failing #7

@avahe-kellenberger

Description

@avahe-kellenberger

Step 3 is crashing (only on desktop, working in the browser).

Here are the logs:

└[avahe@throne $master]: nim c -d:debug -r step3.nim
Hint: used config file '/home/avahe/.choosenim/toolchains/nim-1.6.4/config/nim.cfg' [Conf]
Hint: used config file '/home/avahe/.choosenim/toolchains/nim-1.6.4/config/config.nims' [Conf]
Hint: used config file '/home/avahe/programming/nim/nim_emscripten_tutorial/step3.nims' [Conf]
Hint: gc: refc; opt: none (DEBUG BUILD, `-d:release` generates faster code)
19441 lines; 0.016s; 16.523MiB peakmem; proj: /home/avahe/programming/nim/nim_emscripten_tutorial/step3.nim; out: /home/avahe/programming/nim/nim_emscripten_tutorial/step3 [SuccessX]
Hint: /home/avahe/programming/nim/nim_emscripten_tutorial/step3  [Exec]
pass
0:1(1): error: syntax error, unexpected NEW_IDENTIFIER

/home/avahe/programming/nim/nim_emscripten_tutorial/step3.nim(61) step3
/home/avahe/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(44) glGetUniformLocation
/home/avahe/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(99) checkGLerror
Error: unhandled exception: OpenGL error: invalid operation [GLerror]
Error: execution of an external program failed: '/home/avahe/programming/nim/nim_emscripten_tutorial/step3 '

I'll poke around a bit and try finding an answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions