Closed xNeorem closed 4 years ago
@xNeorem sry, I know little about makefile. I think you could reference this cmake file https://github.com/enazoe/yolo-tensorrt/blob/master/scripts/CMakeLists.txt .It is a example of use libdetector.so in your own project through set the lib path.
Thanks, i used your cmakelist and it worked
Hello, I got this error in compiling :
../../src_file/libdetector.so: undefined reference to `cv::dnn::dnn4_v20190621::blobFromImages(cv::InputArray const&, double, cv::Size, cv::Scalar_ const&, bool, bool, int)'
I think that I am linking wrong the library in my own project, how can I link correctly?
I am using a MakeFile not cmake...Can you give me an example of how to import and use the library and use it in your project?