Pizzabelly / EasyRP

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

[LINUX] unable to excute easyrp #175

Closed darkRaspberry closed 3 years ago

darkRaspberry commented 3 years ago

what's the issue.

Unable to run easyrp in linux

expected

Run smoothly and show the output in terminal

actual

after running from command line.

dev@xxxx:~/EasyRP-v3.0-linux$ ls
config.ini  easyrp  readme.txt
dev@xxxx:~/EasyRP-v3.0-linux$ ./easyrp
bash: ./easyrp: No such file or directory

Running at gui easyrp

other info

os: Linux - Ubuntu 21.04

TECHNOFAB11 commented 3 years ago

Same issue, i just built it myself and that worked

darkRaspberry commented 3 years ago

I like to build this app. But i have history of meson never correctly build it. Anyway I will give it a try.

No i can't build it. It's so so so buggy the meson thing

darkRaspberry commented 3 years ago

FInally i got how its build. Thankssss

soshimee commented 3 years ago

I can't build, can you tell me? It keeps making PIE errors.

darkRaspberry commented 3 years ago

@soshimee PIE errors means? Which os are u talking about

soshimee commented 3 years ago
[1/1] Linking target easyrp.
FAILED: easyrp 
c++  -o easyrp 'easyrp@exe/main.cpp.o' 'easyrp@exe/config.cpp.o' 'easyrp@exe/discord.cpp.o' -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group /home/soshimee/EasyRP/libdiscord-rpc.a -Wl,--end-group
/usr/bin/ld: /home/soshimee/EasyRP/libdiscord-rpc.a(discord_rpc.cpp.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/soshimee/EasyRP/libdiscord-rpc.a(rpc_connection.cpp.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/soshimee/EasyRP/libdiscord-rpc.a(serialization.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/soshimee/EasyRP/libdiscord-rpc.a(connection_unix.cpp.o): relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/soshimee/EasyRP/libdiscord-rpc.a(discord_register_linux.cpp.o): relocation R_X86_64_32S against symbol `stderr@@GLIBC_2.2.5' can not be used when making a PIE object; recompile with -fPIE
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
soshimee commented 3 years ago

I'm on Ubuntu 20.04

darkRaspberry commented 3 years ago

@soshimee There are two things to do one you have to build discord-rpc lib. Then using that lib you Have to build that file. earyrp-zip.zip Take this zip file do neccessary modification in config and try to run. I'm in 21.04 probably have enough capability.

ALSO need replying? Pls metion

Tubz786 commented 10 months ago

@darkRaspberry do you mind extending on how to build this? Do i clone this repo into my pi then do it or is there another process, because im thoroughly lost

darkRaspberry commented 10 months ago

If you want to run the app in pi, then clone in pi and run build instructions there.