Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with required godot-nim versions #15

Open
ratepenado opened this issue Nov 4, 2021 · 1 comment
Open

Build error with required godot-nim versions #15

ratepenado opened this issue Nov 4, 2021 · 1 comment

Comments

@ratepenado
Copy link

Hello,

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

As explained here: pragmagic/godot-nim#81 upgrading the required version of godot-nim in stub.nimble resolve the problem.

@insomniacUNDERSCORElemon
Copy link

insomniacUNDERSCORElemon commented Nov 5, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants