clancylian / retinaface

Reimplement RetinaFace use C++ and TensorRT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Error

sahil12051994 opened this issue · comments

Can you please guide me through this error, Thanks.

CMake Error: Files to be generated by multiple different commands: "path to dir_/build/CMakeFiles/retinaface.dir/retinaface/retinaface_generated_resizeconvertion.cu.o.cmake"

got the same Issue. did you make it through ? @sahil12051994

downgrade cmake version

@jike-algorithm-zhangxiao 你好,用哪个cmake版本可以呢?

Check one of both USE_NPP and USE_TENSORRT, it works.

I had the same issue when building the project on Windows. Solved the problem by removing "file( GLOB core_cuda_files "./retinaface/*.cu")" from CMakeLists.txt. Because "cl" is creating cuda object files during compilation, it creates conflict with this definition