
But I do not know where to put it inside the CMakeList. I don't know how those cmus settings work, I don't use it, so you're on your own here. Makefile:126: recipe for target 'cmTC_e33d6/fast' failedįile /home/zhouxiang/polybar/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:Īfter some google search about this undefined reference to pthread_create here are some of the answer I found. I would have suggested to only use the cmus-status-display script to signal your polybar script that there were changes and your polybar script will update its output by calling cmus-remote again. Make: Leaving directory '/home/zhouxiang/polybar/build/CMakeFiles/CMakeTmp' home/linuxbrew/.linuxbrew/bin/c++ -Wall -Wextra -Wpedantic -rdynamic CMakeFiles/cmTC_e33d6.dir/ -o cmTC_e33d6ĬMakeFiles/cmTC_e33d6.dir/: In function `main':ĬheckSymbolExists.cxx:(.text+0x16): undefined reference to `pthread_create'Ĭollect2: error: ld returned 1 exit statusĬMakeFiles/cmTC_e33d6.dir/build.make:97: recipe for target 'cmTC_e33d6' failed usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e33d6.dir/link.txt -verbose=1 home/linuxbrew/.linuxbrew/bin/c++ -Wall -Wextra -Wpedantic -o CMakeFiles/cmTC_e33d6.dir/ -c /home/zhouxiang/polybar/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx Make: Entering directory '/home/zhouxiang/polybar/build/CMakeFiles/CMakeTmp'īuilding CXX object CMakeFiles/cmTC_e33d6.dir/ usr/bin/make -f CMakeFiles/cmTC_e33d6.dir/build.make CMakeFiles/cmTC_e33d6.dir/build Run Build Command:"/usr/bin/make" "cmTC_e33d6/fast" Here is the error message I got: (CMakeError.log) Determining if the pthread_create exist failed with the following output:Ĭhange Dir: /home/zhouxiang/polybar/build/CMakeFiles/CMakeTmp

cmus is also fast to start and has few dependencies. On my old netbook cmus used 15 megabytes of RAM to play one mp3, while Banshee used 135 megabytes. There are many reasons to use cmus: cmus is light.
CMUS STATUS POLYBAR INSTALL
I was trying to install Polybar on my system while I stumble upon these commands : $ mkdir buildĪfter install cmake from the app store, I tried the commands above. It has a few reasons why I think cmus excels, as well as instructions on getting cmus up and running quickly.
