-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error: undeclared identifier: 'DBusProxyClass00' #51
Comments
That is a strange bug. Have you used gintro before? For latest v0.5.2 I have restricted the generation of unneeded class structs, that may be the cause for your error. But that should be fine, as there should be no reference to the class structs, they just waste disk space and increase compile time. And for me that works fine, maybe for others too, as you are the only reporter of this issue. And the line number for gtk module is very high, so I assume it is an rare error. Please compile you program with "nim check myprog.nim" to get all error messages, so that we can see if there are more undefined symbols. If there are only a few, do "grep DBusProxyClass ~/.nimble/pkgs/gintro-0.5.2/gintro/*". If there is only a single reference to that symbol, you may try to fix that manually, open ~/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim with an text editor, search for reference and delete that proc or whatever it is. Are you sure your computer is in an valid state? Have you removed all older gintro versions before installing latest 0.5.2? Have you manually mixed different gtk versions somehow? You may also try to install the version one before latest, that is 0.5.1. Should be identical to latest, but has all the class structs. I am not sure how nimble command is, maybe 'nimble install gintro@" = 0.5.1"' If all that should not help, there is now a wNim package available, some people seems to like it, see |
Compilation result with check.
|
I ran this example and got the same issue.
|
I have no idea currently. All these table module errors? Can you compile some code at all? Please try to install an older version of gintro, 0.5.1 or 0.5.0. Or another GUI package, here is an overview: |
See https://irclogs.nim-lang.org/16-07-2019.html#16:05:26 So messages about table module can be ignored. try
nimble uninstall gintro |
Or maybe better install v0.4.23 That was the last tag with only GTK3 support, next was v0.5.0 which already supports GTK4. Maybe that is a problem for you. v0.4.23 worked for others, no issue reports, so should be fine for you. |
OK, after one week with no reply I will assume that you have solved that issue or that you have retired, so I will close this issue. |
/home/hdias/.nimble/pkgs/gintro-0.5.2/gintro/gtk.nim(49761, 23) Error: undeclared identifier: 'DBusProxyClass00'
The text was updated successfully, but these errors were encountered: