-
Notifications
You must be signed in to change notification settings - Fork 153
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
Meson Build Failed #49
Comments
From your error, it looks like meson did not detect your c++ or gcc compiler. You need to at least install c++ or gcc compiler to build anything, not only to build using meson. The compilers are available under cygwin package manager for Windows (among others, there's many ways to install them). And make sure the compiler's path is added to system variable Though I also seems to stuck at building the project, in my case it is problem with ninja (yes, you also need to install ninja, not just meson). On my side, meson seems to not have problem:
However when running ninja, it failed as:
I'm guessing the library file |
@MuhdNurHidayat is correct you need a c++ compiler ;). For the link error I have updated the readme with build instructions. The important thing to fix the Discord_UpdateConnection part is to pass -DENABLE_IO_THREAD=OFF to cmake when building discord-rpc. |
I'm still getting the link issue even when I build discord-rpc with DENABLE_IO_THREAD. Any idea what could be happening? Edit: actually, I realized I need the c++ compiler. Not a link error yet. |
When I try to build your project using Meson, I get this error:
How can I fix this?
The text was updated successfully, but these errors were encountered: