building error with VS2012
Closed this issue · 1 comments
musicfish1973 commented
superviseddescent-master\include\superviseddescent/utils/ThreadPool.h(49): error C2332: “class”: 缺少标记名
superviseddescent-master\include\superviseddescent/utils/ThreadPool.h(49): error C2011: “”:“enum”类型重定义
1> D:\Microsoft Visual Studio 11.0\VC\include\thr/xthreads.h(41) : 参见“”的声明
superviseddescent-master\include\superviseddescent/utils/ThreadPool.h(49): error C2143: 语法错误 : 缺少“,”(在“...”的前面)
patrikhuber commented
Hi, sorry about the late reply, I didn't see the GitHub notification.
VS2012 has a really outdated compiler and is not supported. Please upgrade to 2015.
If you wanted, I'm sure you could make it work with VS2012 with minor modifications, but you'd have to do that yourself - this project uses modern C++11/14 :-)