retinaface icon indicating copy to clipboard operation
retinaface copied to clipboard

Build Error

Open sahil12051994 opened this issue 5 years ago • 5 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"

sahil12051994 avatar Nov 21 '19 13:11 sahil12051994

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

TonyzBi avatar Dec 18 '19 06:12 TonyzBi

downgrade cmake version

zxOnVacation avatar Feb 11 '20 08:02 zxOnVacation

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

louielu1027 avatar Mar 26 '20 04:03 louielu1027

Check one of both USE_NPP and USE_TENSORRT, it works.

nvn2019 avatar May 31 '20 15:05 nvn2019

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

haksoy avatar Jun 20 '20 11:06 haksoy