aristocratos / btop

A monitor of resources
Apache License 2.0
21.38k stars 656 forks source link

Fix compilation with g++-10 when GPU_SUPPORT is enabled by adding the -ldl flag #731

Closed rahulaggarwal965 closed 10 months ago

rahulaggarwal965 commented 10 months ago

Closes #730. I ended up testing the CMAKE compilation pipeline and found the same issue, so I've changed things there as well.

I don't have quick access to other versions of linux/compilers, so I've made the fix that works for me, but this definitely needs to be tested on newer versions of g++/clang and newer kernel versions.

imwints commented 10 months ago

Duplicate of #704 #725