-
Notifications
You must be signed in to change notification settings - Fork 25
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
Building fails on current devel #32
Comments
devel gets breaking changes all the time, I intend to apply fixes once the new version is released. Also, when using devel, remember to install latest Nim compiler to the nimble repo: do |
not working on first error, after doing [...]
Hint: rodutils [Processing]
/home/rama/.nimble/pkgs/godot-0.7.14/godotapigen.nim(9, 26) Error: type mismatch: got <string>
but expected one of:
proc getIdent(self: IdentCache; identifier: string): PIdent
proc getIdent(self: IdentCache; identifier: string; h: Hash): PIdent
proc getIdent(self: IdentCache; identifier: cstring; length: int; h: Hash): PIdent
expression: getIdent(ident) I understand that it's tedious to keep up with the regular changes on devel, so don't worry, i don't need the latest. I only need a working devel build because there are some nim packages which require >0.18.1 and i want to use them. |
Did you also |
sure, it's the first thing i do if something not working. |
I am having the same error: expression: getIdent(ident) |
@Zireael07 are you using Nim v0.18 or 0.19? |
0.18 |
@Zireael07 I can't reproduce your error. I cloned the godot-nim-stub and ran |
Yeah, hoping that fixing the 0.19 changes will be easy. Will the new version also work with 3.1? |
Most of the fixing I could do was change the isNil's and equals to an empty seq and empty string. |
Pro Tip: The Nim compiler sources are a moving target, pin the |
I think there are two separate issues being discussed now - one regarding choosenim and pinned compiler versions and another regarding API codgen errors. The latter issue can be solved by changing any calls to I created one in this file - I can issue a PR if desired |
Hi, I'm running into the |
untouched godot-nim-stub, running on arch linux
and with an existing project:
The text was updated successfully, but these errors were encountered: