Hello, guys! I recently learned that there is a programming language nim. So i liked it and i'm going to make the 3d games using opengl. Well, i downloaded the glfw and glad. But it didnt work. I dont know, if it work on linux, but windows do not want to run the opengl simple. My compiled program prints
C:\Users\Администратор\Desktop\lsdge> nim c --run --nilseqs:on main.nim
Hint: used config file 'C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\Desktop\n86\config\nim.cfg' [Conf]
Hint: system [Processing]
Hint: main [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: glm [Processing]
Hint: vec [Processing]
Hint: macros [Processing]
Hint: mat [Processing]
Hint: mat_transform [Processing]
Hint: globals [Processing]
Hint: quat [Processing]
Hint: gl [Processing]
Hint: glfw [Processing]
Hint: wrapper [Processing]
Hint: tables [Processing]
Hint: hashes [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
main.nim(102, 9) Warning: rotate is deprecated [Deprecated]
CC: main
CC: stdlib_strutils
CC: gl
CC: glfw_glfw
CC: glfw_wrapper
Hint: [Link]
Hint: operation successful (30410 lines compiled; 1.797 sec total; 61.551MiB peakmem; Debug Build) [SuccessX]
Hint: C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\Desktop\lsdge\main.exe [Exec]
Traceback (most recent call last)
main.nim(139) main
main.nim(123) main
gl.nim(4221) gladLoadGL
gl.nim(4151) findExtensionsGL
gl.nim(3002) hasExt
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Error: execution of an external program failed: 'C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\Desktop\lsdge\main.exe '
PS C:\Users\Администратор\Desktop\lsdge>
Why?! can someone help me?
I do know nothing about OpenGL with Nim, but the error message "findExtensionsGL" may indicate that a call of loadExtensions() is missing as seen in