更新时间:2023-10-18 14:48:16
I found out that all I had to do was include the libraries that i needed into \"LIBS\" in the Makefile. So this is the solution,at the end of LIBS in the Makefile or at the bottom add the line
I found out that all I had to do was include the libraries that i needed into "LIBS" in the Makefile. So this is the solution,at the end of LIBS in the Makefile or at the bottom add the line
`LIBS += pkg-config --libs opencv`
this line can actually be added anywhere in the \"Compiler, tools and options\" section of the Makefile(refer to the Makefile code posted in the original question).
this line can actually be added anywhere in the "Compiler, tools and options" section of the Makefile(refer to the Makefile code posted in the original question).
Additionally, my lack of \"namespace\" was also an issue!
Additionally, my lack of "namespace" was also an issue!