Add bincrafters remote to conan:
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conanYou will first need the cairo recipe or package with xcb enable:
git clone https://github.com/chreniuc/conan-cairo.git
cd conan-cairo
conan create . chreniuc/stable -o *:shared=FalseAfter that go in the project directory:
mkdir build && cd build
conan install ..
conan build ..
./bin/smart_pointerNotice: This project links statically with almost all dependencies of cairo,
including cairo itself, excluding xcb and it's dependencies: xcb,
xcb-shm, xcb-render.