OpenFrameworks undefined reference to cv::Mat::Mat()

Hey I’m running make on a custom application I made and its managing to compile a fair bit. However, it then throws multiple errors in the ofxCv library where there are multiple undefined references to many cv calls these include:

I am also getting errors on undefined references to the ofxDatGui include

can you give more info such as what platform you are compiling on.

for each add-on, have you tried updating (via the project generator) the sample projects and compiling them? it would be good to see if the adding themselves work first or have issues.

I am compiling using Linux Mint and many gcc and g++ compiler versions including 8, 10 and 11. I have updated using the project generator on a different machine but with the same code but I can try that again. I have tried compiling the examples and they all work fine