-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Build fails with <command line>:1:9: error macro name must be an identifier #148592
Comments
I built Musicpod using the following configurations:
The build results are available here. In summary, the build succeeds with The error message is identical to what repoter has reported. During my local run, I discovered several files in
This is incorrect. Furthermore, these incorrect flags only appear in files related to On my local machine, I found a CMake code in the
This is also incorrect. For more information, refer to Brad King's comment (The core developer of CMake) here. I checked the latest code of the Therefore, this is not a Flutter issue. To resolve this problem, you should request the |
Thanks for the detailed analysis. Media kit is up to date though, maybe we should continue on musicpod github repo then if you are sure this is not a flutter issue |
We made a branch with the media-kit plugin updated to the latest git: https://github.com/ubuntu-flutter-community/musicpod/tree/mk_test and the issue seems to persist. |
It is necessary to override To resolve the issue locally, I added another override section like this: media_kit_native_event_loop:
git:
url: https://github.com/media-kit/media-kit
path: media_kit_native_event_loop/
ref: 13f6b3f0ef9ccf8a711e396bc49cb05af9b3e497 This approach allowed me to build the project successfully. I hope this helps. |
Thanks, @bc-lee for the help, but one question. I'm kind of new to all of this, where do I put the overide section? |
Below the last line of |
That fixes it, thank you. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Actual results
) it gives this error: :1:9: error macro name must be an identifier. I have all the dependencies for the project and the project builds perfectly on my Ubuntu system
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: