-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ninja Error: Undeclared (first use in this function) in Budgie Control Center #54
Comments
What distribution are you on, what Meson/Ninja version, what compiler, etc. |
@serebit I am using the Photon OS Linux Vmware distro. Meson version: 1.1.0.rc2. Ninja version: 1.12.0.git. Compiler: gcc 12.2.0. I can resolve this issue by having a define of the USER_DIR_MODE variable (from the config.h in the build directory) to the cc-alert-chooser.c but it is weird that I have to do this!? I experienced this issue with Meson 1.0.0 so I thought that upgrading meson and ninja would resolve this but apparently it didn't. |
Why are you using a git version of ninja and a rc version of meson rather than the stable series? This could be a bug in these versions or a changed behaviour which would be slightly odd |
I installed meson 1.1.0 version as well as the ninja 1.11.1. When I did the following: I received the above error. |
When Ubuntu catches up with the latest meson and ninja I can then take a look myself. -Dwayland=true isn't necessary since its a X11 desktop - should be false. If you build with the default options what happens?
|
@fossfreedom When I build with the default options, I still get the same ninja error. Attached are the meson and ninja output. |
What are the contents of |
With those contents, I'm not sure why it would be failing—that C file includes config.h, and your config.h is showing that USER_DIR_MODE is defined there... This is an odd one. |
I received the following ninja error:
./panels/sound/cc-alert-chooser.c:139:30: error: *USER_DIR_MODE* undeclared (first use in this function) 139 g_mkdir_with_parents (dir, USER_DIR_MODE);
The text was updated successfully, but these errors were encountered: