-
Notifications
You must be signed in to change notification settings - Fork 42
Mac lib not found #12
Comments
Try to update to the latest version https://github.com/Vatuu/discord-rpc/releases/tag/1.4.3. When the issue still persists, please report it here. |
Thanks for helping, will try out https://github.com/Vatuu/discord-rpc/releases/tag/1.4.3 in a bit. |
Issue still exists. |
Please check your temp directory. Is a folder being created called discord-rpc containing the apropriate DLL/SO/DYNLIB? |
bump? |
Workin' on it, these errors don't make any sense ._.
|
Oh, maybe its a problem with my pom? |
As far as I can tell, it is an issue with the lib being |
Not really, as it isn't even downloading them. |
If there's any linux user here, I'd ask them to try and run it too, and see if it works. Right now, it seems like it's a issue with the macOS operating system and it's "nothing else but apple >:c" policy. |
Well, now that i've pulled (because of the pr someone sent), its a different stacktrace.
|
Windows and Linux still work successfully.
…On Thu, Apr 26, 2018, 8:07 AM Stimons ***@***.***> wrote:
Well, now that i've pulled (because of the pr someone sent), its a
different stacktrace.
DiscordRPC.discordInitialize("idhere", handler, true);
now results in
Caused by: java.lang.NullPointerException
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
at net.arikia.dev.drpc.DiscordRPC.loadDLL(DiscordRPC.java:149)
at net.arikia.dev.drpc.DiscordRPC.<clinit>(DiscordRPC.java:21)
... 5 more
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHZGgDb8FmuBKyantqWLXF5vYTy4HBQOks5tseKygaJpZM4TMyqC>
.
|
Hey, @stijnsimons. A PR for that problem will go out when I'm home, I know the fix already and I'm not feeling brave enough to code on my phone. |
@DeJayDevelopment Thanks! Hope it works after. |
Hey! We're getting in contact with some Discord Staff to help us triage the issue. We'll keep you posted. |
I'm not in the IntelliJ plugin area at all, so forgive my ignorance but shouldn't it be
|
JNI wants `lib` before Mac libs. Not just intellij (afaik). Calling
load("dir/Name") and not load("dir/File") does this automatically
…On Tue, May 8, 2018, 1:31 PM Ozair Patel ***@***.***> wrote:
I'm not in the IntelliJ plugin area at all, so forgive my ignorance but
shouldn't it be darwin/lib/discord-rpc.dylib? Right now it's
darwin/libdiscord-rpc.dylib
java.lang.UnsatisfiedLinkError: Unable to load library 'discord-rpc': Native library (darwin/libdiscord-rpc.dylib) not found in resource path
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHZGgCdha4SeYE-fB67Zmq1IsShdKbDJks5twgCbgaJpZM4TMyqC>
.
|
Ah okay, it was a shot in the dark since I saw |
Hi, I thought I'd provide a state of the situation here. discord/discord-rpc#170 We're still working on a resolution but we believe the issue is something very much out of our hands, and will do whatever we have to so it is okay. |
I haven't forgotten about this issue! I recently got a MacBook Air and am investigating what can be one on either our library or discordapp/discord-rpc's side. For a little bit more insight see my response to discordapp/discord-rpc#170. Edit: A link to the comment. |
I know this is quite a late response, but I was wondering, is there any fix for this yet? |
any updates? |
Although I couldn't seem to find any fixes for this, I did find some alternatives. There's the Discord Game SDK bindings for java and jagrosh's Discord IPC; both of which seem to work find on mac. |
As seen in #5 , i'm still getting that same error, even using the latest discord and discord-rpc version.
I'm using maven by the way.
The text was updated successfully, but these errors were encountered: