Unable to link to OpenCV

no, that’s just how the thing denotes the constructor of that class, with that specific signature

something is strange here.

those are .so files, they are for runtime, not for building.

you need to find .lib or .a files. those you need to tell the linker.