> In file included from > /data2/qiang/vod_transcoder/add_vmaf/x265-3.1.1/source/encoder/api.cpp:36:0: > /usr/local/include/libvmaf.h:117:17: error: 'unique_ptr' in namespace > 'std' does not name a template type > static std::unique_ptr<IVmafQualityRunner> > ^~~~~~~~~~ > encoder/CMakeFiles/encoder.dir/build.make:270: recipe for target > 'encoder/CMakeFiles/encoder.dir/api.cpp.o' failed > make[2]: *** [encoder/CMakeFiles/encoder.dir/api.cpp.o] Error 1 > CMakeFiles/Makefile2:211: recipe for target > 'encoder/CMakeFiles/encoder.dir/all' failed > make[1]: *** [encoder/CMakeFiles/encoder.dir/all] Error 2 > Makefile:129: recipe for target 'all' failed > make: *** [all] Error 2 > > > Is there any requirement of gcc version? >
Yes. GCC 4.4 is the first to include unique_ptr. 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.
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
