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

Unable to build QT in Linux due to missing 'discord_rcp.h' even with -DENABLE_DISCORD_RPC=OFF #1443

Open
paljardine opened this issue Oct 25, 2024 · 1 comment

Comments

@paljardine
Copy link

paljardine commented Oct 25, 2024

image

OS: Fedora Linux 40 (KDE Plasma) x86_64
Kernel: 6.11.4-201.fc40.x86_64

It seems like discord_rpc_handler.h is unable to find 'discord_rpc.h'. Adding ifdefs for ENABLE_DISCORD_RPC to the following files allows the build to proceed:

discord_rpc_handler.h
image

emulator.cpp
image

main_window.cpp
image

settings_dialog.cpp
image

There should be a way to get discord_rpc_handler to properly include discord_rpc.h, but this works as quick hack.

@gandalth
Copy link

gandalth commented Oct 28, 2024

I confirm, I have the same issue.
I am building on "Debian Testing" with kernel 6.11 and I am using clang19. I also used -DENABLE_DISCORD_RPC=OFF.

When adding -DENABLE_QT_GUI=OFF I can successfully build the project.

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

2 participants