Hi,
I just installed Nim 2.04 on my Gentoo Linux and tried examples of different GUI libraries, which fail with different errors.
My question is: Is this a "normal"/expected behaviour (for example, it is known, because those libs are too old, the example weren't updated anymore or something like that) or is it worth the effort to analyze the errors ?
In the latter case I would be happy to receive some help from this forum.
Cheers! take1234
Hi Araq,
thanks for replying ! :)
So embarrassing it is... I cannot recreate the problem anymore. I copied some GUI example code over from rosettacode.org and it didn't compile. One error message was like 'operator := not defined'. As soon as I will be able to trigger this or a similiar problem again, I will be back. Thanks again for you help - have a nice weekend!
Cheers! Take1234
Do you rember which problem from rosettacode.org was it?
Maybe if you give the GUI library it used, we might find the problem again.
I do not know whether rosettacode.org snippets have all been updated to work with Nim 2.0
We noticed that it was hard to maintain examples on rosettacode.org up-to-date, that's why some Nimmers (including me) tried to write example snippets for The Algorithms in a Github repository (https://github.com/TheAlgorithms/Nim/).
Sadly, I barely have time to manage this repository anymore and it doesn't contain any GUI example.
As far as I can remember, the operator := (the Python's walrus operator?) has never been part of the language, but can be added through an advanced feature of the language: a macro (https://dev.to/beef331/demystification-of-macros-in-nim-13n8).