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

example fails to build on Linux #527

Open
commandline-be opened this issue Dec 2, 2024 · 0 comments
Open

example fails to build on Linux #527

commandline-be opened this issue Dec 2, 2024 · 0 comments

Comments

@commandline-be
Copy link

Using the "hello world" example as shown on https://github.com/yglukhov/nimx/ this fails to build with nimx 0.2 installed using nimble


nim c -r mygui/ui.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: used config file '/etc/nim/config.nims' [Conf]
......................................................................................................................................................................................................
/usr/src/nim/.nimble/pkgs2/async_http_request-0.1.4-944652f72180b0daac91cd897a466e3a0f7c0625/async_http_request.nim(157, 34) template/generic instantiation of request from here
/usr/lib64/nim/lib/pure/httpclient.nim(1122, 14) Warning: Deprecated since v1.5; use HttpMethod enum instead; string parameter httpMethod is deprecated [User]
...................................
stack trace: (most recent call last)
9999902 calls omitted

/usr/src/nim/.nimble/pkgs2/variant-0.2.13-9656734a4e0d1c35efe70db11fc355ebd60d53fd/variant.nim(61, 32) mangledNameAux

... repeats multiple tens of times ....

/usr/src/nim/.nimble/pkgs2/nimx-0.2-93e5296f1feb91608ec49384ce0081397da0c11d/nimx/view.nim(562, 7) template/generic instantiation of visitProperty from here
/usr/src/nim/.nimble/pkgs2/nimx-0.2-93e5296f1feb91608ec49384ce0081397da0c11d/nimx/property_visitor.nim(65, 39) template/generic instantiation of newVariant from here
/usr/src/nim/.nimble/pkgs2/variant-0.2.13-9656734a4e0d1c35efe70db11fc355ebd60d53fd/variant.nim(206, 30) template/generic instantiation of getTypeId from here
/usr/src/nim/.nimble/pkgs2/variant-0.2.13-9656734a4e0d1c35efe70db11fc355ebd60d53fd/variant.nim(61, 32) Error: interpretation requires too many iterations; if you are sure this is not a bug in your code, compile with --maxLoopIterationsVM:number (current value: 10000000)


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

1 participant