opened
fidrox
username_0
Installed the packages listed in the README and a few more to satisfy a few issue during the build but have gotten to a point that I'm not sure how to get past. 

ERROR:
~~~~ CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
X11_Xft_LIB (ADVANCED)
    linked by target "polybar" in directory /home/dex/polybar/src
    linked by target "unit_test.utils_string" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_memory" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_math" in directory /home/dex/polybar/tests
    linked by target "unit_test.x11_color" in directory /home/dex/polybar/tests
    linked by target "unit_test.components_command_line" in directory /home/dex/polybar/tests
    linked by target "unit_test.components_di" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_color" in directory /home/dex/polybar/tests

-- Configuring incomplete, errors occurred!
See also "/home/dex/polybar/build/CMakeFiles/CMakeOutput.log".
See also "/home/dex/polybar/build/CMakeFiles/CMakeError.log".
** Failed to generate build... read output to get a hint of what went wrong
~~~~

FULL OUTPUT:
~~~~ 
** Fetching submodules
** Removing existing build dir (-f)
** Setting build options
** Enable i3 module ------- [Y/n]: y
** Enable volume module --- [Y/n]: y
** Enable network module -- [Y/n]: y
** Enable mpd module ------ [Y/n]: n
** Using compiler: g++/gcc
** Executing cmake command
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type specified; using Release
-- Using supported compiler GNU
-- No preferred c++lib specified... linking against system default
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- --------------------------
--  Build type: Release
--  Compiler C: /usr/bin/gcc
--  Compiler C++: /usr/bin/g++
--  Compiler flags:  -Wall -Wextra -Werror -O3 -pedantic -pedantic-errors -ffunction-sections -fdata-sections
--    release: -O3 -DNDEBUG
--  Linker flags:  -Wl,--gc-sections
--  C++ library: system default
-- --------------------------
--  Build testsuite      OFF
--  Debug logging        OFF
--  Verbose tracing      OFF
--  Draw debug hints     OFF
--  Enable ccache        OFF
-- --------------------------
--  Enable alsa          ON
--  Enable i3            ON
--  Enable mpd           OFF
--  Enable network       ON
-- --------------------------
--  XRANDR support       ON
--  XRENDER support      OFF
--  XDAMAGE support      OFF
--  XSYNC support        OFF
--  XCOMPOSITE support   OFF
--  XKB support          ON
-- --------------------------
-- Boost version: 1.58.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found X11_XCB: /usr/lib/x86_64-linux-gnu/libX11-xcb.so  
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.11.94
-- Checking for module 'xcb-proto'
--   Found xcb-proto, version 1.11
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.11", minimum required is "2.7") 
-- XCB[XCB]: Found component XCB
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so  
-- XCB[ICCCM]: Found component ICCCM
-- Found XCB_ICCCM: /usr/lib/x86_64-linux-gnu/libxcb-icccm.so  
-- XCB[EWMH]: Found component EWMH
-- Found XCB_EWMH: /usr/lib/x86_64-linux-gnu/libxcb-ewmh.so  
-- XCB[UTIL]: Found component UTIL
-- Found XCB_UTIL: /usr/lib/x86_64-linux-gnu/libxcb-util.so  
-- XCB[IMAGE]: Found component IMAGE
-- Found XCB_IMAGE: /usr/lib/x86_64-linux-gnu/libxcb-image.so  
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so  
-- Searching for xcbgen with python2
-- Found xcbgen in /usr/lib/python2.7/dist-packages
-- XCB[RANDR]: Found component RANDR
-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so  
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so  
-- XCB[XKB]: Found component XKB
-- Found XCB_XKB: /usr/lib/x86_64-linux-gnu/libxcb-xkb.so  
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so;/usr/lib/x86_64-linux-gnu/libxcb-xkb.so  
-- xpp: including xcb proto xkb.xml
-- xpp: including xcb proto randr.xml
-- xpp: including xcb proto xproto.xml
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.1.0") 
-- Found Libiw: /usr/lib/x86_64-linux-gnu/libiw.so  
-- Checking for module 'jsoncpp>=1.7.7'
--   
-- Could not find jsoncpp>=1.7.7 -- building static lib...
-- JsonCpp Version: 1.7.7
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.11", minimum required is "2.6") 
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
X11_Xft_LIB (ADVANCED)
    linked by target "polybar" in directory /home/dex/polybar/src
    linked by target "unit_test.utils_string" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_memory" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_math" in directory /home/dex/polybar/tests
    linked by target "unit_test.x11_color" in directory /home/dex/polybar/tests
    linked by target "unit_test.components_command_line" in directory /home/dex/polybar/tests
    linked by target "unit_test.components_di" in directory /home/dex/polybar/tests
    linked by target "unit_test.utils_color" in directory /home/dex/polybar/tests

-- Configuring incomplete, errors occurred!
See also "/home/dex/polybar/build/CMakeFiles/CMakeOutput.log".
See also "/home/dex/polybar/build/CMakeFiles/CMakeError.log".
** Failed to generate build... read output to get a hint of what went wrong
~~~~
Unable to build on LinuxMint 18 (ubu 16.04)
issue
created
davewongillies
username_1
I'm currently building in a fresh docker container each time running Ubuntu 16.04 and this is [my list of build depends](https://github.com/username_1/fpm-recipes/blob/master/polybar/recipe.rb#L13) which works for me:

```
cmake
cmake-data
libboost-dev
libfreetype6-dev
libxcb1-dev
libx11-xcb-dev
libxcb-util0-dev
libxcb-image0-dev
libxcb-randr0-dev
libxcb-ewmh-dev
libxcb-xkb-dev
libxcb-icccm4-dev
xcb-proto
python-xcbgen
i3-wm
libiw-dev
libasound2-dev
libmpdclient-dev
pkg-config
libfontconfig1-dev
libghc-x11-xft-dev'
```
comment
created
jaagr
username_2
@username_0 looks like you're missing the freetype package
comment
created
fidrox
username_0
Thanks guys, got it working!

Freetype was installed but I was missing something. Ran the list @username_1 provided through apt-get and it garbed a few files (not sure which ones) then the build process ran with no issue. 

Thanks for the great app.
comment
created
jaagr
username_2
Awesome, I will update the readme with the list @username_1 provided
comment
closed
jaagr
username_2
issue