mratsim / trace-of-radiance

An educational raytracer
102 stars 1 forks source link

Compiler error: 'sym' is not accessible using discriminant 'kind' of type 'TNode' [FieldDefect] #9

Open jorjun opened 3 years ago

jorjun commented 3 years ago

Executing task: nim c -o:bin/trace_of_radiance --threads:on -r trace_of_radiance.nim <

Hint: used config file '/opt/homebrew/Cellar/nim/1.4.8/nim/config/nim.cfg' [Conf] Hint: used config file '/opt/homebrew/Cellar/nim/1.4.8/nim/config/config.nims' [Conf] ........................................................................................fatal.nim(49) sysFatal Error: unhandled exception: 'sym' is not accessible using discriminant 'kind' of type 'TNode' [FieldDefect] The terminal process "/opt/homebrew/bin/fish '-c', 'nim c -o:bin/trace_of_radiance --threads:on -r trace_of_radiance.nim'" terminated with exit code: 1.

I learning about vector maths thanks to this project, but the scene abstraction stuff is beyond my ability right now

mratsim commented 3 years ago

seems like a regression, what Nim compiler version are you using?

jorjun commented 3 years ago

This was latest nim on my Mac (M1 arch) 1.4.8