Closed btbytes closed 4 years ago
Looks like that error is in side opengl. What version of nim compiler do you have? Have you tried the most recent 1.2 ?
The version I used to compile is 1.2.0
$ nim -v
Nim Compiler Version 1.2.0 [MacOSX: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 7e83adff84be5d0c401a213eccb61e321a3fb1ff
active boot switches: -d:release
Maybe try uninstalling and reinstalling the openGL library?
The compiler error you are getting is in the openGL lib not my code (opengl/private/errors.nim(27, 30)
). I can't help you with it. Maybe open a ticket with openGL tracker?
I have created a ticket for this in the opengl
repo as I am running into the same compilation error with nim 1.2.2 on OSX.
https://github.com/nim-lang/opengl/issues/78
However this type mismatch error has been solved in opengl since version 1.2.3 (which is also correctly specified as minimum dependency by fidget), so I don't understand why it broke initially. Reinstalling opengl with nimble solved this.
command executed:
actual output: