编译 FFWM时,报错了,只支持vs2013-2017之间的版本
换到vs2015后,报错:
You need C++14 to compile PyTorch
windows下可以试试:
python编译可以参考我的另一篇博客,测试成功
error D8021 :无效的数值参数“/Wno-cpp” cython_bbox_jacke121的专栏-CSDN博客
When building cutome extention module use the setup.py
, you can specify:
extra_compile_args={'cxx': ['-std=c++14'], 'nvcc', [some_args]}
liunx解决方法;
c++ - Compile c++14-code with g++ - Stack Overflow
For gcc 4.8.4
you need to use -std=c++1y
in later versions, looks like starting with 5.2
you can use -std=c++14
.