pan
pan copied to clipboard
Weird compile errors
Hi, I tried to install this project, but after verifying the dependencies, the build failes for [email protected]
/pan@#head
:
Prompt: Build failed for 'https://github.com/liquidev/[email protected]', would you like to try installing 'https://github.com/liquidev/pan@#head' (latest unstable)? [y/N]
Answer: y
Downloading https://github.com/liquidev/pan using git
Verifying dependencies for pan@#head
Info: Dependency on cairo@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on rapid@#21c847e already satisfied
Verifying dependencies for rapid@#21c847e
Info: Dependency on aglet@>= 0.4.2 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/liquid600pgm/nim-glm@>= 1.1.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/nimgl/glfw@>= 3.3.4 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on stbimage@>= 2.5 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on https://github.com/liquidev/nimLUA@>= 0.3.8 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on stbimage@>= 2.5 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on weave@#5034793 already satisfied
Verifying dependencies for weave@#5034793
Info: Dependency on synthesis@any version already satisfied
Verifying dependencies for [email protected]
Installing pan@#head
Building pan/pan.exe using c backend
C:\Users\jolly\AppData\Local\Temp\nimble_9700\githubcom_liquidevpan_#head\src\panpkg\help.nim(14, 24) Error: index 1 not in 0 .. 0helpParts[1]
Tip: 45 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: pan
... Execution failed with exit code 1
... Command: C:\Users\jolly\.nimble\bin\nim.exe c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.2.0 --path:C:\Users\jolly\.nimble\pkgs\cairo-1.1.1 --path:C:\Users\jolly\.nimble\pkgs\rapid-#21c847e --path:C:\Users\jolly\.nimble\pkgs\aglet-0.4.4 --path:C:\Users\jolly\.nimble\pkgs\glm-1.1.1 --path:C:\Users\jolly\.nimble\pkgs\glfw-4.0.0 --path:C:\Users\jolly\.nimble\pkgs\stb_image-2.5 --path:C:\Users\jolly\.nimble\pkgs\nimLUA-0.3.8 --path:C:\Users\jolly\.nimble\pkgs\stb_image-2.5 --path:C:\Users\jolly\.nimble\pkgs\weave-#5034793 --path:C:\Users\jolly\.nimble\pkgs\synthesis-0.2.0 --hints:off -o:C:\Users\jolly\AppData\Local\Temp\nimble_9700\githubcom_liquidevpan_#head\pan.exe C:\Users\jolly\AppData\Local\Temp\nimble_9700\githubcom_liquidevpan_#head\src\pan.nim
I tried this both with nim 1.4.4
and devel
via choosenim
, but the result is the same.
As an alternative, I tried to compile the zipped code from the 1.0.0 release via nim compile pan
, but this fails for a different reason:
C:\Users\jolly\.nimble\pkgs\aglet-0.4.4\aglet\mesh.nim(306, 24) Error: cannot instantiate: 'V'
The nim configs should be unchanged from the default, though I am not familiar with nim and am just trying to wing it. I also use Windows 10.
Any help would be appreciated, though it's understandable if you can't or won't provide any.