Pizzabelly / EasyRP

Give yourself a Custom Rich Presence in Discord.
564 stars 153 forks source link

undefined reference #94

Open jschmitz3141 opened 5 years ago

jschmitz3141 commented 5 years ago

So I had the same exact issue as this one: https://github.com/Pizzabelly/EasyRP/issues/55#issue-346037725

But I have no idea how to fix it.

\EasyRP>ninja -C build
ninja: Entering directory `build'
[1/1] Linking target easyrp.exe.
FAILED: easyrp.exe
c++ @easyrp.exe.rsp
easyrp@exe/discord.cpp.obj:discord.cpp:(.text+0xb4): undefined reference to `Discord_Shutdown'
easyrp@exe/discord.cpp.obj:discord.cpp:(.text+0x245): undefined reference to `Discord_UpdatePresence'
easyrp@exe/discord.cpp.obj:discord.cpp:(.text+0x255): undefined reference to `Discord_UpdateConnection'
easyrp@exe/discord.cpp.obj:discord.cpp:(.text+0x2eb): undefined reference to `Discord_Initialize'
easyrp@exe/discord.cpp.obj:discord.cpp:(.text+0x25f): undefined reference to `Discord_RunCallbacks'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.