pragmagic / godot-nim-stub

Stub for Godot project with Nim support
23 stars 11 forks source link

Build error with required godot-nim versions #15

Open ratepenado opened 3 years ago

ratepenado commented 3 years ago

Hello,

Trying to build this stub raises the error Error: type expected, but got symbol 'Array' of kind 'enumField' onpoolarrays.nim`

As explained here: https://github.com/pragmagic/godot-nim/issues/81 upgrading the required version of godot-nimin stub.nimble resolve the problem.

insomniacUNDERSCORElemon commented 3 years ago

Note that other example projects may have this issue too, such as Dodge the Nim (in https://github.com/zetashift/godotnim-samples) which seems to have been built starting with the stub file. As seen with the commented section:

version       = "0.1.0"
author        = "Xored Software, Inc."
description   = "Godot-Nim Project Stub"
license       = "MIT"

Building it works fine (if you go into nakefile.nim and remove "--oldgensym:on", also see the instructions to fix the mob timer), I assume the original required version limit was arbitrary or even just the current max version?