error: ./.local/share/xmake/core/base/interpreter.lua:250: requires() cannot be called in target(), please move it to the root scope! #5260
Unanswered
raphael10-collab
asked this question in
Q&A
Replies: 5 comments 19 replies
-
please show your xmake.lua. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @waruqi ! Thanks for helping This is my
Commenting this lines: --add_rules("mode.debug", "mode.release") I get this different error:
These are the files in the project folder :
|
Beta Was this translation helpful? Give feedback.
19 replies
-
Good Job |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed xmake in Ubuntu 23.10
I've found that
xmake
folders have been instaled in ~/.local/ folder :But just calling xmake I get these errors:
I tried to compile and install xmake from source, but, at the end, I get the same error:
How to make it work?
Beta Was this translation helpful? Give feedback.
All reactions