mellowagain / rpc-wine Goto Github PK
View Code? Open in Web Editor NEWdiscord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance
License: MIT License
discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance
License: MIT License
Shortly after starting, fortnite loads discord-rpc.dll, and subsequently fails with a EXCEPTION_ACCESS_VIOLATION. This does not occur when the bundled native dll is loaded. If you need more information (WINEDEBUG=+seh or something), please tell me.
Is there any chance we can get a flatpak for this for steamdeck users
Like the title says. I think some of the libraries are to new so it is complaining. If I can get around to it I may open a pr but I have very little experience with C++ and none whatsoever with cmake.
Scanning the source directories...
Generating project files...
.
Detected Wine failing to add 32-bit flags, fixing...
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o common/rpc_register.o common/rpc_register.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o connections/connection.o connections/connection.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o connections/io_thread.o connections/io_thread.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o connections/rpc_connection.o connections/rpc_connection.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o rpc_wine.o rpc_wine.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o serialization/allocators.o serialization/allocators.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o serialization/serialization.o serialization/serialization.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o serialization/writers.o serialization/writers.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o utils/backoff.o utils/backoff.cpp
wineg++ -c -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -m32 -I. -o utils/utils.o utils/utils.cpp
wineg++ -shared discord_rpc.spec -m32 -o discord_rpc.dll.so common/rpc_register.o connections/connection.o connections/io_thread.o connections/rpc_connection.o rpc_wine.o serialization/allocators.o serialization/serialization.o serialization/writers.o utils/backoff.o utils/utils.o -lpthread -lodbc32 -lole32 -loleaut32 -lwinspool -lodbccp32 -luuid
/usr/bin/ld: cannot find -lodbc32: No such file or directory
/usr/bin/ld: cannot find -lole32: No such file or directory
/usr/bin/ld: cannot find -loleaut32: No such file or directory
/usr/bin/ld: cannot find -lwinspool: No such file or directory
/usr/bin/ld: cannot find -lodbccp32: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/libuuid.so when searching for -luuid
/usr/bin/ld: cannot find -ladvapi32: No such file or directory
/usr/bin/ld: cannot find -luser32: No such file or directory
/usr/bin/ld: cannot find -lwinecrt0: No such file or directory
/usr/bin/ld: cannot find -lkernel32: No such file or directory
/usr/bin/ld: cannot find -lntdll: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/g++ failed
make: *** [Makefile:123: discord_rpc.dll.so] Error 2
This isn't really an issue, I just wanted to tell you that I've created an AUR package for this. It's called discord-rpc-wine-git
and I've also tested it on osu!. If you want, you can include it in your README :)
Thanks a lot for the library by the way :)
rpc-wine/src/serialization/writers.cc:42:24: error: no member named 'to_string' in namespace 'std'
writer.String(std::to_string(nonce).c_str());
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.