<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
In file included from /data2/qiang/vod_transcoder/add_vmaf/x265-3.1.1/source/encoder/api.cpp:36:0:<br>
/usr/local/include/libvmaf.h:117:17: error: 'unique_ptr' in namespace 'std' does not name a template type<br>
     static std::unique_ptr<IVmafQualityRunner><br>
                 ^~~~~~~~~~<br>
encoder/CMakeFiles/encoder.dir/build.make:270: recipe for target 'encoder/CMakeFiles/encoder.dir/api.cpp.o' failed<br>
make[2]: *** [encoder/CMakeFiles/encoder.dir/api.cpp.o] Error 1<br>
CMakeFiles/Makefile2:211: recipe for target 'encoder/CMakeFiles/encoder.dir/all' failed<br>
make[1]: *** [encoder/CMakeFiles/encoder.dir/all] Error 2<br>
Makefile:129: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
Is there any requirement of gcc version?<br></blockquote><div><br></div><div>Yes. GCC 4.4 is the first to include unique_ptr.</div><div><br></div><div>This is all libvmaf, not x265 related, though. These questions should be directed to the vmaf list and github, since your x265 will build just fine without it.<br></div></div></div>