nvcc fatal : redefinition of argument 'std'
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.