yzbx / ZoomTest

MFC and Zoom
0 stars 0 forks source link

windows dlib error C2893 #11

Open yzbx opened 7 years ago

yzbx commented 7 years ago

problem

1>D:\Program Files (x86)\vs2015\VC\include\type_traits(1529): error C2893: 未能使函数模板“unknown-type std::invoke(_Callable &&,_Types &&...)”专用化 1> D:\Program Files (x86)\vs2015\VC\include\type_traits(1529): note: 用下列模板参数: 1> D:\Program Files (x86)\vs2015\VC\include\type_traits(1529): note: “_Callable=dlib::thread_pool &” 1> D:\Program Files (x86)\vs2015\VC\include\type_traits(1529): note: “_Types={main::}” 1> D:\tmp\gnu\dlib-19.7\examples\thread_pool_ex.cpp(140): note: 参见对正在编译的类 模板 实例化“std::result_of<dlib::thread_pool &(main::)>”的引用

yzbx commented 7 years ago

full c++11 support

update vs2015 with 3 or use vs2017+