I have tried linking the libraries. But it didnt work out. Any help would be appreciated
Asked
Active
Viewed 17 times
0
-
2Your command line does not link to any library – drescherjm Dec 06 '22 at 14:05
-
***I have tried linking the libraries.*** Show the command you tried when you tried to link to libraries. – drescherjm Dec 06 '22 at 14:06
-
This answer should help: [https://stackoverflow.com/a/10420608/487892](https://stackoverflow.com/a/10420608/487892) – drescherjm Dec 06 '22 at 14:08
-
Install OpenCV, then add `-lopencv_core -lopencv_imgcodecs -lopencv_highgui` to your command line. – m88 Dec 06 '22 at 14:11
-
BTW, it's against site policy to show a picture of your terminal / errors instead of just copying the text: [https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors) – drescherjm Dec 06 '22 at 14:22
-
If you are using `VSCode` you likely need to edit your `tasks.json` to add these link arguments to the `args:` your command line looks like it was a VSCode task to me. – drescherjm Dec 06 '22 at 14:23