Astra sdk gives error in make in ubuntu 14.04

i could cmake successfully but got the following errors:
[ 11%] Building CXX object src/astra_core/CMakeFiles/astra_core.dir/astra_context.cpp.o
/home/jj/new/astra/src/astra_core/astra_context.cpp: In constructor ‘astra::context::context()’:
/home/jj/new/astra/src/astra_core/astra_context.cpp:27:19: error: ‘make_unique’ is not a member of ‘astra’
: impl_(astra::make_unique<context_impl>()),
^
/home/jj/new/astra/src/astra_core/astra_context.cpp:27:19: note: suggested alternative:
In file included from /home/jj/new/astra/src/astra_core/astra_cxx_compatibility.hpp:20:0,
from /home/jj/new/astra/src/astra_core/astra_context.cpp:20:
/home/jj/new/astra/src/astra_core/astra_cxx_make_unique.hpp:162:4: note: ‘std::make_unique’
make_unique(Args&&…) = delete;
^
/home/jj/new/astra/src/astra_core/astra_context.cpp:27:50: error: expected primary-expression before ‘>’ token
: impl_(astra::make_unique<context_impl>()),
^
/home/jj/new/astra/src/astra_core/astra_context.cpp:27:52: error: expected primary-expression before ‘)’ token
: impl_(astra::make_unique<context_impl>()),
^
make[2]: *** [src/astra_core/CMakeFiles/astra_core.dir/astra_context.cpp.o] Error 1
make[1]: *** [src/astra_core/CMakeFiles/astra_core.dir/all] Error 2
make: *** [all] Error 2

I have exported the openni2_include and openni2_redist variables in the .bashrc file.
how can i solve these and install the sdk?

Apply this pull request: Fix make_unique port on C++11 compilers by SirDifferential · Pull Request #15 · orbbec/astra · GitHub

it’s a bug in a hack they have to implement make_unique on non-modern compilers.

Thanks a ton! I did the changes in the 2 files and it compiled flawlessly.