<tr1/memory>
is not a C++14 standard header. You simply want <memory>
. Same for <dynarray>
.
However, neither are supported in GCC 4.8. You need to upgrade to GCC 4.9 or clang 5.
The GCC compiler support status for C++1y can be checked on the Language Features status page, and the library support on the Library Support status page.