decord
decord copied to clipboard
nvcc fatal : redefinition of argument 'std'
in the last stage of compiling using make, it report a bug:
[ 97%] Building CUDA object CMakeFiles/decord.dir/src/improc/improc.cu.o nvcc fatal : redefinition of argument 'std' CMakeFiles/decord.dir/build.make:508: recipe for target 'CMakeFiles/decord.dir/src/improc/improc.cu.o' failed
I find that it is caused by line 62, CMakeLists.txt
set(CMAKE_CUDA_FLAGS "-std=c++11 ${CMAKE_CUDA_FLAGS}")
erase the '-std=c++11' will solve the problem.
What's your cmake version? @YuqiHUO
3.17.0 installed using conda-forge