-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Current RetroArch cannot build with the menu disabled #16880
Comments
Update : I think I re-added cheevos in 8349a48 So now the bug could be solved by just automatically disabling QT when configuring with |
Even with #16881 merged, `—disable-menu` by itself won’t allow RA to build and requires `—disable-qt`. Ideally the former should imply the latter but after looking at the configure script I am not sure about the best way to proceed.
|
You are right, I forgot about So the idea would be to add something like |
Possibly, I have been too scared to touch the configuration scripts to be honest 😅 |
Using this patch
If I use
And if you try
|
Still getting error from CC gfx/video_driver.c
CC tasks/task_pl_thumbnail_download.c
tasks/task_pl_thumbnail_download.c: In function 'task_push_pl_entry_thumbnail_download':
tasks/task_pl_thumbnail_download.c:909:7: error: implicit declaration of function 'runloop_msg_queue_push'; did you mean 'msg_queue_push'? [-Wimplicit-function-declaration]
909 | runloop_msg_queue_push(
| ^~~~~~~~~~~~~~~~~~~~~~
| msg_queue_push
make: *** [Makefile:209: obj-unix/debug/tasks/task_pl_thumbnail_download.o] Error 1
make: *** Waiting for unfinished jobs....
gfx/video_driver.c: In function 'video_driver_frame':
gfx/video_driver.c:3765:45: error: 'MENU_ST_FLAG_ALIVE' undeclared (first use in this function)
3765 | && !(video_info.menu_st_flags & MENU_ST_FLAG_ALIVE)
| ^~~~~~~~~~~~~~~~~~
gfx/video_driver.c:3765:45: note: each undeclared identifier is reported only once for each function it appears in
gfx/video_driver.c:3618:16: warning: variable 'last_frame_duped' set but not used [-Wunused-but-set-variable]
3618 | static bool last_frame_duped = true;
| ^~~~~~~~~~~~~~~~
make: *** [Makefile:209: obj-unix/debug/gfx/video_driver.o] Error 1 |
@viachaslavic Indeed, I reproduce the issue using 2a56a82 with @sonninnos It seems we need to add Thank you. |
Whoops, on it. Edit: Luckily I tried testing the build, since found some other Windows-only instances that need similar fixing. |
Description
While troubleshooting a Haiku issue, I noticed that running
./configure --disable-menu
unfortunately does not allow RetroArch to build. This is not Haiku-specific and also happens on Linux (and I am assuming on most, if not all, archs)Expected behavior
RetroArch should build, albeit with the menu disabled.
Actual behavior
Steps to reproduce the bug
./configure --disable-menu
make
Bisect Results
According to @sonninnos this was possibly introduced in 87b9d03 but there are various errors at various stages.
I have a pull request ready (#16881) that will allow building with
--disable-menu --disable-cheevos --disable-qt
but not--disable-menu
alone.Version/Commit
Environment information
The text was updated successfully, but these errors were encountered: