linghu8812 / tensorrt_inference

702 stars 206 forks source link

Include same common.hpp in multiple source file #51

Closed xxxpsyduck closed 3 years ago

xxxpsyduck commented 3 years ago

I trying to make a face recognition pipeline. I want to include same common.hpp in both arceface.trt and retina_face.trt but having error "multiple definition of ...". Can you give me some advice to get through this?

linghu8812 commented 3 years ago

use static variable