Tensorflow header and shared lib for C++


Installing Tensorflow for python is very easy and i appreciate stack a lot.
I am using Tensorflow in C++ as well though and require linking against the shared lib and need the headers.
Are those available with the stack repository or do i need to compile it myself as well?

If i need to compile the shared lib myself, could i know how Tensorflow was configured for the tensorbook?