discord / discord-rpc

https://discordapp.com/developers
MIT License
1.05k stars 327 forks source link

Compiling on Linux (32) bit results in a binary that is not SysV ABI #318

Open ensiform opened 3 years ago

ensiform commented 3 years ago

Does anyone know what is the reason why, when compiling this repository as a shared object, it is in Unix/GNU ELF ABI format rather than SYSV?

I'm trying to integrate this into an idTech3 engine and still prefers 32 bits on Linux for the time being which is perfectly fine I can roll self compiled binary, but trying to link it as is currently results in non functioning behavior short of forcing it with LD_PRELOAD.

SlySven commented 3 years ago

If I recall correctly you are not going to get anywhere as the discord-rpc library expects to/must talk to the Desktop application - and that is only available in a 64-bit Linux flavour...

:slightly_frowning_face:

ensiform commented 3 years ago

I did eventually get it to work with more tweaking to cmake script.

However, at some point I need to make my implantation for linking against the code better across all platforms still.